|
||||||||||
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 | |
void |
buildDocument()
Generated method to build the DOM. |
XMLObject |
getDelegate()
Get the delegate. |
Document |
getDocument()
Get the actual document object. |
String |
getEncoding()
Deprecated. use Document.getXmlEncoding() instead |
String |
getMIMEType()
Get the MIME type associated with the document, or null if none was associated. |
boolean |
getStandalone()
Deprecated. use Document.getXmlStandalone() instead |
String |
getVersion()
Deprecated. use Document.getXmlVersion() instead |
void |
setDelegate(XMLObject delegate)
Set the delegate object. |
void |
setEncoding(String encoding)
Deprecated. Xerces DOM Internal - normally Read-only - corresponds to Document.getXmlEncoding() which, itself, has no corresponding public mutator (was part of early DOM3 draft, but removed in the final specification) |
void |
setStandalone(boolean standalone)
Deprecated. use Document.setXmlStandalone(boolean) instead |
void |
setVersion(String version)
Deprecated. use Document.setXmlVersion(String) instead |
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()
Document.getXmlEncoding()
instead
DOMFormatter
,
OutputOptions
,
Document.getXmlEncoding()
public void setEncoding(String encoding)
Document.getXmlEncoding()
which, itself, has no corresponding public mutator (was part of early DOM3 draft, but removed in the final specification)
public boolean getStandalone()
Document.getXmlStandalone()
instead
org.w3c.dom.Document#getXmlStandlone
public void setStandalone(boolean standalone)
Document.setXmlStandalone(boolean)
instead
Document.setXmlStandalone(boolean)
public String getVersion()
Document.getXmlVersion()
instead
Document.getXmlVersion()
public void setVersion(String version)
Document.setXmlVersion(String)
instead
Document.setXmlVersion(java.lang.String)
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 |