|
COSMOS ${releaseVersion} resource-modeling Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.cosmos.rm.validation.internal.reference.DerefXPathFunction
public class DerefXPathFunction
This is an implementaion of the dref function specified in the SML specification. This implementation makes the following assumptions:
DocumentDOMBuilder.ID exists.
instance()
| Field Summary | |
|---|---|
static int |
ARITY
Arity - The number of arguments for the dref function |
| Constructor Summary | |
|---|---|
DerefXPathFunction()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
evaluate(java.util.List arguments)
|
java.lang.Object |
evaluate(java.lang.String referenceExp)
Evaluates expression to a node object |
void |
evaluateExpression(org.eclipse.cosmos.rm.validation.internal.reference.DerefXPathFunction.ArrayNodeList result,
java.lang.String referenceExp)
|
static javax.xml.xpath.XPathFunction |
instance()
Returns an instance of this class |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ARITY
| Constructor Detail |
|---|
public DerefXPathFunction()
| Method Detail |
|---|
public java.lang.Object evaluate(java.util.List arguments)
throws javax.xml.xpath.XPathFunctionException
evaluate in interface javax.xml.xpath.XPathFunctionjavax.xml.xpath.XPathFunctionExceptionXPathFunction.evaluate(java.util.List)
public void evaluateExpression(org.eclipse.cosmos.rm.validation.internal.reference.DerefXPathFunction.ArrayNodeList result,
java.lang.String referenceExp)
throws javax.xml.xpath.XPathFunctionException
javax.xml.xpath.XPathFunctionException
public java.lang.Object evaluate(java.lang.String referenceExp)
throws javax.xml.xpath.XPathFunctionException
referenceExp - uri expression
javax.xml.xpath.XPathFunctionException - thrown if an error occurs during evaluationpublic static javax.xml.xpath.XPathFunction instance()
|
COSMOS ${releaseVersion} resource-modeling Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||