|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.saxonica.schema.SchemaStructure
com.saxonica.schema.IdentitySelector
A class which represents the selector for an IdentityConstraint
Constructor Summary | |
IdentitySelector(java.lang.String xpath)
Creates a new IdentitySelector. |
Method Summary | |
Selection |
getSelection()
Return the compiled XPath expression |
java.lang.String |
getXPath()
Returns the XPath of this IdentitySelector. |
void |
setSelection(Selection selection)
Set the compiled XPath expression |
void |
setXPath(java.lang.String xpath)
Sets the XPath expression for this Selector. |
boolean |
validate(javax.xml.transform.ErrorListener errorListener)
Checks the validity of this Schema defintion. |
Methods inherited from class com.saxonica.schema.SchemaStructure |
getColumnNumber, getFixupStatus, getLineNumber, getPublicId, getSchema, getSystemId, getValidationStatus, lookForCycles, setFixupStatus, setLineNumber, setLocator, setSchema, setSystemId, setValidationStatus |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IdentitySelector(java.lang.String xpath) throws SchemaException
xpath
- the xpath for the IdentitySelector. Must not be null.
SchemaException
- if xpath is null.Method Detail |
public java.lang.String getXPath()
public Selection getSelection()
public void setXPath(java.lang.String xpath) throws SchemaException
xpath
- the XPath expression for this IdentitySelector. Must not
be null.
SchemaException
- if xpath is null.public void setSelection(Selection selection)
selection
- public boolean validate(javax.xml.transform.ErrorListener errorListener) throws SchemaException
SchemaException
- when this Schema definition
is invalid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |