|
|||||||
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.IdentitySelector
public class IdentitySelector
The selector of an IdentityConstraint
Constructor Summary | |
---|---|
IdentitySelector(String xpath)
Create a new IdentitySelector. |
Method Summary | |
---|---|
NamespaceResolver |
getNamespaceContext()
Get the namespace context for evaluating the XPath expression |
Selection |
getSelection()
Return the compiled XPath expression |
String |
getXPath()
Return the source XPath expression of this IdentitySelector. |
void |
setNamespaceContext(NamespaceResolver resolver)
Set the namespace context. |
void |
setSelection(Selection selection)
Set the compiled XPath expression |
void |
setXPath(String xpath)
Sets the XPath expression for this Selector. |
Methods inherited from class com.saxonica.schema.SchemaStructure |
---|
elaborate, fixup, getColumnNumber, getConfiguration, getFixupStatus, getLineNumber, getPublicId, getRedefinitionLevel, getSystemId, getValidationStatus, lookForCycles, setConfiguration, setFixupStatus, setLineNumber, setLocator, setRedefinitionLevel, setSystemId, setValidationStatus |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, 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 void setNamespaceContext(NamespaceResolver resolver)
public NamespaceResolver getNamespaceContext()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |