|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xerces.impl.xs.AbstractPsychoPathImpl
org.apache.xerces.impl.xs.assertion.XSAssertImpl
XML Schema 1.1 'assertion' component.
Field Summary | |
---|---|
protected short |
assertKind
|
protected java.lang.String |
attrName
|
protected java.lang.String |
attrValue
|
protected org.apache.xerces.xs.XSObjectList |
fAnnotations
Optional annotations |
protected org.eclipse.wst.xml.xpath2.processor.ast.XPath |
fCompiledXPath
Compiled XPath 2.0 expression |
protected XSDHandler |
fSchemaHandler
|
protected Test |
fTestExpr
Xerces object representing the assert 'test' attribute |
protected org.apache.xerces.xs.XSTypeDefinition |
fTypeDefinition
The type definition associated with the assertion component |
protected short |
fVariety
|
protected NamespaceSupport |
fXPath2NamespaceContext
XPath 2.0 namespace context. |
protected java.lang.String |
fXPathDefaultNamespace
Default XPath namespace |
protected java.lang.String |
message
|
Constructor Summary | |
---|---|
XSAssertImpl(org.apache.xerces.xs.XSTypeDefinition type,
org.apache.xerces.xs.XSObjectList annotations,
XSDHandler schemaHandler)
Constructor |
Method Summary | |
---|---|
boolean |
equals(XSAssertImpl pAssertion)
|
org.apache.xerces.xs.XSObjectList |
getAnnotations()
A sequence of [annotations] or an empty XSObjectList |
java.lang.String |
getAttrName()
Get the attribute name |
java.lang.String |
getAttrValue()
Get the attribute value |
org.eclipse.wst.xml.xpath2.processor.ast.XPath |
getCompiledXPath()
|
java.lang.String |
getMessage()
|
java.lang.String |
getName()
The name of type NCName , as defined in XML Namespaces, of
this declaration specified in the {name} property of the
component or null if the definition of this component
does not have a {name} property. |
java.lang.String |
getNamespace()
The [target namespace] of this object, or null if it is
unspecified. |
org.apache.xerces.xs.XSNamespaceItem |
getNamespaceItem()
A namespace schema information item corresponding to the target namespace of the component, if it is globally declared; or null otherwise. |
Test |
getTest()
[test]: an XPath 2.0 expression |
java.lang.String |
getTestStr()
|
short |
getType()
Get the type of the object |
org.apache.xerces.xs.XSTypeDefinition |
getTypeDefinition()
The type associated with the assertion |
short |
getVariety()
|
NamespaceSupport |
getXPath2NamespaceContext()
Get the XPath 2.0 namespace context |
java.lang.String |
getXPathDefaultNamespace()
|
void |
setAnnotations(org.apache.xerces.xs.XSObjectList annotations)
Sets the assertion annotations |
void |
setAssertKind(short assertKind)
Sets the kind of assertion this is. |
void |
setAttrName(java.lang.String attrName)
Sets the attribute name |
void |
setAttrValue(java.lang.String attrValue)
Sets the attribute value |
void |
setMessage(java.lang.String message)
|
void |
setTest(Test expr)
Sets the test attribute value |
void |
setTypeDefinition(org.apache.xerces.xs.XSTypeDefinition typeDefn)
|
void |
setVariety(short variety)
|
void |
setXPath2NamespaceContext(NamespaceSupport namespaceContext)
Sets the XPath 2.0 namespace context |
void |
setXPathDefaultNamespace(java.lang.String namespace)
Sets the xpath default namespace |
Methods inherited from class org.apache.xerces.impl.xs.AbstractPsychoPathImpl |
---|
compileXPathStr, evaluatePsychoPathExpr, initDynamicContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected short assertKind
protected org.apache.xerces.xs.XSTypeDefinition fTypeDefinition
protected Test fTestExpr
protected org.eclipse.wst.xml.xpath2.processor.ast.XPath fCompiledXPath
protected org.apache.xerces.xs.XSObjectList fAnnotations
protected java.lang.String fXPathDefaultNamespace
protected NamespaceSupport fXPath2NamespaceContext
protected java.lang.String attrName
protected java.lang.String attrValue
protected XSDHandler fSchemaHandler
protected java.lang.String message
protected short fVariety
Constructor Detail |
public XSAssertImpl(org.apache.xerces.xs.XSTypeDefinition type, org.apache.xerces.xs.XSObjectList annotations, XSDHandler schemaHandler)
Method Detail |
public void setTest(Test expr)
public void setAnnotations(org.apache.xerces.xs.XSObjectList annotations)
public void setXPathDefaultNamespace(java.lang.String namespace)
public void setXPath2NamespaceContext(NamespaceSupport namespaceContext)
public void setAssertKind(short assertKind)
public void setAttrName(java.lang.String attrName)
public void setAttrValue(java.lang.String attrValue)
public org.apache.xerces.xs.XSObjectList getAnnotations()
XSAssert
XSObjectList
getAnnotations
in interface XSAssert
public java.lang.String getTestStr()
public org.eclipse.wst.xml.xpath2.processor.ast.XPath getCompiledXPath()
public Test getTest()
XSAssert
getTest
in interface XSAssert
public org.apache.xerces.xs.XSTypeDefinition getTypeDefinition()
XSAssert
getTypeDefinition
in interface XSAssert
public void setTypeDefinition(org.apache.xerces.xs.XSTypeDefinition typeDefn)
public java.lang.String getXPathDefaultNamespace()
public java.lang.String getName()
org.apache.xerces.xs.XSObject
NCName
, as defined in XML Namespaces, of
this declaration specified in the {name}
property of the
component or null
if the definition of this component
does not have a {name}
property. For anonymous types,
the processor must construct and expose an anonymous type name that
is distinct from the name of every named type and the name of every
other anonymous type.
getName
in interface org.apache.xerces.xs.XSObject
XSObject.getName()
public java.lang.String getNamespace()
org.apache.xerces.xs.XSObject
null
if it is
unspecified.
getNamespace
in interface org.apache.xerces.xs.XSObject
XSObject.getNamespace()
public org.apache.xerces.xs.XSNamespaceItem getNamespaceItem()
org.apache.xerces.xs.XSObject
null
otherwise.
getNamespaceItem
in interface org.apache.xerces.xs.XSObject
XSObject.getNamespaceItem()
public short getType()
getType
in interface org.apache.xerces.xs.XSObject
public java.lang.String getAttrName()
public java.lang.String getAttrValue()
public NamespaceSupport getXPath2NamespaceContext()
public boolean equals(XSAssertImpl pAssertion)
public void setMessage(java.lang.String message)
public java.lang.String getMessage()
public void setVariety(short variety)
public short getVariety()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |