|
||||||||||
| 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 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 | |
|---|---|
java.net.URI |
getAnyURI()
get the anyURI value of this URIorSafeCURIE Object |
java.lang.String |
getSafeCURIE()
get the SafeCURIE value of this URIorSafeCURIE Object |
boolean |
isSafeCURIE()
get the internal value type of URIorSafeCURIE Object |
static boolean |
isValid(java.lang.String stringValue)
check if the specified XMLGregorianCalendar is a valid URIorSafeCURIE data type |
void |
setAnyURI(java.net.URI uri)
set uri value for URIorSafeCURIE Object |
void |
setSafeCURIE(java.lang.String curie)
set String value for URIorSafeCURIE Object |
java.lang.String |
toString()
Returns a String Object representing this URIorSafeCURIE's value |
static URIorSafeCURIE |
valueOf(java.lang.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
java.lang.IllegalArgumentException - if the given argument is not a valid URIorSaveCURIE| Method Detail |
|---|
public void setAnyURI(java.net.URI uri)
uri - the anyURI value which is set to URIorSafeCURIE Objectpublic void setSafeCURIE(java.lang.String curie)
curie - the SafeCURIE value which is set to URIorSafeCURIE Objectpublic boolean isSafeCURIE()
public java.net.URI getAnyURI()
public java.lang.String getSafeCURIE()
public java.lang.String toString()
toString in class java.lang.Object
public static URIorSafeCURIE valueOf(java.lang.String stringValue)
throws java.lang.IllegalArgumentException
stringValue - a String value
java.lang.IllegalArgumentException - if the given argument is not a valid URIorSaveCURIEpublic static boolean isValid(java.lang.String stringValue)
stringValue - the value to be tested
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||