|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.xmlbeans.impl.values.XmlObjectBase
org.apache.xmlbeans.impl.values.JavaFloatHolder
public abstract class JavaFloatHolder
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.xmlbeans.XmlObject |
|---|
XmlObject.Factory |
| 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 |
| Fields inherited from interface org.apache.xmlbeans.XmlObject |
|---|
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL, type |
| Constructor Summary | |
|---|---|
JavaFloatHolder()
|
|
| Method Summary | |
|---|---|
protected int |
compare_to(XmlObject f)
This implementation of compare_to is allowed to do two unusual things: (1) it can assume that the xmlobj passed has a primitive type underlying the instance type that matches the current instance, and that neither is nil. |
protected java.lang.String |
compute_text(NamespaceManager nsm)
This should return the canonical string value of the primitive. |
protected boolean |
equal_to(XmlObject f)
|
java.math.BigDecimal |
getBigDecimalValue()
Returns the value as a BigDecimal. |
double |
getDoubleValue()
Returns the value as a double. |
float |
getFloatValue()
Returns the value as a float. |
SchemaType |
schemaType()
|
static java.lang.String |
serialize(float f)
|
protected void |
set_BigDecimal(java.math.BigDecimal v)
|
protected void |
set_BigInteger(java.math.BigInteger v)
|
protected void |
set_double(double v)
|
protected void |
set_float(float v)
|
protected void |
set_long(long v)
|
protected void |
set_nil()
This should clear the value, and set it to whatever is supposed to be returned when the value is nilled. |
protected void |
set_text(java.lang.String s)
This should set the value of the type from text, or throw an XmlValueOutOfRangeException if it can't. |
static float |
validateLexical(java.lang.String v,
ValidationContext context)
|
protected int |
value_hash_code()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JavaFloatHolder()
| Method Detail |
|---|
public SchemaType schemaType()
schemaType in interface XmlObjectschemaType in class XmlObjectBaseprotected java.lang.String compute_text(NamespaceManager nsm)
XmlObjectBase
compute_text in class XmlObjectBasepublic static java.lang.String serialize(float f)
protected void set_text(java.lang.String s)
XmlObjectBase
set_text in class XmlObjectBase
public static float validateLexical(java.lang.String v,
ValidationContext context)
protected void set_nil()
XmlObjectBase
set_nil in class XmlObjectBasepublic java.math.BigDecimal getBigDecimalValue()
SimpleValueBigDecimal.
getBigDecimalValue in interface SimpleValuegetBigDecimalValue in class XmlObjectBasepublic double getDoubleValue()
SimpleValue
getDoubleValue in interface SimpleValuegetDoubleValue in class XmlObjectBasepublic float getFloatValue()
SimpleValue
getFloatValue in interface SimpleValuegetFloatValue in class XmlObjectBaseprotected void set_double(double v)
set_double in class XmlObjectBaseprotected void set_float(float v)
set_float in class XmlObjectBaseprotected void set_long(long v)
set_long in class XmlObjectBaseprotected void set_BigDecimal(java.math.BigDecimal v)
set_BigDecimal in class XmlObjectBaseprotected void set_BigInteger(java.math.BigInteger v)
set_BigInteger in class XmlObjectBaseprotected int compare_to(XmlObject f)
XmlObjectBase
compare_to in class XmlObjectBaseprotected boolean equal_to(XmlObject f)
equal_to in class XmlObjectBaseprotected int value_hash_code()
value_hash_code in class XmlObjectBase
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||