public class OMXMLElementEvaluator extends XMLElementEvaluator
| Constructor and Description |
|---|
OMXMLElementEvaluator(XPointer xpointer,
org.apache.axiom.om.OMElement element,
ErrorReporter errorReporter)
Constructs a new OMXMLElementEvaluator to evaluate a XPointer on a OM Element.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.axiom.om.OMElement |
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 OMXMLElementEvaluator(XPointer xpointer, org.apache.axiom.om.OMElement element, ErrorReporter errorReporter)
xpointer - an XPointer to evaluate.element - an OMElement 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 org.apache.axiom.om.OMElement evaluateElement()
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.