|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.odftoolkit.odfdom.type.IDREF
public class IDREF
This class represents the in OpenDocument format used data type IDREF
Constructor Summary | |
---|---|
IDREF(String idRef)
Construct IDREF by the parsing the given string |
Method Summary | |
---|---|
static boolean |
isValid(String stringValue)
check if the specified String instance is a valid IDREF data type |
String |
toString()
Returns a String Object representing this IDREF's value |
static IDREF |
valueOf(String stringValue)
Returns an IDREF 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 |
---|
public IDREF(String idRef) throws IllegalArgumentException
idRef
- The String to be parsed into IDREF
IllegalArgumentException
- if the given argument is not a valid IDREFMethod Detail |
---|
public String toString()
toString
in class Object
public static IDREF valueOf(String stringValue) throws IllegalArgumentException
stringValue
- a String value
IllegalArgumentException
- if the given argument is not a valid IDREFpublic static boolean isValid(String stringValue)
stringValue
- the value to be tested
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |