Java org.jsoup.nodes Node fields, constructors, methods, implement or subclass

Example usage for Java org.jsoup.nodes Node fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jsoup.nodes Node.

The text is from its open source code.

Field

Method

Stringattr(String attributeKey)
Get an attribute's value by its key.
Nodeattr(String attributeKey, String attributeValue)
Set an attribute (key=value).
Attributesattributes()
Get all of the element's attributes.
StringbaseUri()
Get the base URI of this node.
Nodebefore(String html)
Insert the specified HTML into the DOM before this node (i.e.
Nodebefore(Node node)
Insert the specified node into the DOM before this node (i.e.
NodechildNode(int index)
Get a child node by its 0-based index.
ListchildNodes()
Get this node's children.
intchildNodeSize()
Get the number of child nodes that this node holds.
booleanequals(Object o)
Check if this node is the same instance of another (object identity test).
ClassgetClass()
Returns the runtime class of this Object .
booleanhasAttr(String attributeKey)
Test if this element has an attribute.
inthashCode()
Returns a hash code value for the object.
NodenextSibling()
Get this node's next sibling.
StringnodeName()
Get the node name of this node.
StringouterHtml()
Get the outer HTML of this node.
DocumentownerDocument()
Gets the Document associated with this Node.
Nodeparent()
Gets this node's parent node.
voidremove()
Remove (delete) this node from the DOM tree.
NoderemoveAttr(String attributeKey)
Remove an attribute from this element.
voidreplaceWith(Node in)
Replace this node in the DOM with the supplied node.
ListsiblingNodes()
Retrieves this node's sibling nodes.
StringtoString()
Gets this node's outer HTML.
Nodetraverse(NodeVisitor nodeVisitor)
Perform a depth-first traversal through this node and its descendants.