org.enhydra.xml.xmlc.dom.generic
Class GenericDocBuilderGenerator

java.lang.Object
  |
  +--org.enhydra.xml.xmlc.dom.generic.GenericDocBuilderGenerator
All Implemented Interfaces:
DocBuilderGenerator
Direct Known Subclasses:
XercesDocBuilderGenerator

public abstract class GenericDocBuilderGenerator
extends Object
implements DocBuilderGenerator

Class to generate code to build the document tree using only the W3C DOM interface. The document building code is generated in several functions to avoid the limit on the maximum size of a method.


Constructor Summary
GenericDocBuilderGenerator()
           
 
Method Summary
 void createBuildDocumentMethod(XMLCDocument xmlcDoc, AccessorGenerator accessorGenerator, ElementTable elementTable, JavaClass docClass, JavaMethod buildDocumentMethod)
          Generate the document builder method.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericDocBuilderGenerator

public GenericDocBuilderGenerator()
Method Detail

createBuildDocumentMethod

public void createBuildDocumentMethod(XMLCDocument xmlcDoc,
                                      AccessorGenerator accessorGenerator,
                                      ElementTable elementTable,
                                      JavaClass docClass,
                                      JavaMethod buildDocumentMethod)
                               throws XMLCException
Generate the document builder method.
Specified by:
createBuildDocumentMethod in interface DocBuilderGenerator
See Also:
DocBuilderGenerator.createBuildDocumentMethod(org.enhydra.xml.xmlc.dom.XMLCDocument, org.enhydra.xml.xmlc.dom.AccessorGenerator, org.enhydra.xml.xmlc.compiler.ElementTable, org.enhydra.xml.xmlc.codegen.JavaClass, org.enhydra.xml.xmlc.codegen.JavaMethod)


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