|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.odftoolkit.odfdom.type.NonNegativeInteger
public class NonNegativeInteger
This class represents the in OpenDocument format used data type
| Constructor Summary | |
|---|---|
NonNegativeInteger(int n)
Allocates a NonNegativeInteger object representing the n argument |
|
| Method Summary | |
|---|---|
int |
intValue()
Returns the value of this NonNegativeInteger object as a int primitive |
static boolean |
isValid(java.lang.Integer integerValue)
check if the specified Integer instance is a valid data type |
java.lang.String |
toString()
Returns a String Object representing this NonNegativeInteger's value |
static NonNegativeInteger |
valueOf(java.lang.String stringValue)
Returns a NonNegativeInteger instance representing the specified String value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NonNegativeInteger(int n)
throws java.lang.NumberFormatException
n - the value of the NonNegativeInteger
java.lang.NumberFormatException - if the given argument is not a valid NonNegativeInteger| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
public static NonNegativeInteger valueOf(java.lang.String stringValue)
throws java.lang.NumberFormatException
stringValue - a String value
java.lang.NumberFormatException - if the given argument is not a valid NonNegativeIntegerpublic int intValue()
public static boolean isValid(java.lang.Integer integerValue)
integerValue - the value to be tested
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||