Uses of Class
nu.xom.Attribute
-
Packages that use Attribute Package Description nu.xom nu.xomis the core package of XOM that contains all the basic classes representing the different kinds of nodes: elements, attributes, comments, text nodes, and so forth.nu.xom.converters nu.xom.converterscontains classes that convert XOM documents to other models such as SAX and DOM.nu.xom.tests nu.xom.testscontains the JUnit based test suite for XOM. -
-
Uses of Attribute in nu.xom
Methods in nu.xom that return Attribute Modifier and Type Method Description AttributeAttribute. copy()Creates a deep copy of this attribute that is not attached to an element.AttributeElement. getAttribute(int index)Selects an attribute by index.AttributeElement. getAttribute(java.lang.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.AttributeElement. getAttribute(java.lang.String localName, java.lang.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.AttributeElement. removeAttribute(Attribute attribute)Removes an attribute from this element.Methods in nu.xom with parameters of type Attribute Modifier and Type Method Description voidElement. addAttribute(Attribute attribute)Adds an attribute to this element, replacing any existing attribute with the same local name and namespace URI.AttributeElement. removeAttribute(Attribute attribute)Removes an attribute from this element.protected voidSerializer. write(Attribute attribute)Writes an attribute in the formname="value".Constructors in nu.xom with parameters of type Attribute Constructor Description Attribute(Attribute attribute)Creates a copy of the specified attribute. -
Uses of Attribute in nu.xom.converters
Methods in nu.xom.converters that return Attribute Modifier and Type Method Description static AttributeDOMConverter. convert(org.w3c.dom.Attr attribute)Translates a DOMorg.w3c.dom.Attrobject into an equivalentnu.xom.Attributeobject. -
Uses of Attribute in nu.xom.tests
Methods in nu.xom.tests with parameters of type Attribute Modifier and Type Method Description static voidXOMTestCase. assertEquals(java.lang.String message, Attribute expected, Attribute actual)Asserts that two attribute nodes are equal.static voidXOMTestCase. assertEquals(Attribute expected, Attribute actual)Asserts that two attribute nodes are equal.
-