org.odftoolkit.odfdom.dom.type
Class OdfId

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

public class OdfId
extends Object

DOM implementation of OpenDocument data type 'ID'


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

OdfId

public OdfId(String id)
Construct OdfId by the parsing the given string

Parameters:
id - The String to be parsed into OdfId
Method Detail

toString

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

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

valueOf

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

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


Copyright © 2009. All Rights Reserved.