org.odftoolkit.odfdom.dom.type
Class OdfLength

java.lang.Object
  extended by org.odftoolkit.odfdom.dom.type.OdfLength

public class OdfLength
extends Object

DOM implementation of OpenDocument data type 'length'


Constructor Summary
OdfLength(String length)
          Construct OdfLength by the parsing the given string
 
Method Summary
 String toString()
          Returns a String Object representing this OdfLength's value
static OdfLength valueOf(String stringValue)
          Returns an OdfLength 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

OdfLength

public OdfLength(String length)
Construct OdfLength by the parsing the given string

Parameters:
length - The String to be parsed into OdfLength
Method Detail

toString

public String toString()
Returns a String Object representing this OdfLength's value

Overrides:
toString in class Object
Returns:
return a string representation of the value of this OdfLength object

valueOf

public static OdfLength valueOf(String stringValue)
Returns an OdfLength instance representing the specified String value

Parameters:
stringValue - a String value
Returns:
return an OdfLength instance representing stringValue


Copyright © 2009. All Rights Reserved.