|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xmlbeans.impl.values.XmlObjectBase org.apache.xmlbeans.impl.values.JavaIntHolder
public abstract class JavaIntHolder
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 | |
---|---|
JavaIntHolder()
|
Method Summary | |
---|---|
protected int |
compare_to(XmlObject i)
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. |
java.lang.String |
compute_text(NamespaceManager nsm)
This should return the canonical string value of the primitive. |
protected boolean |
equal_to(XmlObject i)
|
java.math.BigDecimal |
getBigDecimalValue()
Returns the value as a BigDecimal . |
java.math.BigInteger |
getBigIntegerValue()
Returns the value as a BigInteger . |
int |
getIntValue()
Returns the value as an int. |
long |
getLongValue()
Returns the value as a long. |
SchemaType |
schemaType()
|
protected void |
set_BigDecimal(java.math.BigDecimal v)
|
protected void |
set_BigInteger(java.math.BigInteger v)
|
protected void |
set_int(int i)
|
protected void |
set_long(long l)
|
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. |
protected int |
value_hash_code()
Note, this is carefully aligned with hash codes for all xsd:decimal primitives. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JavaIntHolder()
Method Detail |
---|
public SchemaType schemaType()
schemaType
in interface XmlObject
schemaType
in class XmlObjectBase
public java.lang.String compute_text(NamespaceManager nsm)
XmlObjectBase
compute_text
in class XmlObjectBase
protected void set_text(java.lang.String s)
XmlObjectBase
set_text
in class XmlObjectBase
protected void set_nil()
XmlObjectBase
set_nil
in class XmlObjectBase
public java.math.BigDecimal getBigDecimalValue()
SimpleValue
BigDecimal
.
getBigDecimalValue
in interface SimpleValue
getBigDecimalValue
in class XmlObjectBase
public java.math.BigInteger getBigIntegerValue()
SimpleValue
BigInteger
.
getBigIntegerValue
in interface SimpleValue
getBigIntegerValue
in class XmlObjectBase
public long getLongValue()
SimpleValue
getLongValue
in interface SimpleValue
getLongValue
in class XmlObjectBase
public int getIntValue()
SimpleValue
getIntValue
in interface SimpleValue
getIntValue
in class XmlObjectBase
protected void set_BigDecimal(java.math.BigDecimal v)
set_BigDecimal
in class XmlObjectBase
protected void set_BigInteger(java.math.BigInteger v)
set_BigInteger
in class XmlObjectBase
protected void set_long(long l)
set_long
in class XmlObjectBase
protected void set_int(int i)
set_int
in class XmlObjectBase
protected int compare_to(XmlObject i)
XmlObjectBase
compare_to
in class XmlObjectBase
protected boolean equal_to(XmlObject i)
equal_to
in class XmlObjectBase
protected 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 |