public class Test extends AbstractPsychoPathXPath2Impl
| Modifier and Type | Field and Description |
|---|---|
protected String |
fExpression
String representation of the XPath
|
protected XSTypeAlternativeImpl |
fTypeAlternative
The type alternative to which the test belongs
|
protected XPath20 |
fXPath
XPath 2.0 expression.
|
protected NamespaceSupport |
fXPath2NamespaceContext
XPath 2.0 namespace context.
|
protected org.eclipse.wst.xml.xpath2.processor.ast.XPath |
fXPathPsychoPath
XPath 2.0 expression.
|
| Constructor and Description |
|---|
Test(XPath20 xpath,
XSTypeAlternativeImpl typeAlternative,
NamespaceSupport namespaceContext)
Constructs a "test" for type alternatives
|
Test(org.eclipse.wst.xml.xpath2.processor.ast.XPath xpath,
String expression,
XSTypeAlternativeImpl typeAlternative,
NamespaceSupport namespaceContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluateTest(QName element,
XMLAttributes attributes,
NamespaceContext instanceNamespaceContext,
String expandedSystemId)
Evaluate the test expression with respect to the specified element and its attributes
|
NamespaceSupport |
getNamespaceContext() |
XSTypeAlternativeImpl |
getTypeAlternative() |
Object |
getXPath() |
String |
toString() |
addNamespaceBindingToXPath2DynamicContext, compileXPathStr, evaluateXPathExpr, initXPath2DynamicContextprotected final XSTypeAlternativeImpl fTypeAlternative
protected final String fExpression
protected final XPath20 fXPath
protected final org.eclipse.wst.xml.xpath2.processor.ast.XPath fXPathPsychoPath
protected final NamespaceSupport fXPath2NamespaceContext
public Test(XPath20 xpath, XSTypeAlternativeImpl typeAlternative, NamespaceSupport namespaceContext)
public Test(org.eclipse.wst.xml.xpath2.processor.ast.XPath xpath,
String expression,
XSTypeAlternativeImpl typeAlternative,
NamespaceSupport namespaceContext)
public NamespaceSupport getNamespaceContext()
public XSTypeAlternativeImpl getTypeAlternative()
public Object getXPath()
public boolean evaluateTest(QName element, XMLAttributes attributes, NamespaceContext instanceNamespaceContext, String expandedSystemId)
Copyright © 2013. All rights reserved.