org.odftoolkit.odfdom.dom.type
Class OdfNonNegativeLength

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

public class OdfNonNegativeLength
extends Object

DOM implementation of OpenDocument data type 'nonNegativeLength'


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

OdfNonNegativeLength

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

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

toString

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

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

valueOf

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

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


Copyright © 2009. All Rights Reserved.