public abstract class XMLElementEvaluator extends Object
| Constructor and Description |
|---|
XMLElementEvaluator(XPointer xpointer,
XMLElement root)
Constructs a new XMLElement abstract class for a XPointer and XMLElement.
|
| Modifier and Type | Method and Description |
|---|---|
XMLElement |
evaluate()
Evaluates the XPointer on the root XMLElement and returns the resulting XMLElement or null.
|
abstract boolean |
testElementShorthand(XMLElement element,
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.
|
public XMLElementEvaluator(XPointer xpointer, XMLElement root)
xpointer - an XPointer which to evaluate.root - an XMLElement which to evaluate the XPointer against.public XMLElement evaluate()
public abstract boolean testElementShorthand(XMLElement element, String id)
element - An XMLElement to test for an id.id - A String of the id to test for.Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.