|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.saxonica.schema.SchemaStructure com.saxonica.schema.Assertion
public class Assertion
An Assertion schema component (See XML Schema 1.1 Part 1 Working Draft)
Constructor Summary | |
---|---|
Assertion(SchemaAwareConfiguration config,
XPathExpression condition,
String text)
|
Method Summary | |
---|---|
boolean |
equals(Object other)
equals() is used when deciding whether two assertions are equal, as part of the type subsumption algorithm. |
String |
getBaseURI()
Get the base URI of the XPath expression |
XPathExpression |
getCondition()
Get the XPath expression representing the assertion. |
String |
getConditionText()
Get the original text of the condition. |
NamespaceResolver |
getNamespaceContext()
Get the namespace context for evaluating the XPath expression |
int |
hashCode()
Hashcode is used when deciding whether two assertions are equal, as part of the type subsumption algorithm. |
void |
setBaseURI(String baseURI)
Set the base URI of the XPath expression. |
void |
setNamespaceContext(NamespaceResolver resolver)
Set the namespace context. |
Methods inherited from class com.saxonica.schema.SchemaStructure |
---|
elaborate, fixup, getColumnNumber, getConfiguration, getFixupStatus, getLineNumber, getPublicId, getSystemId, getValidationStatus, lookForCycles, setConfiguration, setFixupStatus, setLineNumber, setLocator, setSystemId, setValidationStatus |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Assertion(SchemaAwareConfiguration config, XPathExpression condition, String text)
Method Detail |
---|
public XPathExpression getCondition()
public String getConditionText()
public void setNamespaceContext(NamespaceResolver resolver)
public NamespaceResolver getNamespaceContext()
public void setBaseURI(String baseURI)
public String getBaseURI()
public int hashCode()
hashCode
in class Object
public boolean equals(Object other)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |