Public Member Functions | |
| XSFloat () | |
| XSFloat (boolean asWrapper) | |
| JType | getJType () |
| Float | getMaxExclusive () |
| Float | getMaxInclusive () |
| Float | getMinExclusive () |
| Float | getMinInclusive () |
| boolean | hasMaximum () |
| boolean | hasMinimum () |
| void | setMaxExclusive (float max) |
| void | setMaxExclusive (Float max) |
| void | setMaxInclusive (float max) |
| void | setMaxInclusive (Float max) |
| void | setMinExclusive (float min) |
| void | setMinExclusive (Float min) |
| void | setMinInclusive (float min) |
| void | setMinInclusive (Float min) |
| void | setFacets (SimpleType simpleType) |
| String | createToJavaObjectCode (String variableName) |
| String | createFromJavaObjectCode (String variableName) |
| void | validationCode (JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName) |
Package Attributes | |
| Float | maxInclusive = null |
| Float | maxExclusive = null |
| Float | minInclusive = null |
| Float | minExclusive = null |
The XML Schema Float type
| org.exolab.castor.builder.types.XSFloat.XSFloat | ( | ) |
| org.exolab.castor.builder.types.XSFloat.XSFloat | ( | boolean | asWrapper | ) |
References org.exolab.javasource.JType.Float.
| String org.exolab.castor.builder.types.XSFloat.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.XSFloat.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.XSFloat.getJType | ( | ) | [virtual] |
Returns the JType that this XSType represents
Implements org.exolab.castor.builder.types.XSType.
| Float org.exolab.castor.builder.types.XSFloat.getMaxExclusive | ( | ) |
Returns the maximum exclusive value that this XSFloat can hold.
References org.exolab.castor.builder.types.XSFloat.maxExclusive.
Referenced by org.exolab.castor.builder.types.XSFloat.validationCode().
| Float org.exolab.castor.builder.types.XSFloat.getMaxInclusive | ( | ) |
Returns the maximum inclusive value that this XSFloat can hold.
References org.exolab.castor.builder.types.XSFloat.maxInclusive.
Referenced by org.exolab.castor.builder.types.XSFloat.validationCode().
| Float org.exolab.castor.builder.types.XSFloat.getMinExclusive | ( | ) |
Returns the minimum exclusive value that this XSFloat can hold.
References org.exolab.castor.builder.types.XSFloat.minExclusive.
Referenced by org.exolab.castor.builder.types.XSFloat.validationCode().
| Float org.exolab.castor.builder.types.XSFloat.getMinInclusive | ( | ) |
Returns the minimum inclusive value that this XSFloat can hold.
References org.exolab.castor.builder.types.XSFloat.minInclusive.
Referenced by org.exolab.castor.builder.types.XSFloat.validationCode().
| boolean org.exolab.castor.builder.types.XSFloat.hasMaximum | ( | ) |
| boolean org.exolab.castor.builder.types.XSFloat.hasMinimum | ( | ) |
| void org.exolab.castor.builder.types.XSFloat.setFacets | ( | SimpleType | simpleType | ) | [virtual] |
Reads and sets the facets for XSFloat
| simpleType | the SimpleType containing the facets |
Implements org.exolab.castor.builder.types.XSType.
References org.exolab.castor.builder.types.XSType.getFacets(), org.exolab.castor.xml.schema.Facet.getName(), org.exolab.castor.xml.schema.Facet.getValue(), org.exolab.castor.builder.types.XSFloat.setMaxExclusive(), org.exolab.castor.builder.types.XSFloat.setMaxInclusive(), org.exolab.castor.builder.types.XSFloat.setMinExclusive(), org.exolab.castor.builder.types.XSFloat.setMinInclusive(), org.exolab.castor.builder.types.XSPatternBase.setPattern(), and org.exolab.castor.xml.schema.Facet.toFloat().
Referenced by org.exolab.castor.builder.TypeConversion.convertType().
| void org.exolab.castor.builder.types.XSFloat.setMaxExclusive | ( | float | max | ) |
Sets the maximum exclusive value that this XSFloat can hold.
| max | the maximum exclusive value this XSFloat can be |
References org.exolab.castor.builder.types.XSFloat.maxExclusive.
Referenced by org.exolab.castor.builder.types.XSFloat.setFacets().
| void org.exolab.castor.builder.types.XSFloat.setMaxExclusive | ( | Float | max | ) |
Sets the maximum exclusive value that this XSFloat can hold.
| max | the maximum exclusive value this XSFloat can be |
References org.exolab.castor.builder.types.XSFloat.maxExclusive.
| void org.exolab.castor.builder.types.XSFloat.setMaxInclusive | ( | Float | max | ) |
Sets the maximum inclusive value that this XSFloat can hold.
| max | the maximum inclusive value this XSFloat can be |
References org.exolab.castor.builder.types.XSFloat.maxInclusive.
| void org.exolab.castor.builder.types.XSFloat.setMaxInclusive | ( | float | max | ) |
Sets the maximum inclusive value that this XSFloat can hold.
| max | the maximum inclusive value this XSFloat can be |
References org.exolab.castor.builder.types.XSFloat.maxInclusive.
Referenced by org.exolab.castor.builder.types.XSFloat.setFacets().
| void org.exolab.castor.builder.types.XSFloat.setMinExclusive | ( | Float | min | ) |
Sets the minimum exclusive value that this XSFloat can hold.
| max | the minimum exclusive value this XSFloat can be |
References org.exolab.castor.builder.types.XSFloat.minExclusive.
| void org.exolab.castor.builder.types.XSFloat.setMinExclusive | ( | float | min | ) |
Sets the minimum exclusive value that this XSFloat can hold.
| max | the minimum exclusive value this XSFloat can be |
References org.exolab.castor.builder.types.XSFloat.minExclusive.
Referenced by org.exolab.castor.builder.types.XSFloat.setFacets().
| void org.exolab.castor.builder.types.XSFloat.setMinInclusive | ( | Float | min | ) |
Sets the minimum inclusive value that this XSFloat can hold.
| max | the minimum inclusive value this XSFloat can be |
References org.exolab.castor.builder.types.XSFloat.minInclusive.
| void org.exolab.castor.builder.types.XSFloat.setMinInclusive | ( | float | min | ) |
Sets the minimum inclusive value that this XSFloat can hold.
| max | the minimum inclusive value this XSFloat can be |
References org.exolab.castor.builder.types.XSFloat.minInclusive.
Referenced by org.exolab.castor.builder.types.XSFloat.setFacets().
| void org.exolab.castor.builder.types.XSFloat.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.
References org.exolab.javasource.JSourceCode.add(), org.exolab.javasource.JSourceCode.append(), org.exolab.castor.builder.types.XSType.escapePattern(), org.exolab.castor.builder.types.XSFloat.getMaxExclusive(), org.exolab.castor.builder.types.XSFloat.getMaxInclusive(), org.exolab.castor.builder.types.XSFloat.getMinExclusive(), org.exolab.castor.builder.types.XSFloat.getMinInclusive(), org.exolab.castor.builder.types.XSPatternBase.getPattern(), org.exolab.castor.builder.types.XSFloat.hasMaximum(), and org.exolab.castor.builder.types.XSFloat.hasMinimum().
Float org.exolab.castor.builder.types.XSFloat.maxExclusive = null [package] |
Float org.exolab.castor.builder.types.XSFloat.maxInclusive = null [package] |
Float org.exolab.castor.builder.types.XSFloat.minExclusive = null [package] |
Float org.exolab.castor.builder.types.XSFloat.minInclusive = null [package] |
1.7.0