org.enhydra.xml.xmlc.compiler
Class AccessConsts
java.lang.Object
|
+--org.enhydra.xml.xmlc.compiler.AccessConsts
- class AccessConsts
- extends Object
Data collection and code generation for constants used to access the
DOM.
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccessConsts
public AccessConsts(MetaData metaData,
ElementTable elementTable)
- Constructor.
- Parameters:
metaData
- Document metadata.xmlcDoc
- Must contain parsed document.docClass
- Object containing the class being generated.
generateCode
public void generateCode(JavaClass docClass)
- Generate the code for the access methods.
- Parameters:
docClass
- Object containing the class being generated.
printAccessConstants
public void printAccessConstants(PrintWriter out)
- Print the signatures of the access constants are created.
printOmittedConstants
public void printOmittedConstants(PrintWriter out)
- Print names that didn't have access constants generated due to
being illegal Java identifiers. Sort so tests can be reproduced.
Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.