Uses of Class
org.jdom.Attribute
Packages that use Attribute
-
Uses of Attribute in org.jdom
Modifier and TypeMethodDescriptionThis will create a newAttribute
with the specified (local) name and value, and does not place the attribute in a
.Namespace
This will create a newAttribute
with the specified (local) name, value and type, and does not place the attribute in a
.Namespace
This will create a newAttribute
with the specified (local) name, value, and type, and in the provided
.Namespace
This will create a newAttribute
with the specified (local) name and value, and in the provided
.Namespace
Attribute.detach()
This detaches theAttribute
from its parent, or does nothing if theAttribute
has no parent.Element.getAttribute
(String name) This returns the attribute for this element with the given name and within no namespace, or null if no such attribute exists.Element.getAttribute
(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.Attribute.setAttributeType
(int type) This will set the type of theAttribute
.This sets the local name of theAttribute
.Attribute.setNamespace
(Namespace namespace) This sets thisAttribute
's
.Namespace
protected Attribute
This will set the parent of thisAttribute
.This will set the value of theAttribute
.Modifier and TypeMethodDescriptionstatic String
Verifier.checkNamespaceCollision
(Attribute attribute, Element element) static String
Verifier.checkNamespaceCollision
(Namespace namespace, Attribute attribute) boolean
Element.removeAttribute
(Attribute attribute) This removes the supplied Attribute should it exist.void
DefaultJDOMFactory.setAttribute
(Element parent, Attribute a) Element.setAttribute
(Attribute attribute) This sets an attribute value for this element.void
JDOMFactory.setAttribute
(Element element, Attribute a) void
UncheckedJDOMFactory.setAttribute
(Element parent, Attribute a)