|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for all compiled XML objects.
Field Summary | |
static java.lang.String |
XMLC_GENERATED_CLASS_FIELD_NAME
The name of the class field that is used to identify an XMLC generated class. |
static java.lang.String |
XMLC_SOURCE_FILE_FIELD_NAME
Field name in the generated class that contains the name of the source file. |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Method Summary | |
org.w3c.dom.Node |
adoptNode(org.w3c.dom.Node source)
|
void |
buildDocument()
Generated method to build the DOM. |
XMLObject |
getDelegate()
Get the delegate. |
org.w3c.dom.Document |
getDocument()
Get the actual document object. |
java.lang.String |
getEncoding()
Get the encoding specified in the document. |
java.lang.String |
getMIMEType()
Get the MIME type associated with the document, or null if none was associated. |
boolean |
getStandalone()
|
boolean |
getStrictErrorChecking()
|
java.lang.String |
getVersion()
|
void |
setDelegate(XMLObject delegate)
Set the delegate object. |
void |
setEncoding(java.lang.String encoding)
|
void |
setStandalone(boolean standalone)
|
void |
setStrictErrorChecking(boolean strictErrorChecking)
|
void |
setVersion(java.lang.String version)
|
void |
syncAccessMethods()
Initialize the fields used by the generated access methods from the current state of the document. |
java.lang.String |
toDocument()
Convert the document to a string representation of the document, that is a string containing XML. |
Methods inherited from interface org.w3c.dom.Document |
createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, getDoctype, getDocumentElement, getElementById, getElementsByTagName, getElementsByTagNameNS, getImplementation, importNode |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Methods inherited from interface org.enhydra.xml.io.DocumentInfo |
isURLAttribute |
Field Detail |
public static final java.lang.String XMLC_GENERATED_CLASS_FIELD_NAME
public static final java.lang.String XMLC_SOURCE_FILE_FIELD_NAME
Method Detail |
public void buildDocument()
public void setDelegate(XMLObject delegate)
delegate
- The delegate object, or null to remove delegation.
The delegate must implement the same interface as the derived, generate
object.public void syncAccessMethods()
null
.
public XMLObject getDelegate()
public org.w3c.dom.Document getDocument()
public java.lang.String getMIMEType()
public java.lang.String getEncoding()
DOMFormatter
,
OutputOptions
public void setEncoding(java.lang.String encoding)
org.w3c.dom.Document#setEncoding
public boolean getStandalone()
org.w3c.dom.Document#getStandalone
public void setStandalone(boolean standalone)
org.w3c.dom.Document#setStandalone
public boolean getStrictErrorChecking()
org.w3c.dom.Document#getStrictErrorChecking
public void setStrictErrorChecking(boolean strictErrorChecking)
org.w3c.dom.Document#setStrictErrorChecking
public java.lang.String getVersion()
org.w3c.dom.Document#getVersion()
public void setVersion(java.lang.String version)
org.w3c.dom.Document#setVersion
public org.w3c.dom.Node adoptNode(org.w3c.dom.Node source) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
org.w3c.dom.Document#adoptNode
public java.lang.String toDocument()
DOMFormatter
class if
more options are required.
DOMFormatter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |