|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.xml.xmlc.dom.xerces.XercesDomFactory
XMLC DOM factory for creating DocumentType and Document objects based on the Xerces DOM.
Inner Class Summary | |
class |
XercesDomFactory.LinkedXercesDocument
Deprecated. Remains for compaitiblity with objects compiled with XMLC 2.0.1 |
Constructor Summary | |
XercesDomFactory()
|
Method Summary | |
Document |
createDocument(String namespaceURI,
String qualifiedName,
DocumentType docType)
This creates a Document object that extends the Xerces Document class and implements XMLObjectLink. |
DocumentType |
createDocumentType(String qualifiedName,
String publicId,
String systemId,
String internalSubset)
Creates an empty DocumentType node. |
String |
getBaseClassName()
Get the base class name for generated classes. |
String |
getDocumentClassName()
Get the FQCN of the Document class for the current DOM Implementation |
String[] |
getElementClassNames(Element element)
Extract the class names for an element. |
String[] |
getInterfaceNames()
Get the interface names that will automatically be added to all generated classes and interfaces. |
String |
getMIMEType()
Get the MIME type to associated with the document, or null if none should be associated. |
boolean |
isURLAttribute(Element element,
String attrName)
Determine if an an attribute of an element may contain a URL and should be subject to URL editing at compile time(or rewriting at run time. |
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 java.lang.Object |
|
Constructor Detail |
public XercesDomFactory()
Method Detail |
public String getMIMEType()
XMLCDomFactory
getMIMEType
in interface XMLCDomFactory
XMLCDomFactory.getMIMEType()
public String getBaseClassName()
XMLCDomFactory
getBaseClassName
in interface XMLCDomFactory
XMLCDomFactory.getBaseClassName()
public String[] getInterfaceNames()
XMLCDomFactory
getInterfaceNames
in interface XMLCDomFactory
XMLCDomFactory.getInterfaceNames()
public String[] getElementClassNames(Element element)
XMLCDomFactory
class
attribute and with a value of a white-space
separated list of class names. Its not specified for XML, however this
method can be implemented in DTD-specifc XMLDomFactories to enable this
functionality.getElementClassNames
in interface XMLCDomFactory
XMLCDomFactory.getElementClassNames(org.w3c.dom.Element)
public boolean isURLAttribute(Element element, String attrName)
XMLCDomFactory
isURLAttribute
in interface XMLCDomFactory
XMLCDomFactory.isURLAttribute(org.w3c.dom.Element, java.lang.String)
public DocumentType createDocumentType(String qualifiedName, String publicId, String systemId, String internalSubset)
XMLCDomFactory
DocumentType
node.createDocumentType
in interface XMLCDomFactory
XMLCDomFactory.createDocumentType(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public Document createDocument(String namespaceURI, String qualifiedName, DocumentType docType)
createDocument
in interface XMLCDomFactory
XMLCDomFactory.createDocument(java.lang.String, java.lang.String, org.w3c.dom.DocumentType)
public String getDocumentClassName()
XMLCDomFactory
getDocumentClassName
in interface XMLCDomFactory
XMLCDomFactory.getDocumentClassName()
public String nodeClassToInterface(Node node)
XMLCDomFactory
org.w3c.dom
interface or
other interface or class.nodeClassToInterface
in interface XMLCDomFactory
XMLCDomFactory.nodeClassToInterface(org.w3c.dom.Node)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |