Package org.apache.xmlbeans.impl.values
Class JavaDoubleHolder
java.lang.Object
org.apache.xmlbeans.impl.values.XmlObjectBase
org.apache.xmlbeans.impl.values.JavaDoubleHolder
- All Implemented Interfaces:
Serializable
,TypeStoreUser
,SimpleValue
,XmlObject
,XmlTokenSource
- Direct Known Subclasses:
JavaDoubleHolderEx
,XmlDoubleImpl
- See Also:
-
Field Summary
Fields inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_voorVc, KIND_SETTERHELPER_ARRAYITEM, KIND_SETTERHELPER_SINGLETON, MAJOR_VERSION_NUMBER, MINOR_VERSION_NUMBER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value as aBigDecimal
.double
Returns the value as a double.float
Returns the value as a float.static String
serialize
(double d) static double
validateLexical
(String v, ValidationContext context) Methods inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_copy, _copy, _set, attach_store, build_nil, build_text, changeType, check_dated, compareTo, compareValue, copy, copy, create_attribute_user, create_element_user, disconnect_store, documentProperties, dump, equals, execQuery, execQuery, generatedSetterHelperImpl, get_attribute_field, get_attribute_type, get_attributeflags, get_default_attribute_text, get_default_element_text, get_element_ending_delimiters, get_element_type, get_elementflags, get_schema_type, get_store, get_wscanon_text, getBigIntegerValue, getBooleanValue, getByteArrayValue, getByteValue, getCalendarValue, getDateValue, getDomNode, getEnumValue, getGDateValue, getGDurationValue, getIntValue, getListValue, getLongValue, getObjectValue, getQNameValue, getShortValue, getStringValue, getXmlLocale, hashCode, init_flags, instanceType, invalidate_element_order, invalidate_nilvalue, invalidate_value, is_child_element_order_sensitive, isDefault, isDefaultable, isFixed, isImmutable, isInstanceOf, isNil, isNillable, monitor, new_visitor, newCursor, newCursorForce, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, set_newValue, setBigDecimalValue, setBigIntegerValue, setBooleanValue, setByteArrayValue, setByteValue, setCalendarValue, setDateValue, setDoubleValue, setEnumValue, setFloatValue, setGDateValue, setGDateValue, setGDurationValue, setGDurationValue, setImmutable, setIntValue, setListValue, setLongValue, setNil, setObjectValue, setQNameValue, setShortValue, setStringValue, setValidateOnSet, substitute, toString, uses_invalidate_value, validate, validate, validate_now, valueEquals, valueHashCode, writeReplace, xgetListValue, xmlText, xmlText
-
Constructor Details
-
JavaDoubleHolder
public JavaDoubleHolder()
-
-
Method Details
-
schemaType
- Specified by:
schemaType
in interfaceXmlObject
- Specified by:
schemaType
in classXmlObjectBase
- Returns:
- The schema type for this instance. This is a permanent, unchanging property of the instance.
-
serialize
-
validateLexical
-
getBigDecimalValue
Description copied from interface:SimpleValue
Returns the value as aBigDecimal
.- Specified by:
getBigDecimalValue
in interfaceSimpleValue
- Overrides:
getBigDecimalValue
in classXmlObjectBase
-
getDoubleValue
public double getDoubleValue()Description copied from interface:SimpleValue
Returns the value as a double.- Specified by:
getDoubleValue
in interfaceSimpleValue
- Overrides:
getDoubleValue
in classXmlObjectBase
-
getFloatValue
public float getFloatValue()Description copied from interface:SimpleValue
Returns the value as a float.- Specified by:
getFloatValue
in interfaceSimpleValue
- Overrides:
getFloatValue
in classXmlObjectBase
-