Uses of Class
org.jdom.Namespace

Packages that use Namespace
org.jdom 
org.jdom.output 

Uses of Namespace in org.jdom
 

Fields in org.jdom declared as Namespace
final static NamespaceNamespace.NO_NAMESPACE
          Define a Namespace for when not in a namespace
final static NamespaceNamespace.XML_NAMESPACE
          
 

Constructors in org.jdom with parameters of type Namespace
Attribute.Attribute(String name, String value, Namespace namespace)
           This will create a new Attribute with the specified (local) name and value, and in the provided Namespace.
Element.Element(String name, Namespace namespace)
           This will create a new Element with the supplied (local) name, and define the Namespace to be used.
 

Methods in org.jdom that return Namespace
NamespaceAttribute.getNamespace()
           This will return this Attribute's Namespace.
NamespaceElement.getNamespace()
           This will return this Element's Namespace.
NamespaceElement.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).
static NamespaceNamespace.getNamespace(String prefix, String uri)
           This will retrieve (if in existence) or create (if not) a Namespace for the supplied prefix and URI.
static NamespaceNamespace.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.
 

Methods in org.jdom with parameters of type Namespace
voidElement.addNamespaceDeclaration(Namespace additionalNamespace)
           This will add a namespace declarations to this element.
AttributeElement.getAttribute(String name, Namespace ns)
           This returns the attribute for this element with the given name and within the given Namespace.
StringElement.getAttributeValue(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.
ElementElement.getChild(String name, Namespace ns)
           This returns the first child element within this element with the given local name and belonging to the given namespace.
ListElement.getChildren(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.
StringElement.getChildText(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.
StringElement.getChildTextTrim(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.
ElementElement.getCopy(String name, Namespace ns)
           This creates a copy of this Element, with the new name specified, and in the specified Namespace.
booleanElement.removeAttribute(String name, Namespace ns)
           This removes the attribute with the given name and within the given Namespace.
booleanElement.removeChild(String name, Namespace ns)
           This removes the first child element (one level deep) with the given local name and belonging to the given namespace.
booleanElement.removeChildren(String name, Namespace ns)
           This removes all child elements (one level deep) with the given local name and belonging to the given namespace.
 

Uses of Namespace in org.jdom.output
 

Methods in org.jdom.output with parameters of type Namespace
voidNamespaceStack.push(Namespace ns)
           This will add a new Namespace to those currently available.