|
|||||||
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
public class IdentitySelector
The selector of an IdentityConstraint
Constructor Summary | |
---|---|
IdentitySelector(String xpath)
Create a new IdentitySelector. |
Method Summary | |
---|---|
Selection |
getSelection()
Return the compiled XPath expression |
String |
getXPath()
Return the source XPath expression of this IdentitySelector. |
void |
setSelection(Selection selection)
Set the compiled XPath expression |
void |
setXPath(String xpath)
Sets the XPath expression for this Selector. |
boolean |
validate(ErrorListener errorListener)
Checks the validity of this Schema defintion. |
Methods inherited from class com.saxonica.schema.SchemaStructure |
---|
getColumnNumber, getConfiguration, getFixupStatus, getLineNumber, getPublicId, getSystemId, getValidationStatus, lookForCycles, setConfiguration, setFixupStatus, setLineNumber, setLocator, setSystemId, setValidationStatus |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IdentitySelector(String xpath) throws SchemaException
xpath
- the xpath for the IdentitySelector. Must not be null.
SchemaException
- if xpath is null.Method Detail |
---|
public String getXPath()
public Selection getSelection()
public void setXPath(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(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 |