public class GenericDocumentType extends AbstractChildNode implements DocumentType
DocumentType
interface.Modifier and Type | Field and Description |
---|---|
protected String |
publicId
The DTD public ID, if specified.
|
protected String |
qualifiedName
The qualified name of the document element.
|
protected String |
systemId
The DTD system ID, if specified.
|
nextSibling, parentNode, previousSibling
DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, EMPTY_NODE_LIST, eventSupport, managerData, ownerDocument, userData, userDataHandlers
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 |
---|
GenericDocumentType(String qualifiedName,
String publicId,
String systemId)
Creates a new DocumentType object.
|
Modifier and Type | Method and Description |
---|---|
NamedNodeMap |
getEntities()
DOM: Implements
DocumentType.getEntities() . |
String |
getInternalSubset()
DOM: Implements
DocumentType.getInternalSubset() . |
String |
getName()
DOM: Implements
DocumentType.getName() . |
String |
getNodeName()
DOM: Implements
Node.getNodeName() . |
short |
getNodeType() |
NamedNodeMap |
getNotations()
DOM: Implements
DocumentType.getNotations() . |
String |
getPublicId()
DOM: Implements
DocumentType.getPublicId() . |
String |
getSystemId()
DOM: Implements
DocumentType.getSystemId() . |
boolean |
isReadonly()
Tests whether this node is readonly.
|
protected Node |
newNode()
Returns a new uninitialized instance of this object's class.
|
void |
setReadonly(boolean ro)
Sets this node readonly attribute.
|
getNextSibling, getParentNode, getPreviousSibling, setNextSibling, setParentNode, setPreviousSibling
addEventListener, addEventListenerNS, appendChild, checkChildType, cloneNode, compareDocumentPosition, compareNamedNodeMaps, compareStrings, copyInto, createDOMException, deepCopyInto, deepExport, dispatchEvent, export, fireDOMCharacterDataModifiedEvent, fireDOMNodeInsertedIntoDocumentEvent, fireDOMNodeRemovedFromDocumentEvent, fireUserDataHandlers, getAttributes, getBaseURI, getBaseURI, getCascadedXMLBase, getChildNodes, getCurrentDocument, getEventSupport, getFeature, getFirstChild, getLastChild, getLocalName, getManagerData, getNamespaceURI, getNodeValue, getOwnerDocument, getParentNodeEventTarget, getPrefix, getTextContent, getUserData, getXblBoundElement, getXblChildNodes, getXblDefinitions, getXblFirstChild, getXblFirstElementChild, getXblLastChild, getXblLastElementChild, getXblNextElementSibling, getXblNextSibling, getXblParentNode, getXblPreviousElementSibling, getXblPreviousSibling, getXblScopedChildNodes, getXblShadowTree, hasAttributes, hasChildNodes, hasEventListenerNS, initializeEventSupport, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespacePrefix, lookupNamespaceURI, lookupPrefix, normalize, removeChild, removeEventListener, removeEventListenerNS, replaceChild, setManagerData, setNodeName, setNodeValue, setOwnerDocument, setPrefix, setSpecified, setTextContent, setUserData, willTriggerNS
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
protected String qualifiedName
protected String publicId
protected String systemId
public String getNodeName()
Node.getNodeName()
.getNodeName
in interface Node
public short getNodeType()
getNodeType
in interface Node
public boolean isReadonly()
ExtendedNode
isReadonly
in interface ExtendedNode
public void setReadonly(boolean ro)
ExtendedNode
setReadonly
in interface ExtendedNode
public String getName()
DocumentType.getName()
.getName
in interface DocumentType
public NamedNodeMap getEntities()
DocumentType.getEntities()
.getEntities
in interface DocumentType
public NamedNodeMap getNotations()
DocumentType.getNotations()
.getNotations
in interface DocumentType
public String getPublicId()
DocumentType.getPublicId()
.getPublicId
in interface DocumentType
public String getSystemId()
DocumentType.getSystemId()
.getSystemId
in interface DocumentType
public String getInternalSubset()
DocumentType.getInternalSubset()
.getInternalSubset
in interface DocumentType
protected Node newNode()
AbstractNode
newNode
in class AbstractNode
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.