Uses of Class
com.itextpdf.styledxmlparser.jsoup.nodes.Node
Packages that use Node
Package
Description
-
Uses of Node in com.itextpdf.styledxmlparser.jsoup.nodes
Subclasses of Node in com.itextpdf.styledxmlparser.jsoup.nodesModifier and TypeClassDescriptionclassA Character Data node, to support CDATA sections.classA comment node.classA data node, for contents of style, script tags etc, where contents should not show in text().classA HTML Document.classA<!DOCTYPE>node.classA HTML element consists of a tag name, attributes, and child nodes (including text nodes and other elements).classA HTML Form Element provides ready access to the form fields/controls that are associated with it.classclassclassA text node.classAn XML Declaration.Subclasses with type arguments of type Node in com.itextpdf.styledxmlparser.jsoup.nodesFields in com.itextpdf.styledxmlparser.jsoup.nodes declared as NodeFields in com.itextpdf.styledxmlparser.jsoup.nodes with type parameters of type NodeMethods in com.itextpdf.styledxmlparser.jsoup.nodes that return NodeModifier and TypeMethodDescriptionInsert the specified node into the DOM after this node (as a following sibling).Insert the specified HTML into the DOM after this element (as a following sibling).Insert the specified node into the DOM after this node (as a following sibling).Insert the specified HTML into the DOM after this node (as a following sibling).Set an attribute value on this element.Set an attribute (key=value).Insert the specified node into the DOM before this node (as a preceding sibling).Insert the specified HTML into the DOM before this element (as a preceding sibling).Insert the specified node into the DOM before this node (as a preceding sibling).Insert the specified HTML into the DOM before this node (as a preceding sibling).Node.childNode(int index) Get a child node by its 0-based index.protected Node[]Node.childNodesAsArray()Element.clearAttributes()Node.clearAttributes()Clear (remove) all of the attributes in this node.protected Nodeprotected Nodeprotected NodeElement.empty()Remove all of the element's child nodes.LeafNode.empty()abstract NodeNode.empty()Delete all this node's children.Element.filter(NodeFilter nodeFilter) Node.filter(NodeFilter nodeFilter) Perform a depth-first filtering through this node and its descendants.Node.nextSibling()Get this node's next sibling.final NodeElement.parent()Node.parent()Gets this node's parent node.final NodeNode.parentNode()Gets this node's parent node.Node.previousSibling()Get this node's previous sibling.Element.removeAttr(String attributeKey) LeafNode.removeAttr(String key) Node.removeAttr(String attributeKey) Remove an attribute from this node.Element.root()Node.root()Get this node's root node; that is, its topmost ancestor.Element.shallowClone()Node.shallowClone()Create a stand-alone, shallow copy of this node.Element.traverse(NodeVisitor nodeVisitor) Node.traverse(NodeVisitor nodeVisitor) Perform a depth-first traversal through this node and its descendants.Node.unwrap()Removes this node from the DOM, and moves its children up into the node's parent.Wrap the supplied HTML around this element.Wrap the supplied HTML around this node.Methods in com.itextpdf.styledxmlparser.jsoup.nodes that return types with arguments of type NodeModifier and TypeMethodDescriptionNode.childNodes()Get this node's children.Node.childNodesCopy()Returns a deep copy of this node's children.Element.ensureChildNodes()LeafNode.ensureChildNodes()Node.ensureChildNodes()Node.siblingNodes()Retrieves this node's sibling nodes.Methods in com.itextpdf.styledxmlparser.jsoup.nodes with parameters of type NodeModifier and TypeMethodDescriptionprotected voidNode.addChildren(int index, Node... children) protected voidNode.addChildren(Node... children) Insert the specified node into the DOM after this node (as a following sibling).Insert the specified node into the DOM after this node (as a following sibling).Element.appendChild(Node child) Insert a node to the end of this Element's children.Insert the specified node into the DOM before this node (as a preceding sibling).Insert the specified node into the DOM before this node (as a preceding sibling).protected Nodeprotected Nodeprotected NodevoidvoidvoidElement.insertChild(int index, Node child) Inserts the given child node into this element at the specified index.Element.insertChildren(int index, Node... children) Inserts the given child nodes into this element at the specified index.(package private) static Document.OutputSettingsNodeUtils.outputSettings(Node node) Get the output setting for this node, or if this node has no document (or parent), retrieve the default output settings(package private) static ParserGet the parser that was used to make this node, or the default HTML parser if it has no parent.Element.prependChild(Node child) Add a node to the start of this element's children.(package private) static booleanElement.preserveWhitespace(Node node) protected voidFormElement.removeChild(Node out) protected voidNode.removeChild(Node out) protected voidNode.reparentChild(Node child) protected voidNode.replaceChild(Node out, Node in) voidNode.replaceWith(Node in) Replace this node in the DOM with the supplied node.protected voidNode.setParentNode(Node parentNode) voidvoidvoidMethod parameters in com.itextpdf.styledxmlparser.jsoup.nodes with type arguments of type NodeModifier and TypeMethodDescriptionElement.appendChildren(Collection<? extends Node> children) Insert the given nodes to the end of this Element's children.Element.insertChildren(int index, Collection<? extends Node> children) Inserts the given child nodes into this element at the specified index.Element.prependChildren(Collection<? extends Node> children) Insert the given nodes to the start of this Element's children. -
Uses of Node in com.itextpdf.styledxmlparser.jsoup.parser
Methods in com.itextpdf.styledxmlparser.jsoup.parser that return types with arguments of type NodeModifier and TypeMethodDescriptionHtmlTreeBuilder.parseFragment(String inputFragment, Element context, String baseUri, Parser parser) Parser.parseFragment(String fragmentHtml, Element context, String baseUri) Parse a fragment of HTML into a list of nodes.Parser.parseFragment(String fragmentHtml, Element context, String baseUri, ParseErrorList errorList) Parse a fragment of HTML into a list of nodes.TreeBuilder.parseFragment(String inputFragment, Element context, String baseUri, Parser parser) XmlTreeBuilder.parseFragment(String inputFragment, Element context, String baseUri, Parser parser) XmlTreeBuilder.parseFragment(String inputFragment, String baseUri, Parser parser) Parser.parseFragmentInput(String fragment, Element context, String baseUri) Parser.parseXmlFragment(String fragmentXml, String baseUri) Parse a fragment of XML into a list of nodes.Methods in com.itextpdf.styledxmlparser.jsoup.parser with parameters of type NodeModifier and TypeMethodDescription(package private) voidHtmlTreeBuilder.insertInFosterParent(Node in) private voidHtmlTreeBuilder.insertNode(Node node) private voidXmlTreeBuilder.insertNode(Node node) -
Uses of Node in com.itextpdf.styledxmlparser.jsoup.safety
Methods in com.itextpdf.styledxmlparser.jsoup.safety with parameters of type Node -
Uses of Node in com.itextpdf.styledxmlparser.jsoup.select
Methods in com.itextpdf.styledxmlparser.jsoup.select with type parameters of type NodeMethods in com.itextpdf.styledxmlparser.jsoup.select with parameters of type NodeModifier and TypeMethodDescriptionstatic NodeFilter.FilterResultNodeTraversor.filter(NodeFilter filter, Node root) Start a depth-first filtering of the root and all of its descendants.voidCallback for when a node is first visited.voidCallback for when a node is first visited.voidCallback for when a node is last visited, after all of its descendants have been visited.voidCallback for when a node is last visited, after all of its descendants have been visited.static voidNodeTraversor.traverse(NodeVisitor visitor, Node root) Start a depth-first traverse of the root and all of its descendants. -
Uses of Node in com.itextpdf.styledxmlparser.node.impl.jsoup
Methods in com.itextpdf.styledxmlparser.node.impl.jsoup with parameters of type NodeModifier and TypeMethodDescriptionprivate INodeJsoupHtmlParser.wrapJsoupHierarchy(Node jsoupNode) Wraps JSoup nodes into pdfHTMLINodeclasses.private INodeJsoupXmlParser.wrapJsoupHierarchy(Node jsoupNode) Wraps JSoup nodes into pdfHTMLINodeclasses. -
Uses of Node in com.itextpdf.styledxmlparser.node.impl.jsoup.node
Fields in com.itextpdf.styledxmlparser.node.impl.jsoup.node declared as NodeConstructors in com.itextpdf.styledxmlparser.node.impl.jsoup.node with parameters of type Node