|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.odftoolkit.odfdom.type.PositiveInteger
public class PositiveInteger
This class represents the in OpenDocument format used data type
| Constructor Summary | |
|---|---|
PositiveInteger(int n)
Allocates a PositiveInteger object representing the n argument |
|
| Method Summary | |
|---|---|
int |
intValue()
Returns the value of this PositiveInteger 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 PositiveInteger's value |
static PositiveInteger |
valueOf(java.lang.String stringValue)
Returns a PositiveInteger 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 PositiveInteger(int n)
throws java.lang.NumberFormatException
n - the value of the PositiveInteger
java.lang.NumberFormatException - if the given argument is not a valid PostitiveLength| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
public static PositiveInteger valueOf(java.lang.String stringValue)
throws java.lang.NumberFormatException
stringValue - a String value
java.lang.NumberFormatException - if the given argument is not a valid PostitiveLengthpublic 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 | |||||||||