com.sun.msv.datatype.xsd

Class DoubleType

public class DoubleType extends FloatingNumberType

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

Author: Kohsuke KAWAGUCHI

Field Summary
static DoubleTypetheInstance
Method Summary
StringconvertToLexicalValue(Object value, SerializationContext context)
XSDatatypegetBaseType()
ClassgetJavaObjectType()
static Doubleload(String lexicalValue)
static Stringsave(Double value)
Object_createValue(String lexicalValue, ValidationContext context)

Field Detail

theInstance

public static final DoubleType theInstance

Method Detail

convertToLexicalValue

public String convertToLexicalValue(Object value, SerializationContext context)

getBaseType

public final XSDatatype getBaseType()

getJavaObjectType

public Class getJavaObjectType()

load

public static Double load(String lexicalValue)

save

public static String save(Double value)

_createValue

public Object _createValue(String lexicalValue, ValidationContext context)