Class DocumentType
java.lang.Object
com.itextpdf.styledxmlparser.jsoup.nodes.Node
com.itextpdf.styledxmlparser.jsoup.nodes.LeafNode
com.itextpdf.styledxmlparser.jsoup.nodes.DocumentType
- All Implemented Interfaces:
Cloneable
A
<!DOCTYPE> node.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final Stringprivate static final Stringstatic final Stringprivate static final Stringstatic final StringFields inherited from class Node
EmptyNodes, EmptyString, parentNode, siblingIndex -
Constructor Summary
ConstructorsConstructorDescriptionDocumentType(String name, String publicId, String systemId) Create a new doctype element. -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanname()Get this doctype's name (when set, or empty string)nodeName()Get the node name of this node.(package private) voidouterHtmlHead(Appendable accum, int depth, Document.OutputSettings out) Get the outer HTML of this node.(package private) voidouterHtmlTail(Appendable accum, int depth, Document.OutputSettings out) publicId()Get this doctype's Public ID (when set, or empty string)voidsetPubSysKey(String value) systemId()Get this doctype's System ID (when set, or empty string)private voidMethods inherited from class LeafNode
absUrl, attr, attr, attributes, baseUri, childNodeSize, coreValue, coreValue, doClone, doSetBaseUri, empty, ensureChildNodes, hasAttr, hasAttributes, removeAttrMethods inherited from class Node
addChildren, addChildren, after, after, before, before, childNode, childNodes, childNodesAsArray, childNodesCopy, clearAttributes, clone, equals, filter, hasParent, hasSameValue, html, indent, nextSibling, nodelistChanged, outerHtml, outerHtml, ownerDocument, parent, parentNode, previousSibling, remove, removeChild, reparentChild, replaceChild, replaceWith, root, setBaseUri, setParentNode, setSiblingIndex, shallowClone, siblingIndex, siblingNodes, toString, traverse, unwrap, wrap
-
Field Details
-
PUBLIC_KEY
- See Also:
-
SYSTEM_KEY
- See Also:
-
NAME
- See Also:
-
PUB_SYS_KEY
- See Also:
-
PUBLIC_ID
- See Also:
-
SYSTEM_ID
- See Also:
-
-
Constructor Details
-
DocumentType
-
-
Method Details
-
setPubSysKey
-
updatePubSyskey
private void updatePubSyskey() -
name
-
publicId
Get this doctype's Public ID (when set, or empty string)- Returns:
- doctype Public ID
-
systemId
Get this doctype's System ID (when set, or empty string)- Returns:
- doctype System ID
-
nodeName
-
outerHtmlHead
Description copied from class:NodeGet the outer HTML of this node.- Specified by:
outerHtmlHeadin classNode- Parameters:
accum- accumulator to place HTML into- Throws:
IOException- if appending to the given accumulator fails.
-
outerHtmlTail
- Specified by:
outerHtmlTailin classNode
-
has
-