|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.saxonica.schema.SchemaElement
|
+--com.saxonica.schema.IdentitySelector
A class which represents the selector for an IdentityConstraint
| Field Summary |
| Fields inherited from class com.saxonica.schema.SchemaElement |
ANNOTATION, ANYTYPE, APPINFO, ATTRIBUTE, ATTRIBUTE_GROUP, COMPLEX_CONTENT, COMPLEX_TYPE, COMPOSITOR, DOCUMENTATION, ELEMENT, FACET, GROUP, IDENTITY_FIELD, IDENTITY_SELECTOR, KEY, KEYREF, LIST, REDEFINE, SCHEMA, SIMPLE_CONTENT, SIMPLE_TYPE, UNION, UNIQUE, UNKNOWN, WILDCARD_ATTRIBUTE, WILDCARD_ELEMENT |
| Constructor Summary | |
IdentitySelector(java.lang.String xpath)
Creates a new IdentitySelector. |
|
| Method Summary | |
java.lang.String |
getId()
Returns the Id of this IdentitySelector, or null if no Id has been set. |
Selection |
getSelection()
Return the compiled XPath expression |
short |
getStructureType()
Returns the type of this Schema Structure |
java.lang.String |
getXPath()
Returns the XPath of this IdentitySelector. |
void |
setId(java.lang.String id)
Sets the Id for 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.SchemaElement |
getColumnNumber, getLineNumber, getPublicId, getSystemId, setLocator |
| 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 getId()
public java.lang.String getXPath()
public Selection getSelection()
public void setId(java.lang.String id)
id - the Id for this IdentitySelector.
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 short getStructureType()
getStructureType in class SchemaElement
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 | ||||||||||