Uses of Class
org.enhydra.xml.xmlc.codegen.JavaCode

Packages that use JavaCode
org.enhydra.xml.io org.enhydra.xml.io provides input (parsing) and output (formatting) routines for XML and HTML. 
org.enhydra.xml.xmlc.codegen org.enhydra.xml.xmlc.codegen provides interfaces and support class for code generation. 
org.enhydra.xml.xmlc.deferredparsing org.enhydra.xml.xmlc.deferredparsing provides support for deferred parsing of *ML objects. 
org.enhydra.xml.xmlc.dom   
org.enhydra.xml.xmlc.dom.generic org.enhydra.xml.xmlc.dom.generic provides base support that should work with any W3C DOM implementation. 
org.enhydra.xml.xmlc.dom.lazydom   
org.enhydra.xml.xmlc.dom.xerces   
 

Uses of JavaCode in org.enhydra.xml.io
 

Methods in org.enhydra.xml.io with parameters of type JavaCode
 void OutputOptions.createCodeGenerator(String varName, boolean makeReadOnly, JavaCode code)
          Generate code to create an object with the same attributes as this object.
 

Uses of JavaCode in org.enhydra.xml.xmlc.codegen
 

Methods in org.enhydra.xml.xmlc.codegen that return JavaCode
 JavaCode JavaMethod.getCode()
          Get the code object associate with the method body.
 JavaCode JavaClass.getClassInitializer()
          Get the class initializer.
 

Methods in org.enhydra.xml.xmlc.codegen with parameters of type JavaCode
 void VarNames.insertVarDefs(JavaCode body)
          Insert variable definitions at the beginning of the body of a method.
 

Uses of JavaCode in org.enhydra.xml.xmlc.deferredparsing
 

Methods in org.enhydra.xml.xmlc.deferredparsing with parameters of type JavaCode
 void DeferredParsingAccessorGenerator.createAccessMethodInit(ElementInfo elementInfo, String elementVarName, JavaCode body)
          Create code to setup an access method for an element when building the DOM.
 

Uses of JavaCode in org.enhydra.xml.xmlc.dom
 

Methods in org.enhydra.xml.xmlc.dom with parameters of type JavaCode
 void AccessorGenerator.createAccessMethodInit(ElementInfo elementInfo, String elementVarName, JavaCode body)
          Create code to setup an access method for an element when building the DOM.
 void AccessorGenerator.createNullElementAccess(ElementInfo elementInfo, JavaCode body)
          Create code cached information so that element access methods return null.
 void AccessorGenerator.createResetElementAccess(ElementInfo elementInfo, String nodeVarName, JavaCode body)
          Create code to reset the element access information from a node.
 

Uses of JavaCode in org.enhydra.xml.xmlc.dom.generic
 

Methods in org.enhydra.xml.xmlc.dom.generic with parameters of type JavaCode
 void GenericAccessorGenerator.createAccessMethodInit(ElementInfo elementInfo, String elementVarName, JavaCode body)
          Create code to setup an access method for an element when building the DOM.
 void GenericAccessorGenerator.createNullElementAccess(ElementInfo elementInfo, JavaCode body)
          Create code cached information so that element access methods return null.
 void GenericAccessorGenerator.createResetElementAccess(ElementInfo elementInfo, String nodeVarName, JavaCode body)
          Create code to reset the element access information from a node.
 void DOMBuilderGenerator.createMethodCall(JavaCode body)
          Create a call to the top level method that was generated.
protected  void NodeCreateGenerator.genDocumentCreate(Document document, String docVar, String docTypeVar, JavaCode body)
          Generate Document and DocumentType creation.
protected  void NodeCreateGenerator.genDocumentTypeCreate(DocumentType docType, String docVar, String varName, JavaCode body)
          Generate DocumentType creation.
protected  void NodeCreateGenerator.genEntityCreate(Entity entity, String docVar, String varName, JavaCode body)
          Generate Entity creation.
protected  void NodeCreateGenerator.genAttrCreate(Attr attr, String docVar, String varName, JavaCode body)
          Generate Attr creation.
protected  void NodeCreateGenerator.genCDATASectionCreate(CDATASection cdataSection, String docVar, String varName, JavaCode body)
          Generate CDATASection creation.
protected  void NodeCreateGenerator.genCommentCreate(Comment comment, String docVar, String varName, JavaCode body)
          Generate Comment creation.
protected  void NodeCreateGenerator.genElementCreate(Element element, String docVar, String varName, JavaCode body)
          Generate Element creation.
protected  void NodeCreateGenerator.genEntityReferenceCreate(EntityReference entityRef, String docVar, String varName, JavaCode body)
          Generate EntityReference creation.
protected  void NodeCreateGenerator.genNotationCreate(Notation notation, String docVar, String varName, JavaCode body)
          Generate Notation creation.
protected  void NodeCreateGenerator.genProcessInstructionCreate(ProcessingInstruction procInstr, String docVar, String varName, JavaCode body)
          Generate ProcessingInstruction creation.
protected  void NodeCreateGenerator.genTextCreate(Text text, String docVar, String varName, JavaCode body)
          Generate Text creation.
 void NodeCreateGenerator.genNodeCreate(String docVar, String varName, Node node, JavaCode body)
          Generate code to construct a node, assigning it to the supplied variable, Can be overriden by derived class
 void NodeCreateGenerator.genAppendChild(String parentVar, String childVar, Node child, JavaCode body)
          Generate code to do an append child.
 void NodeCreateGenerator.genAddAttribute(String elementVar, String attrVar, JavaCode body)
          Generate code to add attribute to an element.
 void NodeCreateGenerator.genAddEntity(String docTypeVar, String entityVar, Entity entity, JavaCode body)
          Add an entity to a DocumentType
 void NodeCreateGenerator.genAddNotation(String docTypeVar, String notationVar, Notation notation, JavaCode body)
          Add an notation to a DocumentType
 

Uses of JavaCode in org.enhydra.xml.xmlc.dom.lazydom
 

Methods in org.enhydra.xml.xmlc.dom.lazydom with parameters of type JavaCode
protected  void LazyDOMNodeCreateGenerator.genDocumentCreate(Document document, String docVar, String docTypeVar, JavaCode body)
          Generate Document creation.
protected  void LazyDOMNodeCreateGenerator.genDocumentTypeCreate(DocumentType docType, String docVarName, String varName, JavaCode body)
          Generate DocumentType creation.
protected  void LazyDOMNodeCreateGenerator.genEntityCreate(Entity entity, String docVarName, String varName, JavaCode body)
          Generate Entity creation.
protected  void LazyDOMNodeCreateGenerator.genAttrCreate(Attr attr, String docVarName, String varName, JavaCode body)
          Generate Attr creation.
protected  void LazyDOMNodeCreateGenerator.genCDATASectionCreate(CDATASection cdataSection, String docVarName, String varName, JavaCode body)
          Generate CDATASection creation.
protected  void LazyDOMNodeCreateGenerator.genCommentCreate(Comment comment, String docVarName, String varName, JavaCode body)
          Generate Comment creation.
protected  void LazyDOMNodeCreateGenerator.genElementCreate(Element element, String docVarName, String varName, JavaCode body)
          Generate Element creation.
protected  void LazyDOMNodeCreateGenerator.genEntityReferenceCreate(EntityReference entityRef, String docVarName, String varName, JavaCode body)
          Generate EntityReference creation.
protected  void LazyDOMNodeCreateGenerator.genNotationCreate(Notation notation, String docVarName, String varName, JavaCode body)
          Generate Notation creation.
protected  void LazyDOMNodeCreateGenerator.genProcessInstructionCreate(ProcessingInstruction procInstr, String docVarName, String varName, JavaCode body)
          Generate ProcessingInstruction creation.
protected  void LazyDOMNodeCreateGenerator.genTextCreate(Text text, String docVarName, String varName, JavaCode body)
          Generate Text creation.
 void LazyDOMAccessorGenerator.createAccessMethodInit(ElementInfo elementInfo, String elementVarName, JavaCode body)
          This method does nothing for the Lazy DOM.
 void LazyDOMAccessorGenerator.createNullElementAccess(ElementInfo elementInfo, JavaCode body)
          Create code cached information so that element access methods return null.
 void LazyDOMAccessorGenerator.createResetElementAccess(ElementInfo elementInfo, String nodeVarName, JavaCode body)
          Create code to reset the element access information from a node.
 void PreFormatter.createOutputOptionsCodeGenerator(String varName, JavaCode code)
          Generate code to recreate the output options used to format this code.
 void LazyDOMDocBuilderGenerator.generateDocCreateFromTemplate(Document document, String templateFieldName, String docFieldName, JavaCode body)
          Generate code to create a document from a TemplateDOM.
 

Uses of JavaCode in org.enhydra.xml.xmlc.dom.xerces
 

Methods in org.enhydra.xml.xmlc.dom.xerces with parameters of type JavaCode
protected  void XercesNodeCreateGenerator.genEntityCreate(Entity entity, String docVar, String varName, JavaCode body)
          Generate Entity creation.
protected  void XercesNodeCreateGenerator.genNotationCreate(Notation notation, String docVar, String varName, JavaCode body)
          Generate Notation creation.
 void XercesNodeCreateGenerator.genAddEntity(String docTypeVar, String entityVar, Entity entity, JavaCode body)
          Add an entity to a DocumentType
 void XercesNodeCreateGenerator.genAddNotation(String docTypeVar, String notationVar, Notation notation, JavaCode body)
          Add an notation to a DocumentType
 



Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.