|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.xml.xmlc.dom.xerces.XercesDomFactory | +--org.enhydra.xml.xmlc.dom.lazydom.LazyDomFactory
Lazy DOM factory for creating DocumentType and Document objects.
Nested Class Summary |
Nested classes inherited from class org.enhydra.xml.xmlc.dom.xerces.XercesDomFactory |
XercesDomFactory.LinkedXercesDocument |
Constructor Summary | |
LazyDomFactory()
|
Method Summary | |
AccessorGenerator |
createAccessorGenerator(Document document)
Create an AccessorGenerator object for this DOM. |
DocBuilderGenerator |
createDocBuilderGenerator(Document document)
Create an DocBuilderGenerator object for this DOM. |
Document |
createDocument(java.lang.String namespaceURI,
java.lang.String qualifiedName,
DocumentType docType)
Creates an XML Document object of the specified type. |
Document |
createDocument(TemplateDOM templateDOM)
Create a LazyDocument from a template. |
DocumentType |
createDocumentType(java.lang.String qualifiedName,
java.lang.String publicId,
java.lang.String systemId,
java.lang.String internalSubset)
Creates an empty DocumentType node. |
java.lang.String |
nodeClassToInterface(Node node)
Convert an implementation-specific DOM node class name to the external interface or class name that should be used to reference it. |
Methods inherited from class org.enhydra.xml.xmlc.dom.xerces.XercesDomFactory |
getBaseClassName, getElementClassNames, getInterfaceNames, getMIMEType, isURLAttribute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.enhydra.xml.xmlc.dom.XMLCDomFactory |
getBaseClassName, getElementClassNames, getInterfaceNames, getMIMEType, isURLAttribute |
Constructor Detail |
public LazyDomFactory()
Method Detail |
public DocumentType createDocumentType(java.lang.String qualifiedName, java.lang.String publicId, java.lang.String systemId, java.lang.String internalSubset)
XMLCDomFactory
DocumentType
node.
createDocumentType
in interface XMLCDomFactory
createDocumentType
in class XercesDomFactory
qualifiedName
- The document type name (same as the root element).publicId
- The document type public identifier.systemId
- The document type system identifier.internalSubset
- The internal subset as a string.
DocumentType
node.XMLCDomFactory.createDocumentType(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public Document createDocument(java.lang.String namespaceURI, java.lang.String qualifiedName, DocumentType docType)
XMLCDomFactory
Document
object of the specified type. The
document element should be created. A HTML document should
only have the document element, which differs from the
DOMImplementation
specification, however it makes
code generation easier and its not expected that there will be
many custom HTML DOM factories.
createDocument
in interface XMLCDomFactory
createDocument
in class XercesDomFactory
namespaceURI
- The namespace URI of the document element to
create, or null.qualifiedName
- The document type name (same as the root element).
Maybe null for HTML documents or documents without DTDs.docType
- The type of document to be created or null
.
When doctype
is not null
, its
Node.ownerDocument
attribute is set to the document being
created. Maybe null for for documents without DTDs or HTML documents.
Document
object.XMLCDomFactory.createDocument(java.lang.String, java.lang.String, org.w3c.dom.DocumentType)
public Document createDocument(TemplateDOM templateDOM)
XMLCDomFactory.createDocument(java.lang.String, java.lang.String, org.w3c.dom.DocumentType)
public java.lang.String nodeClassToInterface(Node node)
XMLCDomFactory
org.w3c.dom
interface or
other interface or class.
nodeClassToInterface
in interface XMLCDomFactory
nodeClassToInterface
in class XercesDomFactory
XMLCDomFactory.nodeClassToInterface(org.w3c.dom.Node)
public AccessorGenerator createAccessorGenerator(Document document)
XMLCDomFactory
createAccessorGenerator
in interface XMLCDomFactory
createAccessorGenerator
in class XercesDomFactory
XMLCDomFactory.createAccessorGenerator(org.w3c.dom.Document)
public DocBuilderGenerator createDocBuilderGenerator(Document document)
XMLCDomFactory
createDocBuilderGenerator
in interface XMLCDomFactory
createDocBuilderGenerator
in class XercesDomFactory
XMLCDomFactory#DocBuilderGenerator
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |