Uses of Class nu.xom.Element

Uses in package nu.xom.tests

Methods with parameter type nu.xom.Element

void
XOMTestCase.assertEquals(String message, Element expected, Element actual)
Asserts that two element nodes are equal.
void
Asserts that two element nodes are equal.

Uses in package nu.xom

Constructors with parameter type nu.xom.Element

Creates a new Document object with the specified root element.
Creates a deep copy of an element.
Namespace.Namespace(String prefix, String URI, Element parent)
Create a new namespace node.

Methods with parameter type nu.xom.Element

Nodes
Signals the end of an element.
XPathContext
Creates a new XPath context that contains all the namespace bindings in scope on the element.
void
Replaces the current root element with a different root element.
void
Serializes an element onto the output stream using the current options.
void
Writes all the attributes of the specified element onto the output stream, one at a time, separated by white space.
void
Writes an empty-element tag for the element including all its namespace declarations and attributes.
void
Writes the end-tag for an element in the form </name>.
void
Writes all the namespace declaration attributes of the specified element onto the output stream, one at a time, separated by white space.
void
Writes the start-tag for the element including all its namespace declarations and attributes.

Methods with return type nu.xom.Element

Element
Elements.get(int index)
Returns the indexth element in the list.
Element
Returns the first child element with the specified name in no namespace.
Element
Element.getFirstChildElement(String localName, String namespaceURI)
Returns the first child element with the specified local name and namespace URI.
Element
Returns this document's root element.
Element
NodeFactory.makeRootElement(String name, String namespace)
Creates a new element in the specified namespace with the specified name.
Element
Creates a very shallow copy of the element with the same name and namespace URI, but no children, attributes, base URI, or namespace declaration.
Element
NodeFactory.startMakingElement(String name, String namespace)
Creates a new Element in the specified namespace with the specified name.

Uses in package nu.xom.converters

Methods with return type nu.xom.Element

Element
DOMConverter.convert(org.w3c.dom.Element element)
Translates a DOM org.w3c.dom.Element object into an equivalent nu.xom.Element object.

Copyright 2002-2005 Elliotte Rusty Harold
elharo@metalab.unc.edu