|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xerces.impl.xs.AbstractPsychoPathXPath2Impl
org.apache.xerces.impl.xs.alternative.Test
Representation of XML Schema 1.1 'type alternatives', "test" attribute.
Field Summary | |
protected java.lang.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 Summary | |
Test(XPath20 xpath,
XSTypeAlternativeImpl typeAlternative,
NamespaceSupport namespaceContext)
Constructs a "test" for type alternatives |
|
Test(org.eclipse.wst.xml.xpath2.processor.ast.XPath xpath,
java.lang.String expression,
XSTypeAlternativeImpl typeAlternative,
NamespaceSupport namespaceContext)
|
Method Summary | |
boolean |
evaluateTest(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.XMLAttributes attributes,
org.apache.xerces.xni.NamespaceContext instanceNamespaceContext,
java.lang.String expandedSystemId)
Evaluate the test expression with respect to the specified element and its attributes |
NamespaceSupport |
getNamespaceContext()
|
XSTypeAlternativeImpl |
getTypeAlternative()
|
java.lang.Object |
getXPath()
|
java.lang.String |
toString()
|
Methods inherited from class org.apache.xerces.impl.xs.AbstractPsychoPathXPath2Impl |
addNamespaceBindingToXPath2DynamicContext, compileXPathStr, evaluateXPathExpr, initXPath2DynamicContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected final XSTypeAlternativeImpl fTypeAlternative
protected final java.lang.String fExpression
protected final XPath20 fXPath
protected final org.eclipse.wst.xml.xpath2.processor.ast.XPath fXPathPsychoPath
protected final NamespaceSupport fXPath2NamespaceContext
Constructor Detail |
public Test(XPath20 xpath, XSTypeAlternativeImpl typeAlternative, NamespaceSupport namespaceContext)
public Test(org.eclipse.wst.xml.xpath2.processor.ast.XPath xpath, java.lang.String expression, XSTypeAlternativeImpl typeAlternative, NamespaceSupport namespaceContext)
Method Detail |
public NamespaceSupport getNamespaceContext()
public XSTypeAlternativeImpl getTypeAlternative()
public java.lang.Object getXPath()
public boolean evaluateTest(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attributes, org.apache.xerces.xni.NamespaceContext instanceNamespaceContext, java.lang.String expandedSystemId)
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |