|
||||||||||
| 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 nonNegativeInteger
| 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(Integer integerValue)
check if the specified Integer instance is a valid nonNegativeInteger data type |
String |
toString()
Returns a String Object representing this NonNegativeInteger's value |
static NonNegativeInteger |
valueOf(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 NumberFormatException
n - the value of the NonNegativeInteger
NumberFormatException - if the given argument is not a valid NonNegativeInteger| Method Detail |
|---|
public String toString()
toString in class Object
public static NonNegativeInteger valueOf(String stringValue)
throws NumberFormatException
stringValue - a String value
NumberFormatException - if the given argument is not a valid NonNegativeIntegerpublic int intValue()
public static boolean isValid(Integer integerValue)
integerValue - the value to be tested
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||