|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.odftoolkit.odfdom.type.URIorSafeCURIE
public class URIorSafeCURIE
This class represents the in OpenDocument format used data type URIorSafeCURIE This value type stores either an anyURI or a SafeCURIE
Constructor Summary | |
---|---|
URIorSafeCURIE()
Construct URIorSafeCURIE without the initialized value |
|
URIorSafeCURIE(URIorSafeCURIE val)
Copy Construct URIorSafeCURIE with the same value of val |
Method Summary | |
---|---|
URI |
getAnyURI()
get the anyURI value of this URIorSafeCURIE Object |
String |
getSafeCURIE()
get the SafeCURIE value of this URIorSafeCURIE Object |
boolean |
isSafeCURIE()
get the internal value type of URIorSafeCURIE Object |
static boolean |
isValid(String stringValue)
check if the specified XMLGregorianCalendar URIorSafeCURIE is a valid URIorSafeCURIE data type |
void |
setAnyURI(URI uri)
set uri value for URIorSafeCURIE Object |
void |
setSafeCURIE(String curie)
set String value for URIorSafeCURIE Object |
String |
toString()
Returns a String Object representing this URIorSafeCURIE's value |
static URIorSafeCURIE |
valueOf(String stringValue)
Returns an URIorSafeCURIE 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 URIorSafeCURIE()
public URIorSafeCURIE(URIorSafeCURIE val)
val
- the copied URIorSafeCURIE object
IllegalArgumentException
- if the given argument is not a valid URIorSaveCURIEMethod Detail |
---|
public void setAnyURI(URI uri)
uri
- the anyURI value which is set to URIorSafeCURIE Objectpublic void setSafeCURIE(String curie)
curie
- the SafeCURIE value which is set to URIorSafeCURIE Objectpublic boolean isSafeCURIE()
public URI getAnyURI()
public String getSafeCURIE()
public String toString()
toString
in class Object
public static URIorSafeCURIE valueOf(String stringValue) throws IllegalArgumentException
stringValue
- a String value
IllegalArgumentException
- if the given argument is not a valid URIorSaveCURIEpublic 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 |