public class URIorSafeCURIE extends Object implements OdfDataType
Constructor and Description |
---|
URIorSafeCURIE()
Construct URIorSafeCURIE without the initialized value
|
URIorSafeCURIE(URIorSafeCURIE val)
Copy Construct URIorSafeCURIE with the same value of val
|
Modifier and Type | Method and Description |
---|---|
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
|
public URIorSafeCURIE()
public URIorSafeCURIE(URIorSafeCURIE val)
val
- the copied URIorSafeCURIE objectIllegalArgumentException
- if the given argument is not a valid URIorSaveCURIEpublic 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()
public static URIorSafeCURIE valueOf(String stringValue) throws IllegalArgumentException
stringValue
- a String valueIllegalArgumentException
- if the given argument is not a valid URIorSaveCURIEpublic static boolean isValid(String stringValue)
stringValue
- the value to be testedCopyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.