org.enhydra.xml.xmlc.compiler
Class ClassGenerator
java.lang.Object
|
+--org.enhydra.xml.xmlc.compiler.ClassGenerator
- public class ClassGenerator
- extends java.lang.Object
Generate XML classes and interfaces.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DELEGATE_FIELD_NAME
public static final java.lang.String DELEGATE_FIELD_NAME
- Name of field containing delegate reference.
- See Also:
- Constant Field Values
DOM_FACTORY_FIELD_NAME
public static final java.lang.String DOM_FACTORY_FIELD_NAME
- Name for the static field holding the XMLCDomFactory.
- See Also:
- Constant Field Values
ClassGenerator
public ClassGenerator(MetaData metaData,
XMLCDocument xmlcDoc,
java.io.PrintWriter methodOutput)
throws XMLCException
- Construct an object.
- Parameters:
metaData
- Document metadata.xmlcDoc
- XMLC DOM object containing the document.methodOutput
- Write information about the generated
methods to this file if not NULL.
- Throws:
XMLCException
- If an error is detected.
generateJavaSource
public void generateJavaSource(java.io.PrintWriter verboseOut)
throws XMLCException,
java.io.IOException
XMLCException
java.io.IOException