void |
DefaultJDOMFactory.addNamespaceDeclaration(Element parent,
Namespace additional) |
|
void |
Element.addNamespaceDeclaration(Namespace additionalNamespace) |
Adds a namespace declarations to this element.
|
void |
JDOMFactory.addNamespaceDeclaration(Element element,
Namespace additional) |
|
void |
UncheckedJDOMFactory.addNamespaceDeclaration(Element parent,
Namespace additional) |
|
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,
Namespace 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,
Namespace namespace) |
This will create a new Attribute with the
specified (local) name and value, and in the provided
Namespace
.
|
Attribute |
UncheckedJDOMFactory.attribute(java.lang.String name,
java.lang.String value,
int type,
Namespace namespace) |
|
Attribute |
UncheckedJDOMFactory.attribute(java.lang.String name,
java.lang.String value,
Namespace namespace) |
|
static java.lang.String |
Verifier.checkNamespaceCollision(Namespace namespace,
java.util.List list) |
Check if a Namespace
collides with any namespace
from a list of objects.
|
static java.lang.String |
Verifier.checkNamespaceCollision(Namespace namespace,
Attribute attribute) |
|
static java.lang.String |
Verifier.checkNamespaceCollision(Namespace namespace,
Element element) |
|
static java.lang.String |
Verifier.checkNamespaceCollision(Namespace namespace,
Namespace other) |
Check if two namespaces collide.
|
Element |
DefaultJDOMFactory.element(java.lang.String name,
Namespace namespace) |
|
Element |
JDOMFactory.element(java.lang.String name,
Namespace namespace) |
This will create a new Element
with the supplied (local) name, and define
the Namespace
to be used.
|
Element |
UncheckedJDOMFactory.element(java.lang.String name,
Namespace namespace) |
|
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.
|
java.lang.String |
Element.getAttributeValue(java.lang.String name,
Namespace ns) |
This returns the attribute value for the attribute with the given name
and within the given Namespace, null if there is no such attribute, and
the empty string if the attribute value is empty.
|
java.lang.String |
Element.getAttributeValue(java.lang.String name,
Namespace ns,
java.lang.String def) |
This returns the attribute value for the attribute with the given name
and within the given Namespace, or the passed-in default if there is no
such attribute.
|
Element |
Element.getChild(java.lang.String name,
Namespace ns) |
This returns the first child element within this element with the
given local name and belonging to the given namespace.
|
java.util.List |
Element.getChildren(java.lang.String name,
Namespace ns) |
This returns a List of all the child elements
nested directly (one level deep) within this element with the given
local name and belonging to the given Namespace, returned as
Element objects.
|
java.lang.String |
Element.getChildText(java.lang.String name,
Namespace ns) |
Returns the textual content of the named child element, or null if
there's no such child.
|
java.lang.String |
Element.getChildTextNormalize(java.lang.String name,
Namespace ns) |
Returns the normalized textual content of the named child element, or
null if there's no such child.
|
java.lang.String |
Element.getChildTextTrim(java.lang.String name,
Namespace ns) |
Returns the trimmed textual content of the named child element, or null
if there's no such child.
|
boolean |
Element.removeAttribute(java.lang.String name,
Namespace ns) |
This removes the attribute with the given name and within the
given Namespace.
|
boolean |
Element.removeChild(java.lang.String name,
Namespace ns) |
This removes the first child element (one level deep) with the
given local name and belonging to the given namespace.
|
boolean |
Element.removeChildren(java.lang.String name,
Namespace ns) |
This removes all child elements (one level deep) with the
given local name and belonging to the given namespace.
|
void |
Element.removeNamespaceDeclaration(Namespace additionalNamespace) |
Removes an additional namespace declarations from this element.
|
Element |
Element.setAttribute(java.lang.String name,
java.lang.String value,
Namespace ns) |
This sets an attribute value for this element.
|
Attribute |
Attribute.setNamespace(Namespace namespace) |
|
Element |
Element.setNamespace(Namespace namespace) |
|