## Uses of Class
org.jdom.Attribute

Packages that use Attribute
org.jdom
org.jdom.input
org.jdom.output

Uses of Attribute in org.jdom

Methods in org.jdom that return Attribute
`Attribute` `Element.getAttribute(java.lang.String name)` This returns the attribute for this element with the given name and within no namespace, or null if no such attribute exists.
`Attribute` `Element.getAttribute(java.lang.String name, Namespace ns)` This returns the attribute for this element with the given name and within the given Namespace, or null if no such attribute exists.
`protected Attribute` `Attribute.setParent(Element parent)` This will set the parent of this `Attribute`.
`Attribute` `Attribute.detach()` This detaches the `Attribute` from its parent, or does nothing if the `Attribute` has no parent.
`Attribute` `Attribute.setName(java.lang.String name)` This sets the local name of the `Attribute`.
`Attribute` `Attribute.setNamespace(Namespace namespace)` This sets this `Attribute`'s ``Namespace``.
`Attribute` `Attribute.setValue(java.lang.String value)` This will set the value of the `Attribute`.
`Attribute` `Attribute.setAttributeType(int type)` This will set the type of the `Attribute`.

Methods in org.jdom with parameters of type Attribute
`Element` `Element.setAttribute(Attribute attribute)` This sets an attribute value for this element.
`boolean` `Element.removeAttribute(Attribute attribute)` This removes the supplied Attribute should it exist.
`static java.lang.String` `Verifier.checkNamespaceCollision(Attribute attribute, Element element)` Check if ``Attribute``'s namespace collides with a ``Element``'s namespace.
`static java.lang.String` `Verifier.checkNamespaceCollision(Namespace namespace, Attribute attribute)` Check if a ``Namespace`` collides with a ``Attribute``'s namespace.

Constructors in org.jdom with parameters of type Attribute
`IllegalAddException.IllegalAddException(Element base, Attribute added, java.lang.String reason)` This will create an `Exception` indicating that the addition of the ``Attribute`` to the ``Element`` is illegal.

Uses of Attribute in org.jdom.input

Methods in org.jdom.input that return Attribute
`Attribute` `JDOMFactory.attribute(java.lang.String name, java.lang.String value, Namespace namespace)` This will create a new `Attribute` with the specified (local) name and value, and in the provided ``Namespace``.
`Attribute` `JDOMFactory.attribute(java.lang.String name, java.lang.String value, int type, Namespace namespace)` This will create a new `Attribute` with the specified (local) name, value, and type, and in the provided ``Namespace``.
`Attribute` `JDOMFactory.attribute(java.lang.String name, java.lang.String value)` This will create a new `Attribute` with the specified (local) name and value, and does not place the attribute in a ``Namespace``.
`Attribute` `JDOMFactory.attribute(java.lang.String name, java.lang.String value, int type)` This will create a new `Attribute` with the specified (local) name, value and type, and does not place the attribute in a ``Namespace``.
`Attribute` `DefaultJDOMFactory.attribute(java.lang.String name, java.lang.String value, Namespace namespace)`
`Attribute` `DefaultJDOMFactory.attribute(java.lang.String name, java.lang.String value, int type, Namespace namespace)`
`Attribute` `DefaultJDOMFactory.attribute(java.lang.String name, java.lang.String value)`
`Attribute` `DefaultJDOMFactory.attribute(java.lang.String name, java.lang.String value, int type)`

Uses of Attribute in org.jdom.output

Methods in org.jdom.output with parameters of type Attribute
`org.w3c.dom.Attr` `DOMOutputter.output(Attribute attribute)` This converts the JDOM `Attribute` parameter to a DOM `Attr`, returning the DOM version.
`protected org.w3c.dom.Attr` `DOMOutputter.output(Attribute attribute, org.w3c.dom.Document domDoc)`

Copyright © 2002 Jason Hunter, Brett McLaughlin. All Rights Reserved.