|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cdmckay.coffeedom.xpath.jaxen.XPathNamespace
public class XPathNamespace
Wrapper for CoffeeDOM namespace nodes to give them a parent, as required by the XPath data model.
Constructor Summary | |
---|---|
XPathNamespace(Element coffeedomElement,
Namespace coffeedomNamespace)
Creates a namespace-node wrapper for a namespace node that is assigned to the given CoffeeDOM element. |
|
XPathNamespace(Namespace coffeedomNamespace)
Creates a namespace-node wrapper for a namespace node that hasn't been assigned to an element yet. |
Method Summary | |
---|---|
Element |
getCoffeeDOMElement()
Returns the CoffeeDOM element from which this namespace node has been retrieved. |
Namespace |
getJDOMNamespace()
Returns the CoffeeDOM namespace object of this namespace node; the CoffeeDOM namespace object contains the prefix and URI of the namespace. |
void |
setCoffeeDOMElement(Element coffeedomElement)
Sets or changes the element to which this namespace node is assigned. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XPathNamespace(Namespace coffeedomNamespace)
public XPathNamespace(Element coffeedomElement, Namespace coffeedomNamespace)
Method Detail |
---|
public Element getCoffeeDOMElement()
public void setCoffeeDOMElement(Element coffeedomElement)
public Namespace getJDOMNamespace()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |