com.sun.msv.datatype.xsd

Class FloatType

public class FloatType extends FloatingNumberType

"float" type. type of the value object is java.lang.Float. See http://www.w3.org/TR/xmlschema-2/#float for the spec

Author: Kohsuke KAWAGUCHI

Field Summary
static FloatTypetheInstance
Method Summary
StringconvertToLexicalValue(Object value, SerializationContext context)
XSDatatypegetBaseType()
ClassgetJavaObjectType()
static Floatload(String s)
static Stringsave(Float value)
Object_createValue(String lexicalValue, ValidationContext context)

Field Detail

theInstance

public static final FloatType theInstance

Method Detail

convertToLexicalValue

public String convertToLexicalValue(Object value, SerializationContext context)

getBaseType

public final XSDatatype getBaseType()

getJavaObjectType

public Class getJavaObjectType()

load

public static Float load(String s)

save

public static String save(Float value)

_createValue

public Object _createValue(String lexicalValue, ValidationContext context)