public class XPathNamespace
extends java.lang.Object
Constructor | Description |
---|---|
XPathNamespace(org.jdom.Element jdomElement,
org.jdom.Namespace jdomNamespace) |
Creates a namespace-node wrapper for a namespace node that is assigned
to the given JDOM element.
|
XPathNamespace(org.jdom.Namespace jdomNamespace) |
Creates a namespace-node wrapper for a namespace node that hasn't been
assigned to an element yet.
|
Modifier and Type | Method | Description |
---|---|---|
org.jdom.Element |
getJDOMElement() |
Returns the JDOM element from which this namespace node has been
retrieved.
|
org.jdom.Namespace |
getJDOMNamespace() |
Returns the JDOM namespace object of this namespace node; the JDOM
namespace object contains the prefix and URI of the namespace.
|
void |
setJDOMElement(org.jdom.Element jdomElement) |
Sets or changes the element to which this namespace node is assigned.
|
java.lang.String |
toString() |
public XPathNamespace(org.jdom.Namespace jdomNamespace)
public XPathNamespace(org.jdom.Element jdomElement, org.jdom.Namespace jdomNamespace)
public org.jdom.Element getJDOMElement()
public void setJDOMElement(org.jdom.Element jdomElement)
public org.jdom.Namespace getJDOMNamespace()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2001–2018 Codehaus. All rights reserved.