org.exolab.castor.xml.schema
public class IdentitySelector extends Annotated
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:32 $
| Constructor Summary | |
|---|---|
| IdentitySelector(String xpath)
Creates a new IdentitySelector.
| |
| Method Summary | |
|---|---|
| String | getId()
Returns the Id of this IdentitySelector, or null if no
Id has been set.
|
| short | getStructureType()
Returns the type of this Schema Structure |
| String | getXPath()
Returns the XPath of this IdentitySelector. |
| void | setId(String id)
Sets the Id for this IdentitySelector.
|
| void | setXPath(String xpath)
Sets the XPath expression for this Selector.
|
| void | validate()
Checks the validity of this Schema defintion. |
Parameters: xpath, the xpath for the IdentitySelector. Must not be null.
Throws: SchemaException if xpath is null.
Returns: the Id of this IdentitySelector, or null if no Id has been set.
Returns: the type of this Schema Structure
Returns: the XPath of this IdentitySelector.
Parameters: id the Id for this IdentitySelector.
Parameters: xpath the XPath expression for this IdentitySelector. Must not be null.
Throws: SchemaException if xpath is null.
Throws: ValidationException when this Schema definition is invalid.