Uses of Class
org.jdom.Attribute
Packages that use Attribute
-
Uses of Attribute in org.jdom
Modifier and TypeMethodDescriptionThis will create a newAttributewith the specified (local) name and value, and does not place the attribute in a.NamespaceThis will create a newAttributewith the specified (local) name, value and type, and does not place the attribute in a.NamespaceThis will create a newAttributewith the specified (local) name, value, and type, and in the provided.NamespaceThis will create a newAttributewith the specified (local) name and value, and in the provided.NamespaceAttribute.detach()This detaches theAttributefrom its parent, or does nothing if theAttributehas 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.Namespaceprotected AttributeThis will set the parent of thisAttribute.This will set the value of theAttribute.Modifier and TypeMethodDescriptionstatic StringVerifier.checkNamespaceCollision(Attribute attribute, Element element) static StringVerifier.checkNamespaceCollision(Namespace namespace, Attribute attribute) booleanElement.removeAttribute(Attribute attribute) This removes the supplied Attribute should it exist.voidDefaultJDOMFactory.setAttribute(Element parent, Attribute a) Element.setAttribute(Attribute attribute) This sets an attribute value for this element.voidJDOMFactory.setAttribute(Element element, Attribute a) voidUncheckedJDOMFactory.setAttribute(Element parent, Attribute a)