|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.odftoolkit.odfdom.type.Length
org.odftoolkit.odfdom.type.PositiveLength
public class PositiveLength
This class represents the in OpenDocument format used data type
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.odftoolkit.odfdom.type.Length |
|---|
Length.Unit |
| Constructor Summary | |
|---|---|
PositiveLength(java.lang.String length)
Construct PositiveLength 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 |
static PositiveLength |
valueOf(java.lang.String stringValue)
Returns a PositiveLength instance representing the specified String value |
| Methods inherited from class org.odftoolkit.odfdom.type.Length |
|---|
mapToUnit, mapToUnit, parseDouble, parseDouble, parseInt, parseInt, parseLong, parseLong, parseUnit, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PositiveLength(java.lang.String length)
throws java.lang.NumberFormatException
length - The String to be parsed into PositiveLength
java.lang.NumberFormatException - if the given argument is not a valid PostitiveLength| Method Detail |
|---|
public static PositiveLength 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 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 | |||||||||