Generated by
JDiff

Class com.itextpdf.styledxmlparser.jsoup.nodes.Node

Removed Constructors
Node( String)  
Node( String, Attributes ) Create a new Node.
 

Added Methods
Node  clearAttributes() Clear (remove) all of the attributes in this node.
void  doSetBaseUri( String) Set the baseUri for just this node (not its descendants), if this Node tracks base URIs.
Node  empty() Delete all this node's children.
Node  filter( NodeFilter) Perform a depth-first filtering through this node and its descendants.
boolean  hasAttributes() Check if this Node has an actual Attributes object.
boolean  hasParent() Checks if this node has a parent.
Node  root() Get this node's root node; that is, its topmost ancestor.
Node  shallowClone() Create a stand-alone, shallow copy of this node.
 

Changed Methods
String  absUrl( String) Documentation changed from old to new.
Get an absolute URL from a URL attribute that may be relative (such as an or ).
Attributes  attributes() Documentation changed from old to new.
Changed from non-abstract to abstract.
Get all of the element's attributes.
String  baseUri() Documentation changed from old to new.
Changed from non-abstract to abstract.
Get the base URI that applies to this node.
Node  childNode( int) Documentation changed from old to new.
Get a child node by its 0-based index.
int  childNodeSize() Documentation changed from old to new.
Changed from non-abstract to abstract. Change from final to non-final.
Get the number of child nodes that this node holds.
List  childNodes() Documentation changed from old to new.
Get this node's children.
List  childNodesCopy() Documentation changed from old to new.
Returns a deep copy of this node's children.
Object  clone() Documentation changed from old to new.
Create a stand-alone, deep copy of this node, and all of its children.
List  ensureChildNodes() Change in return type from void to List.
Changed from non-abstract to abstract.
 
boolean  equals( Object) Documentation changed from old to new.
Check if this node is the same instance of another (object identity test).
boolean  hasAttr( String) Documentation changed from old to new.
Test if this element has an attribute.
boolean  hasSameValue( Object) Documentation changed from old to new.
Check if this node is has the same content as another node.
Node  nextSibling() Documentation changed from old to new.
Get this node's next sibling.
String  nodeName() Documentation changed from old to new.
Get the node name of this node.
Document  ownerDocument() Documentation changed from old to new.
Gets the Document associated with this Node.
Node  parent() Documentation changed from old to new.
Gets this node's parent node.
Node  parentNode() Documentation changed from old to new.
Gets this node's parent node.
Node  previousSibling() Documentation changed from old to new.
Get this node's previous sibling.
Node  removeAttr( String) Documentation changed from old to new.
Remove an attribute from this node.
void  replaceWith( Node) Documentation changed from old to new.
Replace this node in the DOM with the supplied node.
void  setBaseUri( String) Documentation changed from old to new.
Update the base URI of this node and all of its descendants.
int  siblingIndex() Documentation changed from old to new.
Get the list index of this node in its node sibling list.
List  siblingNodes() Documentation changed from old to new.
Retrieves this node's sibling nodes.
String  toString() Documentation changed from old to new.
Gets this node's outer HTML.
Node  traverse( NodeVisitor) Documentation changed from old to new.
Perform a depth-first traversal through this node and its descendants.
Node  unwrap() Documentation changed from old to new.
Removes this node from the DOM, and moves its children up into the node's parent.
Node  wrap( String) Documentation changed from old to new.
Wrap the supplied HTML around this node.
Node  after( Node) Documentation changed from old to new.
Insert the specified node into the DOM after this node (as a following sibling).
Node  after( String) Documentation changed from old to new.
Insert the specified HTML into the DOM after this node (as a following sibling).
Node  attr( String, String ) Documentation changed from old to new.
Set an attribute (key=value).
String  attr( String) Documentation changed from old to new.
Get an attribute's value by its key.
Node  before( Node) Documentation changed from old to new.
Insert the specified node into the DOM before this node (as a preceding sibling).
Node  before( String) Documentation changed from old to new.
Insert the specified HTML into the DOM before this node (as a preceding sibling).
String  outerHtml() Documentation changed from old to new.
Get the outer HTML of this node.