public class GenericDocumentType extends AbstractChildNode implements DocumentType
DocumentType
interface.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
publicId
The DTD public ID, if specified.
|
protected java.lang.String |
qualifiedName
The qualified name of the document element.
|
protected java.lang.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(java.lang.String qualifiedName,
java.lang.String publicId,
java.lang.String systemId)
Creates a new DocumentType object.
|
Modifier and Type | Method and Description |
---|---|
NamedNodeMap |
getEntities()
DOM: Implements
DocumentType.getEntities() . |
java.lang.String |
getInternalSubset()
DOM: Implements
DocumentType.getInternalSubset() . |
java.lang.String |
getName()
DOM: Implements
DocumentType.getName() . |
java.lang.String |
getNodeName()
DOM: Implements
Node.getNodeName() . |
short |
getNodeType() |
NamedNodeMap |
getNotations()
DOM: Implements
DocumentType.getNotations() . |
java.lang.String |
getPublicId()
DOM: Implements
DocumentType.getPublicId() . |
java.lang.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 java.lang.String qualifiedName
protected java.lang.String publicId
protected java.lang.String systemId
public GenericDocumentType(java.lang.String qualifiedName, java.lang.String publicId, java.lang.String systemId)
public java.lang.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 java.lang.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 java.lang.String getPublicId()
DocumentType.getPublicId()
.getPublicId
in interface DocumentType
public java.lang.String getSystemId()
DocumentType.getSystemId()
.getSystemId
in interface DocumentType
public java.lang.String getInternalSubset()
DocumentType.getInternalSubset()
.getInternalSubset
in interface DocumentType
protected Node newNode()
AbstractNode
newNode
in class AbstractNode
Copyright © 2022 Apache Software Foundation. All Rights Reserved.