org.odftoolkit.odfdom.dom.type
Class OdfRelLength

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

public class OdfRelLength
extends Object

DOM implementation of OpenDocument data type 'relLength'


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

OdfRelLength

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

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

toString

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

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

valueOf

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

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


Copyright © 2009. All Rights Reserved.