org.enhydra.xml.xmlc.dom
Interface DocBuilderGenerator

All Known Implementing Classes:
DeferredParsingDocBuilderGenerator

public interface DocBuilderGenerator

Interface for DOM-specific class that generates code to build part the document tree.


Method Summary
 void createBuildDocumentMethod(XMLCDocument xmlcDoc, AccessorGenerator accessorGenerator, ElementTable elementTable, JavaClass docClass, JavaMethod buildDocumentMethod)
          Generate the document builder.
 

Method Detail

createBuildDocumentMethod

public void createBuildDocumentMethod(XMLCDocument xmlcDoc,
                                      AccessorGenerator accessorGenerator,
                                      ElementTable elementTable,
                                      JavaClass docClass,
                                      JavaMethod buildDocumentMethod)
                               throws XMLCException
Generate the document builder. The generated method must call XMLObjectImpl.setDocument() to set the document and encoding.
Parameters:
document - The document that is being built.
accessorGenerator - The accessor generator for the DOM in use.
elementTable - The table of element information.
docClass - The document class being generated.
buildDocumentMethod - The buildDocument() method being generated.


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