Public Member Functions | |
XSBoolean () | |
XSBoolean (boolean asWrapper) | |
JType | getJType () |
void | setFacets (SimpleType simpleType) |
String | createToJavaObjectCode (String variableName) |
String | createFromJavaObjectCode (String variableName) |
void | validationCode (JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName) |
The boolean XML Schema datatype.
org.exolab.castor.builder.types.XSBoolean.XSBoolean | ( | ) |
org.exolab.castor.builder.types.XSBoolean.XSBoolean | ( | boolean | asWrapper | ) |
References org.exolab.javasource.JType.Boolean.
String org.exolab.castor.builder.types.XSBoolean.createFromJavaObjectCode | ( | String | variableName | ) |
Returns the String necessary to convert an Object to an instance of this XSType. This method is really only useful for primitive types
variableName | the name of the Object |
Reimplemented from org.exolab.castor.builder.types.XSType.
String org.exolab.castor.builder.types.XSBoolean.createToJavaObjectCode | ( | String | variableName | ) |
Returns the String necessary to convert an instance of this XSType to an Object. This method is really only useful for primitive types
variableName | the name of the instance variable |
Reimplemented from org.exolab.castor.builder.types.XSType.
JType org.exolab.castor.builder.types.XSBoolean.getJType | ( | ) | [virtual] |
Returns the JType that this XSType represents
Implements org.exolab.castor.builder.types.XSType.
void org.exolab.castor.builder.types.XSBoolean.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.XSBoolean.validationCode | ( | JSourceCode | jsc, | |
String | fixedValue, | |||
String | fieldValidatorInstanceName | |||
) | [virtual] |
Returns a JSourceCode that contains the validation method for this XSBoolean.
fixed | a fixed value to use if any | |
jsc | the JSourceCode to fill in. |
Implements org.exolab.castor.builder.types.XSType.
References org.exolab.javasource.JSourceCode.add(), and org.exolab.javasource.JSourceCode.append().