Frames | No Frames |
Constructors with parameter type org.jdom.Namespace | |
This will create a new Attribute with the
specified (local) name, value, and type, and in the provided
. | |
This will create a new Attribute with the
specified (local) name and value, and in the provided
. | |
This will create a new Element
with the supplied (local) name, and define
the to be used. | |
Fields of type org.jdom.Namespace | |
Namespace | Define a Namespace for when not in a namespace |
Namespace | |
Namespace | The of the Attribute |
Namespace | The of the Element |
Methods with parameter type org.jdom.Namespace | |
void |
This will add a namespace declarations to this element. |
String |
Check if a collides with any namespace
from a list of objects. |
String | |
String | |
String |
Check if two namespaces collide. |
Attribute |
This returns the attribute for this element with the given name
and within the given Namespace, or null if no such attribute exists. |
String |
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. |
String |
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 |
This returns the first child element within this element with the
given local name and belonging to the given namespace. |
String |
This convenience method returns the textual content of the named
child element, or returns null if there's no such child. |
String |
This convenience method returns the normalized textual content of the
named child element, or returns null if there's no such child. |
String |
This convenience method returns the trimmed textual content of the
named child element, or returns null if there's no such child. |
List |
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. |
boolean |
This removes the attribute with the given name and within the
given Namespace. |
boolean |
This removes the first child element (one level deep) with the
given local name and belonging to the given namespace. |
boolean |
This removes all child elements (one level deep) with the
given local name and belonging to the given namespace. |
void |
This will remove a namespace declarations from this element. |
Element |
This sets an attribute value for this element. |
Attribute |
This sets this Attribute 's . |
Element |
This sets this Element 's . |
Methods with return type org.jdom.Namespace | |
Namespace |
This will return this Attribute 's
. |
Namespace |
This will return this Element 's
. |
Namespace | Element.getNamespace(String prefix)
This returns the Namespace in scope on this element for the given
prefix (this involves searching up the tree, so the results depend
on the current location of the element). |
Namespace | Namespace.getNamespace(String uri)
This will retrieve (if in existence) or create (if not) a
Namespace for the supplied URI, and make it usable
as a default namespace, as no prefix is supplied. |
Namespace | Namespace.getNamespace(String prefix, String uri)
This will retrieve (if in existence) or create (if not) a
Namespace for the supplied prefix and URI. |
Constructors with parameter type org.jdom.Namespace | |
Filter out the Elements with the supplied name and Namespace. | |
Filter out the Elements with the supplied Namespace. |
Fields of type org.jdom.Namespace | |
Namespace | The element namespace |
Methods with parameter type org.jdom.Namespace | |
Attribute |
This will create a new Attribute with the
specified (local) name, value, and type, and in the provided
. |
Attribute |
This will create a new Attribute with the
specified (local) name, value, and type, and in the provided
. |
Attribute |
This will create a new Attribute with the
specified (local) name and value, and in the provided
. |
Attribute |
This will create a new Attribute with the
specified (local) name and value, and in the provided
. |
Element |
This will create a new Element
with the supplied (local) name, and define
the to be used. |
Element |
This will create a new Element
with the supplied (local) name, and define
the to be used. |