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 class
CDataNode
A Character Data node, to support CDATA sections.class
Comment
A comment node.class
DataNode
A data node, for contents of style, script tags etc, where contents should not show in text().class
Document
A HTML Document.class
DocumentType
A<!DOCTYPE>
node.class
Element
A HTML element consists of a tag name, attributes, and child nodes (including text nodes and other elements).class
FormElement
A HTML Form Element provides ready access to the form fields/controls that are associated with it.class
LeafNode
class
PseudoTextElement
class
TextNode
A text node.class
XmlDeclaration
An XML Declaration.Fields in com.itextpdf.styledxmlparser.jsoup.nodes declared as Node Modifier and Type Field Description (package private) Node
Node. parentNode
Fields 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. EmptyNodes
Methods in com.itextpdf.styledxmlparser.jsoup.nodes that return Node Modifier and Type Method Description Node
Element. after(Node node)
Insert the specified node into the DOM after this node (as a following sibling).Node
Element. after(java.lang.String html)
Insert the specified HTML into the DOM after this element (as a following sibling).Node
Node. after(Node node)
Insert the specified node into the DOM after this node (as a following sibling).Node
Node. after(java.lang.String html)
Insert the specified HTML into the DOM after this node (as a following sibling).Node
Element. attr(java.lang.String attributeKey, java.lang.String attributeValue)
Set an attribute value on this element.Node
LeafNode. attr(java.lang.String key, java.lang.String value)
Node
Node. attr(java.lang.String attributeKey, java.lang.String attributeValue)
Set an attribute (key=value).Node
Element. before(Node node)
Insert the specified node into the DOM before this node (as a preceding sibling).Node
Element. before(java.lang.String html)
Insert the specified HTML into the DOM before this element (as a preceding sibling).Node
Node. before(Node node)
Insert the specified node into the DOM before this node (as a preceding sibling).Node
Node. before(java.lang.String html)
Insert the specified HTML into the DOM before this node (as a preceding sibling).Node
Node. childNode(int index)
Get a child node by its 0-based index.protected Node[]
Node. childNodesAsArray()
Node
Element. clearAttributes()
Node
Node. clearAttributes()
Clear (remove) all of the attributes in this node.protected Node
Element. doClone(Node parent)
protected Node
LeafNode. doClone(Node parent)
protected Node
Node. doClone(Node parent)
Node
Element. empty()
Remove all of the element's child nodes.Node
LeafNode. empty()
abstract Node
Node. empty()
Delete all this node's children.Node
Element. filter(NodeFilter nodeFilter)
Node
Node. filter(NodeFilter nodeFilter)
Perform a depth-first filtering through this node and its descendants.Node
Node. nextSibling()
Get this node's next sibling.Node
Element. parent()
Node
Node. parent()
Gets this node's parent node.Node
Node. parentNode()
Gets this node's parent node.Node
Node. previousSibling()
Get this node's previous sibling.Node
Element. removeAttr(java.lang.String attributeKey)
Node
LeafNode. removeAttr(java.lang.String key)
Node
Node. removeAttr(java.lang.String attributeKey)
Remove an attribute from this node.Node
Element. root()
Node
Node. root()
Get this node's root node; that is, its topmost ancestor.Node
Element. shallowClone()
Node
Node. shallowClone()
Create a stand-alone, shallow copy of this node.Node
Element. traverse(NodeVisitor nodeVisitor)
Node
Node. traverse(NodeVisitor nodeVisitor)
Perform a depth-first traversal through this node and its descendants.Node
Node. unwrap()
Removes this node from the DOM, and moves its children up into the node's parent.Node
Element. wrap(java.lang.String html)
Wrap the supplied HTML around this element.Node
Node. 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 void
Node. addChildren(int index, Node... children)
protected void
Node. addChildren(Node... children)
Node
Element. after(Node node)
Insert the specified node into the DOM after this node (as a following sibling).Node
Node. after(Node node)
Insert the specified node into the DOM after this node (as a following sibling).Element
Element. appendChild(Node child)
Insert a node to the end of this Element's children.Node
Element. before(Node node)
Insert the specified node into the DOM before this node (as a preceding sibling).Node
Node. before(Node node)
Insert the specified node into the DOM before this node (as a preceding sibling).protected Node
Element. doClone(Node parent)
protected Node
LeafNode. doClone(Node parent)
protected Node
Node. doClone(Node parent)
void
Element.TextNodeVisitor. head(Node node, int depth)
void
Element.WholeTextNodeVisitor. head(Node node, int depth)
void
Node.OuterHtmlVisitor. head(Node node, int depth)
Element
Element. insertChild(int index, Node child)
Inserts the given child node into this element at the specified index.Element
Element. insertChildren(int index, Node... children)
Inserts the given child nodes into this element at the specified index.(package private) static Document.OutputSettings
NodeUtils. 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 Parser
NodeUtils. parser(Node node)
Get the parser that was used to make this node, or the default HTML parser if it has no parent.Element
Element. prependChild(Node child)
Add a node to the start of this element's children.(package private) static boolean
Element. preserveWhitespace(Node node)
protected void
FormElement. removeChild(Node out)
protected void
Node. removeChild(Node out)
protected void
Node. reparentChild(Node child)
protected void
Node. replaceChild(Node out, Node in)
void
Node. replaceWith(Node in)
Replace this node in the DOM with the supplied node.protected void
Node. setParentNode(Node parentNode)
void
Element.TextNodeVisitor. tail(Node node, int depth)
void
Element.WholeTextNodeVisitor. tail(Node node, int depth)
void
Node.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 Element
Element. appendChildren(java.util.Collection<? extends Node> children)
Insert the given nodes to the end of this Element's children.Element
Element. insertChildren(int index, java.util.Collection<? extends Node> children)
Inserts the given child nodes into this element at the specified index.Element
Element. 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) void
HtmlTreeBuilder. insertInFosterParent(Node in)
private void
HtmlTreeBuilder. insertNode(Node node)
private void
XmlTreeBuilder. 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 void
Cleaner.CleaningVisitor. head(Node source, int depth)
void
Cleaner.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.FilterResult
NodeTraversor. filter(NodeFilter filter, Node root)
Start a depth-first filtering of the root and all of its descendants.void
Collector.Accumulator. head(Node node, int depth)
NodeFilter.FilterResult
Collector.FirstFinder. head(Node node, int depth)
NodeFilter.FilterResult
NodeFilter. head(Node node, int depth)
Callback for when a node is first visited.void
NodeVisitor. head(Node node, int depth)
Callback for when a node is first visited.void
Collector.Accumulator. tail(Node node, int depth)
NodeFilter.FilterResult
Collector.FirstFinder. tail(Node node, int depth)
NodeFilter.FilterResult
NodeFilter. tail(Node node, int depth)
Callback for when a node is last visited, after all of its descendants have been visited.void
NodeVisitor. tail(Node node, int depth)
Callback for when a node is last visited, after all of its descendants have been visited.static void
NodeTraversor. 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 INode
JsoupHtmlParser. wrapJsoupHierarchy(Node jsoupNode)
Wraps JSoup nodes into pdfHTMLINode
classes.private INode
JsoupXmlParser. wrapJsoupHierarchy(Node jsoupNode)
Wraps JSoup nodes into pdfHTMLINode
classes. -
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 Node
JsoupNode. node
The JSoup node instance.Constructors in com.itextpdf.styledxmlparser.node.impl.jsoup.node with parameters of type Node Constructor Description JsoupNode(Node node)
Creates a newJsoupNode
instance.
-