Uses of Class
com.itextpdf.styledxmlparser.jsoup.nodes.Node
-
-
Uses of Node in com.itextpdf.styledxmlparser.jsoup.nodes
Subclasses of Node in com.itextpdf.styledxmlparser.jsoup.nodes Modifier and Type Class Description classCDataNodeA Character Data node, to support CDATA sections.classCommentA comment node.classDataNodeA data node, for contents of style, script tags etc, where contents should not show in text().classDocumentA HTML Document.classDocumentTypeA<!DOCTYPE>node.classElementA HTML element consists of a tag name, attributes, and child nodes (including text nodes and other elements).classFormElementA HTML Form Element provides ready access to the form fields/controls that are associated with it.classLeafNodeclassPseudoTextElementclassTextNodeA text node.classXmlDeclarationAn XML Declaration.Fields in com.itextpdf.styledxmlparser.jsoup.nodes declared as Node Modifier and Type Field Description (package private) NodeNode. parentNodeFields in com.itextpdf.styledxmlparser.jsoup.nodes with type parameters of type Node Modifier and Type Field Description (package private) java.util.List<Node>Element. childNodes(package private) static java.util.List<Node>Node. EmptyNodesMethods in com.itextpdf.styledxmlparser.jsoup.nodes that return Node Modifier and Type Method Description NodeElement. after(Node node)Insert the specified node into the DOM after this node (as a following sibling).NodeElement. after(java.lang.String html)Insert the specified HTML into the DOM after this element (as a following sibling).NodeNode. after(Node node)Insert the specified node into the DOM after this node (as a following sibling).NodeNode. after(java.lang.String html)Insert the specified HTML into the DOM after this node (as a following sibling).NodeElement. attr(java.lang.String attributeKey, java.lang.String attributeValue)Set an attribute value on this element.NodeLeafNode. attr(java.lang.String key, java.lang.String value)NodeNode. attr(java.lang.String attributeKey, java.lang.String attributeValue)Set an attribute (key=value).NodeElement. before(Node node)Insert the specified node into the DOM before this node (as a preceding sibling).NodeElement. before(java.lang.String html)Insert the specified HTML into the DOM before this element (as a preceding sibling).NodeNode. before(Node node)Insert the specified node into the DOM before this node (as a preceding sibling).NodeNode. before(java.lang.String html)Insert the specified HTML into the DOM before this node (as a preceding sibling).NodeNode. childNode(int index)Get a child node by its 0-based index.protected Node[]Node. childNodesAsArray()NodeElement. clearAttributes()NodeNode. clearAttributes()Clear (remove) all of the attributes in this node.protected NodeElement. doClone(Node parent)protected NodeLeafNode. doClone(Node parent)protected NodeNode. doClone(Node parent)NodeElement. empty()Remove all of the element's child nodes.NodeLeafNode. empty()abstract NodeNode. empty()Delete all this node's children.NodeElement. filter(NodeFilter nodeFilter)NodeNode. filter(NodeFilter nodeFilter)Perform a depth-first filtering through this node and its descendants.NodeNode. nextSibling()Get this node's next sibling.NodeElement. parent()NodeNode. parent()Gets this node's parent node.NodeNode. parentNode()Gets this node's parent node.NodeNode. previousSibling()Get this node's previous sibling.NodeElement. removeAttr(java.lang.String attributeKey)NodeLeafNode. removeAttr(java.lang.String key)NodeNode. removeAttr(java.lang.String attributeKey)Remove an attribute from this node.NodeElement. root()NodeNode. root()Get this node's root node; that is, its topmost ancestor.NodeElement. shallowClone()NodeNode. shallowClone()Create a stand-alone, shallow copy of this node.NodeElement. traverse(NodeVisitor nodeVisitor)NodeNode. traverse(NodeVisitor nodeVisitor)Perform a depth-first traversal through this node and its descendants.NodeNode. unwrap()Removes this node from the DOM, and moves its children up into the node's parent.NodeElement. wrap(java.lang.String html)Wrap the supplied HTML around this element.NodeNode. wrap(java.lang.String html)Wrap the supplied HTML around this node.Methods in com.itextpdf.styledxmlparser.jsoup.nodes that return types with arguments of type Node Modifier and Type Method Description java.util.List<Node>Node. childNodes()Get this node's children.java.util.List<Node>Node. childNodesCopy()Returns a deep copy of this node's children.protected java.util.List<Node>Element. ensureChildNodes()protected java.util.List<Node>LeafNode. ensureChildNodes()protected abstract java.util.List<Node>Node. ensureChildNodes()java.util.List<Node>Node. siblingNodes()Retrieves this node's sibling nodes.Methods in com.itextpdf.styledxmlparser.jsoup.nodes with parameters of type Node Modifier and Type Method Description protected voidNode. addChildren(int index, Node... children)protected voidNode. addChildren(Node... children)NodeElement. after(Node node)Insert the specified node into the DOM after this node (as a following sibling).NodeNode. after(Node node)Insert the specified node into the DOM after this node (as a following sibling).ElementElement. appendChild(Node child)Insert a node to the end of this Element's children.NodeElement. before(Node node)Insert the specified node into the DOM before this node (as a preceding sibling).NodeNode. before(Node node)Insert the specified node into the DOM before this node (as a preceding sibling).protected NodeElement. doClone(Node parent)protected NodeLeafNode. doClone(Node parent)protected NodeNode. doClone(Node parent)voidElement.TextNodeVisitor. head(Node node, int depth)voidElement.WholeTextNodeVisitor. head(Node node, int depth)voidNode.OuterHtmlVisitor. head(Node node, int depth)ElementElement. insertChild(int index, Node child)Inserts the given child node into this element at the specified index.ElementElement. 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 ParserNodeUtils. parser(Node node)Get the parser that was used to make this node, or the default HTML parser if it has no parent.ElementElement. 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)voidElement.TextNodeVisitor. tail(Node node, int depth)voidElement.WholeTextNodeVisitor. tail(Node node, int depth)voidNode.OuterHtmlVisitor. tail(Node node, int depth)Method parameters in com.itextpdf.styledxmlparser.jsoup.nodes with type arguments of type Node Modifier and Type Method Description ElementElement. appendChildren(java.util.Collection<? extends Node> children)Insert the given nodes to the end of this Element's children.ElementElement. insertChildren(int index, java.util.Collection<? extends Node> children)Inserts the given child nodes into this element at the specified index.ElementElement. prependChildren(java.util.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 Node Modifier and Type Method Description (package private) java.util.List<Node>HtmlTreeBuilder. parseFragment(java.lang.String inputFragment, Element context, java.lang.String baseUri, Parser parser)static java.util.List<Node>Parser. parseFragment(java.lang.String fragmentHtml, Element context, java.lang.String baseUri)Parse a fragment of HTML into a list of nodes.static java.util.List<Node>Parser. parseFragment(java.lang.String fragmentHtml, Element context, java.lang.String baseUri, ParseErrorList errorList)Parse a fragment of HTML into a list of nodes.(package private) abstract java.util.List<Node>TreeBuilder. parseFragment(java.lang.String inputFragment, Element context, java.lang.String baseUri, Parser parser)(package private) java.util.List<Node>XmlTreeBuilder. parseFragment(java.lang.String inputFragment, Element context, java.lang.String baseUri, Parser parser)(package private) java.util.List<Node>XmlTreeBuilder. parseFragment(java.lang.String inputFragment, java.lang.String baseUri, Parser parser)java.util.List<Node>Parser. parseFragmentInput(java.lang.String fragment, Element context, java.lang.String baseUri)static java.util.List<Node>Parser. parseXmlFragment(java.lang.String fragmentXml, java.lang.String baseUri)Parse a fragment of XML into a list of nodes.Methods in com.itextpdf.styledxmlparser.jsoup.parser with parameters of type Node Modifier and Type Method Description (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 Modifier and Type Method Description voidCleaner.CleaningVisitor. head(Node source, int depth)voidCleaner.CleaningVisitor. tail(Node source, int depth) -
Uses of Node in com.itextpdf.styledxmlparser.jsoup.select
Methods in com.itextpdf.styledxmlparser.jsoup.select with type parameters of type Node Modifier and Type Method Description private <T extends Node>
java.util.List<T>Elements. childNodesOfType(java.lang.Class<T> tClass)Methods in com.itextpdf.styledxmlparser.jsoup.select with parameters of type Node Modifier and Type Method Description static NodeFilter.FilterResultNodeTraversor. filter(NodeFilter filter, Node root)Start a depth-first filtering of the root and all of its descendants.voidCollector.Accumulator. head(Node node, int depth)NodeFilter.FilterResultCollector.FirstFinder. head(Node node, int depth)NodeFilter.FilterResultNodeFilter. head(Node node, int depth)Callback for when a node is first visited.voidNodeVisitor. head(Node node, int depth)Callback for when a node is first visited.voidCollector.Accumulator. tail(Node node, int depth)NodeFilter.FilterResultCollector.FirstFinder. tail(Node node, int depth)NodeFilter.FilterResultNodeFilter. tail(Node node, int depth)Callback for when a node is last visited, after all of its descendants have been visited.voidNodeVisitor. tail(Node node, int depth)Callback 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 Node Modifier and Type Method Description private 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 Node Modifier and Type Field Description private NodeJsoupNode. nodeThe JSoup node instance.Constructors in com.itextpdf.styledxmlparser.node.impl.jsoup.node with parameters of type Node Constructor Description JsoupNode(Node node)Creates a newJsoupNodeinstance.
-