Public Member Functions | |
IdentitySelector (String xpath) throws SchemaException | |
String | getId () |
String | getXPath () |
void | setId (String id) |
void | setXPath (String xpath) throws SchemaException |
short | getStructureType () |
void | validate () throws ValidationException |
A class which represents the selector for an IdentityConstraint
org.exolab.castor.xml.schema.IdentitySelector.IdentitySelector | ( | String | xpath | ) | throws SchemaException |
Creates a new IdentitySelector.
xpath,the | xpath for the IdentitySelector. Must not be null. |
SchemaException | if xpath is null. |
References org.exolab.castor.xml.schema.IdentitySelector.setXPath().
String org.exolab.castor.xml.schema.IdentitySelector.getId | ( | ) |
Returns the Id of this IdentitySelector, or null if no Id has been set.
short org.exolab.castor.xml.schema.IdentitySelector.getStructureType | ( | ) | [virtual] |
Returns the type of this Schema Structure
Implements org.exolab.castor.xml.schema.Structure.
String org.exolab.castor.xml.schema.IdentitySelector.getXPath | ( | ) |
Returns the XPath of this IdentitySelector. This value will never be null.
void org.exolab.castor.xml.schema.IdentitySelector.setId | ( | String | id | ) |
Sets the Id for this IdentitySelector.
id | the Id for this IdentitySelector. |
void org.exolab.castor.xml.schema.IdentitySelector.setXPath | ( | String | xpath | ) | throws SchemaException |
Sets the XPath expression for this Selector.
xpath | the XPath expression for this IdentitySelector. Must not be null. |
SchemaException | if xpath is null. |
Referenced by org.exolab.castor.xml.schema.IdentitySelector.IdentitySelector().
void org.exolab.castor.xml.schema.IdentitySelector.validate | ( | ) | throws ValidationException [virtual] |
Checks the validity of this Schema defintion.
ValidationException | when this Schema definition is invalid. |
Implements org.exolab.castor.xml.schema.Structure.