uk.ac.ic.doc.automed.xmlschema.output
Class XMLSchemaOutputter

java.lang.Object
  extended by uk.ac.ic.doc.automed.xmlschema.output.XMLSchemaOutputter

public class XMLSchemaOutputter
extends java.lang.Object

Author:
Andrew Smith Methods to materialise the XSDOM representation of an Automed xmlschema model

Constructor Summary
XMLSchemaOutputter(java.lang.String schemaLocation)
          Creates a new instance of XMLSchemaOutputter
 
Method Summary
 java.lang.String getSchemaLocation()
          Return the Schema Location
 java.lang.String output(Document doc)
           
 void output(java.lang.String fileName, Document doc)
          Write the output string to a file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLSchemaOutputter

public XMLSchemaOutputter(java.lang.String schemaLocation)
Creates a new instance of XMLSchemaOutputter

Method Detail

getSchemaLocation

public java.lang.String getSchemaLocation()
Return the Schema Location


output

public void output(java.lang.String fileName,
                   Document doc)
            throws java.io.IOException
Write the output string to a file

Throws:
java.io.IOException

output

public java.lang.String output(Document doc)