Package | Description |
---|---|
org.jdom |
Classes to represent the components of an XML document.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
UncheckedJDOMFactory.attribute(String name,
String value) |
Attribute |
JDOMFactory.attribute(String name,
String value)
This will create a new
Attribute with the
specified (local) name and value, and does not place
the attribute in a . |
Attribute |
DefaultJDOMFactory.attribute(String name,
String value) |
Attribute |
UncheckedJDOMFactory.attribute(String name,
String value,
int type) |
Attribute |
JDOMFactory.attribute(String name,
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 . |
Attribute |
DefaultJDOMFactory.attribute(String name,
String value,
int type) |
Attribute |
UncheckedJDOMFactory.attribute(String name,
String value,
int type,
Namespace namespace) |
Attribute |
JDOMFactory.attribute(String name,
String value,
int type,
Namespace namespace)
This will create a new
Attribute with the
specified (local) name, value, and type, and in the provided
. |
Attribute |
DefaultJDOMFactory.attribute(String name,
String value,
int type,
Namespace namespace) |
Attribute |
UncheckedJDOMFactory.attribute(String name,
String value,
Namespace namespace) |
Attribute |
JDOMFactory.attribute(String name,
String value,
Namespace namespace)
This will create a new
Attribute with the
specified (local) name and value, and in the provided
. |
Attribute |
DefaultJDOMFactory.attribute(String name,
String value,
Namespace namespace) |
Attribute |
Attribute.detach()
This detaches the
Attribute from its parent, or does
nothing if the Attribute has no parent. |
Attribute |
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.
|
Attribute |
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 |
Attribute.setAttributeType(int type)
This will set the type of the
Attribute . |
Attribute |
Attribute.setName(String name)
This sets the local name of the
Attribute . |
Attribute |
Attribute.setNamespace(Namespace namespace)
This sets this
Attribute 's . |
protected Attribute |
Attribute.setParent(Element parent)
This will set the parent of this
Attribute . |
Attribute |
Attribute.setValue(String value)
This will set the value of the
Attribute . |
Modifier and Type | Method and Description |
---|---|
static 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.
|
Element |
Element.setAttribute(Attribute attribute)
This sets an attribute value for this element.
|
void |
UncheckedJDOMFactory.setAttribute(Element parent,
Attribute a) |
void |
JDOMFactory.setAttribute(Element element,
Attribute a) |
void |
DefaultJDOMFactory.setAttribute(Element parent,
Attribute a) |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.