|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.xml.xmlc.compiler.ClassGenerator
Generate XML classes and interfaces.
Field Summary | |
static String |
DELEGATE_FIELD_NAME
Name of field containing delegate reference. |
static String |
DOC_LOADER_CLASS_NAME
Class name of the document loader for deferred parsing. |
static String |
DOC_LOADER_FIELD_NAME
Name of field containing document loader reference for deferred parsing. |
static String |
DOM_FACTORY_FIELD_NAME
Name for the static field holding the XMLCDomFactory. |
(package private) JavaClass |
fDocClass
Class being constructed. |
Constructor Summary | |
ClassGenerator(MetaData metaData,
XMLCDocument xmlcDoc,
PrintWriter methodOutput)
Construct an object. |
Method Summary | |
void |
generateJavaSource(PrintWriter verboseOut)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String DOC_LOADER_FIELD_NAME
public static final String DOC_LOADER_CLASS_NAME
public static final String DELEGATE_FIELD_NAME
public static final String DOM_FACTORY_FIELD_NAME
JavaClass fDocClass
Constructor Detail |
public ClassGenerator(MetaData metaData, XMLCDocument xmlcDoc, PrintWriter methodOutput) throws XMLCException
metaData
- Document metadata.xmlcDoc
- XMLC DOM object containing the document.methodOutput
- Write information about the generated
methods to this file if not NULL.
XMLCException
- If an error is detected.Method Detail |
public void generateJavaSource(PrintWriter verboseOut) throws XMLCException, IOException
XMLCException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |