|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.woden.internal.xpointer.XMLElementEvaluator
public abstract class XMLElementEvaluator
This class Evaluates an XPointer on a XMLElement, using the XPointer model in Woden. It currently supports shorthand pointer and element() scheme based pointer part.
Constructor Summary | |
---|---|
XMLElementEvaluator(XPointer xpointer,
XMLElement root)
Constructs a new XMLElement abstract class for a XPointer and XMLElement. |
Method Summary | |
---|---|
XMLElement |
evaluate()
Evaluates the XPointer on the root XMLElement and returns the resulting XMLElement or null. |
abstract boolean |
testElementShorthand(XMLElement element,
java.lang.String id)
Tests the element for an id according to the specification at http://www.w3.org/TR/xptr-framework/#term-sdi and returns a boolean answer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLElementEvaluator(XPointer xpointer, XMLElement root)
xpointer
- an XPointer which to evaluate.root
- an XMLElement which to evaluate the XPointer against.Method Detail |
---|
public XMLElement evaluate()
public abstract boolean testElementShorthand(XMLElement element, java.lang.String id)
element
- An XMLElement to test for an id.id
- A String of the id to test for.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |