public class DOMDocumentType extends DTDDeclNode implements DocumentType
Modifier and Type | Class and Description |
---|---|
static class |
DOMDocumentType.DocumentTypeKind |
declType, unrecognized
DTD_ATT_LIST_NODE, DTD_DECL_NODE, DTD_ELEMENT_DECL_NODE, DTD_ENTITY_DECL_NODE, DTD_NOTATION_DECL, NULL_VALUE
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 |
---|
DOMDocumentType(int start,
int end) |
Modifier and Type | Method and Description |
---|---|
NamedNodeMap |
getEntities() |
String |
getInternalSubset() |
String |
getKind()
Returns the document type kind (PUBLIC or SYSTEM)
|
DTDDeclParameter |
getKindNode()
Returns the node where document type kind (PUBLIC or SYSTEM) is declared
|
String |
getNodeName() |
short |
getNodeType() |
NamedNodeMap |
getNotations() |
DOMDocumentType |
getOwnerDocType() |
String |
getPublicId() |
DTDDeclParameter |
getPublicIdNode() |
String |
getPublicIdWithoutQuotes() |
String |
getSubstring(int start,
int end)
Returns a substring of the whole document.
|
String |
getSystemId() |
DTDDeclParameter |
getSystemIdNode() |
String |
getSystemIdWithoutQuotes() |
String |
getTextContent() |
boolean |
isInternalSubset(DTDDeclParameter parameter) |
void |
setEndInternalSubset(int end) |
void |
setStartInternalSubset(int start) |
addNewParameter, getDeclType, getName, getNameParameter, getParameterAtIndex, getParameters, getReferencedElementNameAt, getUnrecognized, isInNameParameter, setDeclType, setName, setUnrecognized, updateLastParameterEnd
addChild, appendChild, cloneNode, compareDocumentPosition, findAttrAt, findAttrAt, findNodeAt, findNodeBefore, findNodeOrAttrAt, getAttribute, getAttributeAtIndex, getAttributeNode, getAttributeNode, getAttributeNodes, getAttributes, getBaseURI, getChild, getChildNodes, getChildren, getChildrenWithAttributeValue, getEnd, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOrphanEndElement, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousNonTextSibling, getPreviousSibling, getStart, getUserData, hasAttribute, hasAttributes, hasChildNodes, insertBefore, isAttribute, isCDATA, isCharacterData, isChildOfOwnerDocument, isClosed, isComment, isDefaultNamespace, isDoctype, isDTDAttListDecl, isDTDElementDecl, isDTDEntityDecl, isDTDNotationDecl, isElement, isEqualNode, isGenericDTDDecl, isIncluded, isIncluded, isOwnerDocument, isProcessingInstruction, isProlog, isSameNode, isSupported, isText, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setAttribute, setAttributeNode, setNodeValue, setPrefix, setTextContent, setUserData, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
public DOMDocumentType getOwnerDocType()
getOwnerDocType
in class DTDDeclNode
public String getTextContent()
getTextContent
in interface Node
getTextContent
in class DOMNode
public String getKind()
public DTDDeclParameter getKindNode()
public String getNodeName()
getNodeName
in interface Node
getNodeName
in class DTDDeclNode
public short getNodeType()
getNodeType
in interface Node
getNodeType
in class DTDDeclNode
public NamedNodeMap getEntities()
getEntities
in interface DocumentType
public String getInternalSubset()
getInternalSubset
in interface DocumentType
public void setStartInternalSubset(int start)
public void setEndInternalSubset(int end)
public boolean isInternalSubset(DTDDeclParameter parameter)
public NamedNodeMap getNotations()
getNotations
in interface DocumentType
public String getPublicId()
getPublicId
in interface DocumentType
public String getPublicIdWithoutQuotes()
public DTDDeclParameter getPublicIdNode()
public String getSystemId()
getSystemId
in interface DocumentType
public DTDDeclParameter getSystemIdNode()
public String getSystemIdWithoutQuotes()
public String getSubstring(int start, int end)
Copyright © 2020. All rights reserved.