public class DOMXMLElementEvaluator extends XMLElementEvaluator
| Constructor and Description |
|---|
DOMXMLElementEvaluator(XPointer xpointer,
Element element,
ErrorReporter errorReporter)
Constructs a new DOMXMLElementEvaluator to evaluate a XPointer on a DOM Element.
|
| Modifier and Type | Method and Description |
|---|---|
Element |
evaluateElement()
Evaluates the XPointer on the root Element and returns the resulting Element or null.
|
boolean |
testElementShorthand(XMLElement element,
String shorthand)
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.
|
evaluatepublic DOMXMLElementEvaluator(XPointer xpointer, Element element, ErrorReporter errorReporter)
xpointer - an XPointer to evaluate.element - an DOM Element to be evaluated.errorReporter - the Woden Error Reporter context object.public boolean testElementShorthand(XMLElement element, String shorthand)
XMLElementEvaluatortestElementShorthand in class XMLElementEvaluatorelement - An XMLElement to test for an id.shorthand - A String of the id to test for.public Element evaluateElement()
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.