|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.odftoolkit.odfdom.type.RelativeLength
public class RelativeLength
This class represents the in OpenDocument format used data type
| Constructor Summary | |
|---|---|
RelativeLength(java.lang.String length)
Construct RelativeLength by the parsing the given string |
|
| Method Summary | |
|---|---|
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 RelativeLength's value |
static RelativeLength |
valueOf(java.lang.String stringValue)
Returns an RelativeLength 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 RelativeLength(java.lang.String length)
throws java.lang.NumberFormatException
length - The String to be parsed into RelativeLength
java.lang.NumberFormatException - if the given argument is not a valid RelativeLength| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
public static RelativeLength valueOf(java.lang.String stringValue)
throws java.lang.NumberFormatException
stringValue - a String value
java.lang.NumberFormatExceptionpublic 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 | |||||||||