|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Namespace | |
org.jdom | |
org.jdom.output |
Uses of Namespace in org.jdom |
Fields in org.jdom declared as Namespace | |
static Namespace |
Namespace.NO_NAMESPACE
Define a Namespace for when not in a namespace |
static Namespace |
Namespace.XML_NAMESPACE
|
protected Namespace |
Element.namespace
The of the Element |
protected Namespace |
Attribute.namespace
The of the Attribute |
Methods in org.jdom that return Namespace | |
static Namespace |
Namespace.getNamespace(java.lang.String prefix,
java.lang.String uri)
This will retrieve (if in existence) or create (if not) a Namespace for the supplied prefix and URI. |
static Namespace |
Namespace.getNamespace(java.lang.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. |
static Namespace |
Namespace.getNamespace(java.lang.String prefix,
Element context)
This will retrieve the Namespace for the supplied prefix
in the specified context. |
Namespace |
Element.getNamespace()
This will return this Element 's
. |
Namespace |
Attribute.getNamespace()
This will return this Attribute 's
. |
Methods in org.jdom with parameters of type Namespace | |
Element |
Element.getCopy(java.lang.String name,
Namespace ns)
This creates a copy of this Element , with the new
name specified, and in the specified . |
java.lang.String |
Element.getChildText(java.lang.String name,
Namespace ns)
This convenience method returns the textual content of the named child element, or returns null if there's no such child. |
java.lang.String |
Element.getChildTextTrim(java.lang.String name,
Namespace ns)
This convenience method returns the trimmed textual content of the named child element, or returns null if there's no such child. |
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. |
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. |
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. |
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. |
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. |
boolean |
Element.removeAttribute(java.lang.String name,
Namespace ns)
This removes the attribute with the given name and within the given Namespace. |
Constructors in org.jdom with parameters of type Namespace | |
Element.Element(java.lang.String name,
Namespace namespace)
This will create a new Element
with the supplied (local) name, and define
the to be used. |
|
Attribute.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
. |
Uses of Namespace in org.jdom.output |
Methods in org.jdom.output with parameters of type Namespace | |
protected void |
XMLOutputter.printNamespace(Namespace ns,
java.io.Writer out)
This will handle printing out any needed
declarations. |
java.lang.String |
DOMOutputter.getXmlnsTagFor(Namespace ns)
This will handle adding any
attributes to the DOM tree. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |