public class DocType extends AbstractItem implements org.w3c.dom.DocumentType
Document
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected java.lang.String |
_intSubset
The internal subset of the DOCTYPE
|
protected java.lang.String |
_name
The element being constrained
|
protected java.lang.String |
_pubId
The public ID of the DOCTYPE
|
protected java.lang.String |
_sysId
The system ID of the DOCTYPE
|
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
FIND_BY_PREFIX, FIND_BY_REGEX, FIND_BY_TAGNAME, FIND_IGNORE_CASE, FIND_RECURSIVE
Modifier | Constructor and Description |
---|---|
protected |
DocType()
Constructor.
|
|
DocType(java.lang.String elementName)
Constructor.
|
|
DocType(java.lang.String elementName,
java.lang.String systemId)
Constructor.
|
|
DocType(java.lang.String elementName,
java.lang.String publicId,
java.lang.String systemId)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.NamedNodeMap |
getEntities() |
java.lang.String |
getInternalSubset()
Gets the data for the internal subset.
|
java.lang.String |
getName()
Gets the element name being constrained.
|
short |
getNodeType() |
org.w3c.dom.NamedNodeMap |
getNotations() |
java.lang.String |
getPublicId()
Gets the public ID of an externally referenced DTD, or an empty
String if none is referenced.
|
java.lang.String |
getSystemId()
Gets the system ID of an externally referenced DTD, or an empty
String if none is referenced.
|
void |
setInternalSubset(java.lang.String newData)
Sets the data for the internal subset.
|
void |
setName(java.lang.String elementName)
Sets the name of the item.
|
void |
setPublicId(java.lang.String publicId)
Sets the public ID of an externally referenced DTD, or an empty
String if none is referenced.
|
void |
setSystemId(java.lang.String systemId)
Sets the system ID of an externally referenced DTD, or an empty
String if none is referenced.
|
java.lang.String |
toString() |
appendChild, clone, cloneNode, compareDocumentPosition, detach, equals, getAttributes, getBaseURI, getChildNodes, getDocument, getFeature, getFirstChild, getLastChild, getLocalName, getLocator, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParent, getParentNode, getPrefix, getPreviousSibling, getText, getTextContent, getUserData, hasAttributes, hasChildNodes, hashCode, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, match, normalize, removeChild, replaceChild, setLocator, setNodeValue, setParent, setPrefix, setText, setTextContent, setUserData
finalize, getClass, notify, notifyAll, wait, wait, wait
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, 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 _name
protected java.lang.String _pubId
protected java.lang.String _sysId
protected java.lang.String _intSubset
public DocType(java.lang.String elementName, java.lang.String publicId, java.lang.String systemId)
publicId
- the public Id; null or empty if not availablesystemId
- the system Id; null or empty if not availablepublic DocType(java.lang.String elementName, java.lang.String systemId)
public DocType(java.lang.String elementName)
protected DocType()
public final java.lang.String getPublicId()
getPublicId
in interface org.w3c.dom.DocumentType
public final void setPublicId(java.lang.String publicId)
publicId
- the public Id; null or empty if not availablepublic final java.lang.String getSystemId()
getSystemId
in interface org.w3c.dom.DocumentType
public final void setSystemId(java.lang.String systemId)
systemId
- the system Id; null or empty if not availablepublic final java.lang.String getInternalSubset()
getInternalSubset
in interface org.w3c.dom.DocumentType
public final void setInternalSubset(java.lang.String newData)
public final java.lang.String getName()
getName
in interface org.w3c.dom.DocumentType
getName
in interface Item
Namespaceable.getTagName()
public final void setName(java.lang.String elementName)
Item
setName
in interface Item
setName
in class AbstractItem
Namespaceable.setTagName(java.lang.String)
public final short getNodeType()
getNodeType
in interface org.w3c.dom.Node
public final org.w3c.dom.NamedNodeMap getEntities()
getEntities
in interface org.w3c.dom.DocumentType
public final org.w3c.dom.NamedNodeMap getNotations()
getNotations
in interface org.w3c.dom.DocumentType
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.