org.exolab.castor.builder.types
public final class XSBoolean extends XSType
Version: $Revision: 1.6 $ $Date: 2005/03/05 13:41:44 $
Constructor Summary | |
---|---|
XSBoolean() | |
XSBoolean(boolean asWrapper) |
Method Summary | |
---|---|
String | createFromJavaObjectCode(String variableName)
Returns the String necessary to convert an Object to
an instance of this XSType. |
String | createToJavaObjectCode(String variableName)
Returns the String necessary to convert an instance of this XSType
to an Object. |
JType | getJType()
Returns the JType that this XSType represents |
void | setFacets(SimpleType simpleType) |
void | validationCode(JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName)
Returns a JSourceCode that contains the validation method for this XSBoolean.
|
Parameters: variableName the name of the Object
Returns: the String necessary to convert an Object to an instance of this XSType
Parameters: variableName the name of the instance variable
Returns: the String necessary to convert an instance of this XSType to an Object
Returns: the JType that this XSType represents
Parameters: fixedValue a fixed value to use if any jsc the JSourceCode to fill in.