|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.odftoolkit.odfdom.type.Duration
public class Duration
This class represents the in OpenDocument format used data type
| Constructor Summary | |
|---|---|
Duration(javax.xml.datatype.Duration duration)
Construct DurationType by the parsing the given string |
|
| Method Summary | |
|---|---|
javax.xml.datatype.Duration |
getValue()
Returns the value of this DurationType object as an Duration |
static boolean |
isValid(javax.xml.datatype.Duration duration)
check if the specified Duration instance is a valid data type |
java.lang.String |
toString()
Returns a String Object representing this DurationType's value |
static Duration |
valueOf(java.lang.String stringValue)
Returns a DurationType 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 Duration(javax.xml.datatype.Duration duration)
throws java.lang.IllegalArgumentException
duration - The String to be parsed into DurationType
java.lang.IllegalArgumentException - if the given argument is not a valid Duration| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
public static Duration valueOf(java.lang.String stringValue)
throws java.lang.IllegalArgumentException
stringValue - a String value
java.lang.IllegalArgumentException - if the given argument is not a valid Durationpublic javax.xml.datatype.Duration getValue()
public static boolean isValid(javax.xml.datatype.Duration duration)
duration - the value to be tested
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||