org.odftoolkit.odfdom.dom.type
Class OdfCoordinate

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

public class OdfCoordinate
extends Object

DOM implementation of OpenDocument data type 'coordinate'


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

OdfCoordinate

public OdfCoordinate(String coordinate)
Construct OdfCoordinate by the parsing the given string

Parameters:
coordinate - The String to be parsed into OdfCoordinate
Method Detail

toString

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

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

valueOf

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

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


Copyright © 2009. All Rights Reserved.