public class XMLDocumentType extends XMLNode implements DocumentType
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected String |
publicId |
protected String |
systemId |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Constructor and Description |
|---|
XMLDocumentType(XMLDocument doc,
String name,
String publicId,
String systemId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
XMLDocumentType |
cloneNode(boolean deep) |
NamedNodeMap |
getEntities() |
String |
getInternalSubset() |
String |
getName() |
String |
getNodeName() |
short |
getNodeType() |
NamedNodeMap |
getNotations() |
String |
getPublicId() |
String |
getSystemId() |
String |
getTextContent() |
boolean |
isEqualNode(Node arg) |
void |
setTextContent(String textContent) |
appendChild, cloned, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getUserData, hasAttributes, hasChildNodes, insertBefore, isAncestor, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setParent, setPrefix, setUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendChild, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setUserDataprotected String name
protected String publicId
protected String systemId
public XMLDocumentType(XMLDocument doc, String name, String publicId, String systemId)
public String getPublicId()
getPublicId in interface DocumentTypepublic String getSystemId()
getSystemId in interface DocumentTypepublic boolean isEqualNode(Node arg)
isEqualNode in interface NodeisEqualNode in class XMLNodepublic String getNodeName()
getNodeName in interface Nodepublic short getNodeType()
getNodeType in interface Nodepublic XMLDocumentType cloneNode(boolean deep)
public String getName()
getName in interface DocumentTypepublic NamedNodeMap getEntities()
getEntities in interface DocumentTypepublic NamedNodeMap getNotations()
getNotations in interface DocumentTypepublic String getInternalSubset()
getInternalSubset in interface DocumentTypepublic String getTextContent()
getTextContent in interface Nodepublic void setTextContent(String textContent)
setTextContent in interface NodeCopyright © 2019. All rights reserved.