org.apache.woden.internal.xpointer
Class DOMXMLElementEvaluator
java.lang.Object
org.apache.woden.internal.xpointer.XMLElementEvaluator
org.apache.woden.internal.xpointer.DOMXMLElementEvaluator
public class DOMXMLElementEvaluator
- extends XMLElementEvaluator
This class extends the XMLElementEvaluator to support the DOM implementation in XMLElement.
- Author:
- Dan Harvey
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMXMLElementEvaluator
public DOMXMLElementEvaluator(XPointer xpointer,
org.w3c.dom.Element element,
ErrorReporter errorReporter)
- Constructs a new DOMXMLElementEvaluator to evaluate a XPointer on a DOM Element.
- Parameters:
xpointer - an XPointer to evaluate.element - an DOM Element to be evaluated.errorReporter - the Woden Error Reporter context object.
testElementShorthand
public boolean testElementShorthand(XMLElement element,
java.lang.String shorthand)
- Specified by:
testElementShorthand in class XMLElementEvaluator
evaluateElement
public org.w3c.dom.Element evaluateElement()
- Evaluates the XPointer on the root Element and returns the resulting Element or null.
- Returns:
- an Element from the resultant evaluation of the root Element or null if evaluation fails.
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.