final class NodeUtils
extends java.lang.Object
Constructor and Description |
---|
NodeUtils() |
Modifier and Type | Method and Description |
---|---|
(package private) static Document.OutputSettings |
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 |
parser(Node node)
Get the parser that was used to make this node, or the default HTML parser if it has no parent.
|
(package private) static <T extends Node> |
selectXpath(java.lang.String xpath,
Element el,
java.lang.Class<T> nodeType)
This impl works by compiling the input xpath expression, and then evaluating it against a W3C Document converted
from the original jsoup element.
|
static Document.OutputSettings outputSettings(Node node)
static Parser parser(Node node)
static <T extends Node> java.util.List<T> selectXpath(java.lang.String xpath, Element el, java.lang.Class<T> nodeType)