Public Member Functions | |
XSId () | |
JType | getJType () |
void | setFacets (SimpleType simpletype) |
void | validationCode (JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName) |
The XML Schema ID type
org.exolab.castor.builder.types.XSId.XSId | ( | ) |
JType org.exolab.castor.builder.types.XSId.getJType | ( | ) | [virtual] |
Returns the JType that this XSType represents
Implements org.exolab.castor.builder.types.XSType.
void org.exolab.castor.builder.types.XSId.setFacets | ( | SimpleType | simpleType | ) | [virtual] |
Reads and sets the facets for XSType
simpleType | the SimpleType containing the facets |
Implements org.exolab.castor.builder.types.XSType.
void org.exolab.castor.builder.types.XSId.validationCode | ( | JSourceCode | jsc, | |
String | fixedValue, | |||
String | fieldValidatorInstanceName | |||
) | [virtual] |
Creates the validation code for an instance of this XSType. The validation code should if necessary create a newly configured TypeValidator, that should then be added to a FieldValidator instance whose name is provided.
fixedValue | a fixed value to use if any | |
jsc | the JSourceCode to fill in. | |
fieldValidatorInstanceName | the name of the FieldValidator that the configured TypeValidator should be added to. |
Implements org.exolab.castor.builder.types.XSType.