Class DocumentType
java.lang.Object
org.jsoup.nodes.Node
org.jsoup.nodes.LeafNode
org.jsoup.nodes.DocumentType
- All Implemented Interfaces:
Cloneable
A
<!DOCTYPE> node.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDocumentType(String name, String publicId, String systemId) Create a new doctype element. -
Method Summary
Modifier and TypeMethodDescriptionname()Get this doctype's name (when set, or empty string)nodeName()Get the node name of this node.publicId()Get this doctype's Public ID (when set, or empty string)voidsetInternalSubset(String value) Sets the raw XML internal subset for serialization.voidsetPubSysKey(@Nullable String value) systemId()Get this doctype's System ID (when set, or empty string)Methods inherited from class LeafNode
absUrl, attr, attr, attributes, baseUri, childNodeSize, doClone, doSetBaseUri, empty, ensureChildNodes, hasAttr, hasAttributes, nodeValue, parent, removeAttrMethods inherited from class Node
addChildren, addChildren, after, after, attributesSize, before, before, childNode, childNodes, childNodesAsArray, childNodesCopy, clearAttributes, clone, equals, filter, firstChild, firstSibling, forEachNode, hashCode, hasParent, hasSameValue, html, indent, lastChild, lastSibling, nameIs, nextElementSibling, nextSibling, nodeStream, nodeStream, normalName, outerHtml, outerHtml, outerHtml, ownerDocument, parentElement, parentElementIs, parentNameIs, parentNode, previousElementSibling, previousSibling, remove, removeChild, reparentChild, replaceChild, replaceWith, root, setBaseUri, setParentNode, setSiblingIndex, shallowClone, siblingIndex, siblingNodes, sourceRange, toString, traverse, unwrap, wrap
-
Field Details
-
PUBLIC_KEY
- See Also:
-
SYSTEM_KEY
- See Also:
-
-
Constructor Details
-
DocumentType
Create a new doctype element.- Parameters:
name- the doctype's namepublicId- the doctype's public IDsystemId- the doctype's system ID
-
-
Method Details
-
setPubSysKey
-
setInternalSubset
Sets the raw XML internal subset for serialization.- Parameters:
value- the internal subset contents
-
name
-
publicId
-
systemId
-
nodeName
-