|
jsoup 1.5.2-redhat-2 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Node | |
---|---|
org.jsoup.nodes | HTML document structure nodes. |
org.jsoup.select | Packages to support the CSS-style element selector. |
Uses of Node in org.jsoup.nodes |
---|
Subclasses of Node in org.jsoup.nodes | |
---|---|
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 |
Element
A HTML element consists of a tag name, attributes, and child nodes (including text nodes and other elements). |
class |
TextNode
A text node. |
class |
XmlDeclaration
An XML Declaration. |
Methods in org.jsoup.nodes that return Node | |
---|---|
Node |
Node.after(String html)
Insert the specified HTML into the DOM after this node (i.e. |
Node |
TextNode.attr(String attributeKey,
String attributeValue)
|
Node |
Node.attr(String attributeKey,
String attributeValue)
Set an attribute (key=value). |
Node |
Node.before(String html)
Insert the specified HTML into the DOM before this node (i.e. |
Node |
Node.childNode(int index)
Get a child node by index |
protected Node[] |
Node.childNodesAsArray()
|
Node |
Node.clone()
Create a stand-alone, deep copy of this node, and all of its children. |
protected Node |
Node.doClone(Node parent)
|
Node |
Node.nextSibling()
Get this node's next sibling. |
Node |
Node.parent()
Gets this node's parent node. |
Node |
Node.previousSibling()
Get this node's previous sibling. |
Node |
TextNode.removeAttr(String attributeKey)
|
Node |
Node.removeAttr(String attributeKey)
Remove an attribute from this element. |
Node |
Node.wrap(String html)
Wrap the supplied HTML around this node. |
Methods in org.jsoup.nodes that return types with arguments of type Node | |
---|---|
List<Node> |
Node.childNodes()
Get this node's children. |
List<Node> |
Node.siblingNodes()
Retrieves this node's sibling nodes. |
Methods in org.jsoup.nodes with parameters of type Node | |
---|---|
protected void |
Node.addChildren(int index,
Node... children)
|
protected void |
Node.addChildren(Node... children)
|
Element |
Element.appendChild(Node child)
Add a node to the last child of this element. |
protected Node |
Node.doClone(Node parent)
|
Element |
Element.prependChild(Node child)
Add a node to the start of this element's children. |
protected void |
Node.removeChild(Node out)
|
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)
|
Uses of Node in org.jsoup.select |
---|
Methods in org.jsoup.select with parameters of type Node | |
---|---|
void |
NodeVisitor.head(Node node,
int depth)
|
void |
NodeVisitor.tail(Node node,
int depth)
|
void |
NodeTraversor.traverse(Node root)
|
|
jsoup 1.5.2-redhat-2 | |||||||||
PREV NEXT | FRAMES NO FRAMES |