public class DOMDocumentType extends DefaultDocumentType implements DocumentType
DOMDocumentType
implements a DocumentType node which supports
the W3C DOM API.
elementName
NODE_TYPE_NAMES
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
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
Constructor and Description |
---|
DOMDocumentType() |
DOMDocumentType(String elementName,
String systemID) |
DOMDocumentType(String name,
String publicID,
String systemID) |
Modifier and Type | Method and Description |
---|---|
Node |
appendChild(Node newChild) |
Node |
cloneNode(boolean deep) |
NamedNodeMap |
getAttributes() |
NodeList |
getChildNodes() |
NamedNodeMap |
getEntities() |
Node |
getFirstChild() |
String |
getInternalSubset() |
Node |
getLastChild() |
String |
getLocalName() |
String |
getNamespaceURI() |
Node |
getNextSibling() |
String |
getNodeName() |
String |
getNodeValue() |
NamedNodeMap |
getNotations() |
Document |
getOwnerDocument() |
Node |
getParentNode() |
String |
getPrefix() |
Node |
getPreviousSibling() |
String |
getPublicId() |
String |
getSystemId() |
boolean |
hasAttributes() |
boolean |
hasChildNodes() |
Node |
insertBefore(Node newChild,
Node refChild) |
boolean |
isSupported(String feature,
String version) |
void |
normalize() |
Node |
removeChild(Node oldChild) |
Node |
replaceChild(Node newChild,
Node oldChild) |
void |
setNodeValue(String nodeValue) |
void |
setPrefix(String prefix) |
boolean |
supports(String feature,
String version) |
getElementName, getExternalDeclarations, getInternalDeclarations, getPublicID, getSystemID, setElementName, setExternalDeclarations, setInternalDeclarations, setPublicID, setSystemID
accept, asXML, getName, getNodeType, getPath, getText, getUniquePath, setName, toString, write
asXPathResult, clone, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getDocument, getDocumentFactory, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, setText, supportsParent, valueOf
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName
compareDocumentPosition, getBaseURI, getFeature, getNodeType, getTextContent, getUserData, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, setTextContent, setUserData
asXPathResult, clone, createXPath, detach, getDocument, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, setText, supportsParent, valueOf
public String getNamespaceURI()
public String getPrefix()
public void setPrefix(String prefix) throws DOMException
DOMException
public String getLocalName()
public String getNodeName()
public String getNodeValue() throws DOMException
DOMException
public void setNodeValue(String nodeValue) throws DOMException
DOMException
public Node getParentNode()
public NodeList getChildNodes()
public Node getFirstChild()
public Node getLastChild()
public Node getPreviousSibling()
public Node getNextSibling()
public NamedNodeMap getAttributes()
public Document getOwnerDocument()
public Node insertBefore(Node newChild, Node refChild) throws DOMException
DOMException
public Node replaceChild(Node newChild, Node oldChild) throws DOMException
DOMException
public Node removeChild(Node oldChild) throws DOMException
DOMException
public Node appendChild(Node newChild) throws DOMException
DOMException
public boolean hasChildNodes()
public Node cloneNode(boolean deep)
public void normalize()
public boolean hasAttributes()
public NamedNodeMap getEntities()
public NamedNodeMap getNotations()
public String getPublicId()
public String getSystemId()
public String getInternalSubset()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.