Uses of Class nu.xom.Attribute

Uses in package nu.xom.tests

Methods with parameter type nu.xom.Attribute

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

Uses in package nu.xom

Constructors with parameter type nu.xom.Attribute

Creates a copy of the specified attribute.

Methods with parameter type nu.xom.Attribute

void
Adds an attribute to this element, replacing any existing attribute with the same local name and namespace URI.
Attribute
Removes an attribute from this element.
void
Writes an attribute in the form name="value".

Methods with return type nu.xom.Attribute

Attribute
Element.getAttribute(String name)
Returns the attribute with the specified name in no namespace, or null if this element does not have an attribute with that name in no namespace.
Attribute
Element.getAttribute(String localName, String namespaceURI)
Returns the attribute with the specified name and namespace URI, or null if this element does not have an attribute with that name in that namespace.
Attribute
Element.getAttribute(int index)
Selects an attribute by index.
Attribute
Removes an attribute from this element.

Uses in package nu.xom.converters

Methods with return type nu.xom.Attribute

Attribute
DOMConverter.convert(Attr attribute)
Translates a DOM org.w3c.dom.Attr object into an equivalent nu.xom.Attribute object.

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