Frames | No Frames |
Classes derived from nu.xom.Node | |
class |
This class represents an attribute such as
type="empty" or
xlink:href="http://www.example.com" . |
class |
This class represents an XML comment such as
<-- This is a comment--> . |
class |
Represents an XML document type declaration such as
<!DOCTYPE book SYSTEM "docbookx.dtd"> . |
class |
The Document class represents
a complete XML document including its root element,
prolog, and epilog. |
class |
This class represents an XML element. |
class |
Represents a namespace in scope. |
class |
The generic superclass for nodes that have children. |
class |
This class represents an XML processing instruction. |
class |
This class represents a run of text. |
Constructors with parameter type nu.xom.Node | |
Creates a node list containing a single node. |
Methods with parameter type nu.xom.Node | |
void |
Adds a node at the end of this list. |
void |
Appends a node to the children of this node. |
boolean |
Determines whether a node is contained in this list. |
int |
Returns the position of a node within the children of this
node. |
void |
Inserts a node at the indexth position in the list. |
void |
Inserts a child node at the specified position. |
Node |
Removes the specified child from this document. |
Node |
Removes the specified child of this node. |
void |
Replaces an existing child with a new child node. |
void |
Replaces an existing child with a new child node. |
void |
Writes a child node onto the output stream using the
current options. |
Methods with return type nu.xom.Node | |
Node |
Creates a deep copy of this attribute that
is not attached to an element. |
Node |
Returns a deep copy of this Comment object
which contains the same text, but does not have any parent. |
Node |
Returns a copy of this DocType
which has the same system ID, public ID, root element name,
and internal DTD subset, but does not belong to a document. |
Node |
Returns a complete copy of this document. |
Node |
Creates a deep copy of this element with no parent,
that can be added to this document or a different one. |
Node |
Returns a copy of this namespace which has
the same prefix and URI, but no parent. |
Node |
Returns a deep copy of this node with no parent,
that can be added to the current document or a different one. |
Node |
Returns a deep copy of this processing instruction with no
parent, that can be added to this document or a different
one. |
Node |
Returns a deep copy of this Text with no parent,
that can be added to this document or a different one. |
Node |
Returns the indexth node in the list. |
Node |
Throws IndexOutOfBoundsException
because attributes do not have children. |
Node |
Throws IndexOutOfBoundsException because
comments do not have children. |
Node |
Throws IndexOutOfBoundsException because
document type declarations do not have children. |
Node |
Throws IndexOutOfBoundsException because
namespaces do not have children. |
Node |
Returns the child of this node at the specified position. |
Node | ParentNode.getChild(int position)
Returns the child of this node at the specified position. |
Node | ProcessingInstruction.getChild(int position)
Throws IndexOutOfBoundsException because
processing instructions do not have children. |
Node |
Throws IndexOutOfBoundsException because
texts do not have children. |
Node |
Removes the indexthnode in the list. |
Node | Document.removeChild(int position)
Removes the child of this document at the specified position. |
Node | ParentNode.removeChild(int position)
Removes the child of this node at the specified position. |
Node |
Removes the specified child from this document. |
Node |
Removes the specified child of this node. |
Methods with parameter type nu.xom.Node | |
void |
Asserts that two nodes are equal. |
void |
Asserts that two nodes are equal. |
Methods with parameter type nu.xom.Node | |
void |
Serializes a node onto the output stream using the specified
canonicalization algorithm. |