Class XmlDeclaration
java.lang.Object
com.itextpdf.styledxmlparser.jsoup.nodes.Node
com.itextpdf.styledxmlparser.jsoup.nodes.LeafNode
com.itextpdf.styledxmlparser.jsoup.nodes.XmlDeclaration
- All Implemented Interfaces:
Cloneable
An XML Declaration.
-
Constructor Summary
ConstructorsConstructorDescriptionXmlDeclaration(String name, boolean isProcessingInstruction) Create a new XML declaration -
Method Summary
Methods inherited from class LeafNode
absUrl, attr, attr, attributes, baseUri, childNodeSize, doClone, doSetBaseUri, empty, ensureChildNodes, hasAttr, hasAttributes, removeAttrMethods inherited from class Node
addChildren, addChildren, after, after, before, before, childNode, childNodes, childNodesAsArray, childNodesCopy, clearAttributes, equals, filter, hasParent, hasSameValue, html, indent, nextSibling, outerHtml, outerHtml, ownerDocument, parent, parentNode, previousSibling, remove, removeChild, reparentChild, replaceChild, replaceWith, root, setBaseUri, setParentNode, setSiblingIndex, shallowClone, siblingIndex, siblingNodes, traverse, unwrap, wrap
-
Constructor Details
-
XmlDeclaration
Create a new XML declaration- Parameters:
name- of declarationisProcessingInstruction- is processing instruction
-
-
Method Details
-
nodeName
-
name
-
getWholeDeclaration
-
toString
-
clone
Description copied from class:NodeCreate a stand-alone, deep copy of this node, and all of its children. The cloned node will have no siblings or parent node. As a stand-alone object, any changes made to the clone or any of its children will not impact the original node.The cloned node may be adopted into another Document or node structure using
Element.appendChild(Node).
-