|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for all compiled XML objects.
Field Summary | |
static String |
XMLC_GENERATED_CLASS_FIELD_NAME
The name of the class field that is used to identify an XMLC generated class. |
static String |
XMLC_SOURCE_FILE_FIELD_NAME
Field name in the generated class that contains the name of the source file. |
Method Summary | |
Node |
adoptNode(Node source)
See org.w3c.dom.Document#adoptNode |
void |
buildDocument()
Generated method to build the DOM. |
XMLObject |
getDelegate()
Get the delegate. |
Document |
getDocument()
Get the actual document object. |
String |
getEncoding()
Get the encoding specified in the document. |
String |
getMIMEType()
Get the MIME type associated with the document, or null if none was associated. |
boolean |
getStandalone()
See org.w3c.dom.Document#getStandalone |
boolean |
getStrictErrorChecking()
See org.w3c.dom.Document#getStrictErrorChecking |
String |
getVersion()
See org.w3c.dom.Document#getVersion() |
void |
setDelegate(XMLObject delegate)
Set the delegate object. |
void |
setEncoding(String encoding)
See org.w3c.dom.Document#setEncoding |
void |
setStandalone(boolean standalone)
See org.w3c.dom.Document#setStandalone |
void |
setStrictErrorChecking(boolean strictErrorChecking)
See org.w3c.dom.Document#setStrictErrorChecking |
void |
setVersion(String version)
See org.w3c.dom.Document#setVersion |
void |
syncAccessMethods()
Initialize the fields used by the generated access methods from the current state of the document. |
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.Node |
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
Methods inherited from interface org.enhydra.xml.io.DocumentInfo |
isURLAttribute |
Field Detail |
public static final String XMLC_GENERATED_CLASS_FIELD_NAME
public static final 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 Document getDocument()
public String getMIMEType()
public String getEncoding()
DOMFormatter
,
OutputOptions
public void setEncoding(String encoding)
public boolean getStandalone()
public void setStandalone(boolean standalone)
public boolean getStrictErrorChecking()
getStrictErrorChecking
in interface Document
public void setStrictErrorChecking(boolean strictErrorChecking)
setStrictErrorChecking
in interface Document
public String getVersion()
public void setVersion(String version)
public Node adoptNode(Node source) throws DOMException
adoptNode
in interface Document
public String toDocument()
DOMFormatter
class if
more options are required.DOMFormatter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |