public class XPathNamespace extends Object
Constructor and 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 and 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.
|
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()
Copyright © 2001–2019 The Jaxen Project. All rights reserved.