|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.odftoolkit.odfdom.type.ZeroToHundredPercent
public class ZeroToHundredPercent
This class represents the in OpenDocument format used data type
| Constructor Summary | |
|---|---|
ZeroToHundredPercent(double n)
Allocates a ZeroToHundredPercent object representing the n argument |
|
| Method Summary | |
|---|---|
double |
doubleValue()
Returns the value of this ZeroToHundredPercent object as a double primitive |
static boolean |
isValid(java.lang.Double doubleValue)
check if the specified Double instance is a valid data type |
static boolean |
isValid(java.lang.String stringValue)
check if the specified String instance is a valid data type |
java.lang.String |
toString()
Returns a String Object representing this ZeroToHundredPercent's value |
static ZeroToHundredPercent |
valueOf(java.lang.String stringValue)
Returns a ZeroToHundredPercent 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 ZeroToHundredPercent(double n)
throws java.lang.IllegalArgumentException
n - the value of the ZeroToHundredPercent
java.lang.IllegalArgumentException - if the given argument is not a valid ZeroToHundredPercent| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
public static ZeroToHundredPercent valueOf(java.lang.String stringValue)
throws java.lang.IllegalArgumentException
stringValue - a String value
java.lang.IllegalArgumentException - if the given argument is not a valid ZeroToHundredPercentpublic double doubleValue()
public static boolean isValid(java.lang.Double doubleValue)
doubleValue - the value to be tested
public static boolean isValid(java.lang.String stringValue)
stringValue - the value to be tested
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||