org.odftoolkit.odfdom.type
public class CURIE extends Object implements OdfDataType
Constructor and Description |
---|
CURIE(String curie)
Construct CURIE by the parsing the given string
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isValid(String stringValue)
check if the specified String is a valid CURIE data type
|
String |
toString()
Returns a String Object representing this CURIE's value
|
static CURIE |
valueOf(String stringValue)
Returns a CURIE instance representing the specified String value
|
public CURIE(String curie) throws IllegalArgumentException
curie
- The String to be parsed into CURIEIllegalArgumentException
- if the given argument is not a valid CURIEpublic String toString()
public static CURIE valueOf(String stringValue) throws IllegalArgumentException
stringValue
- a String valueIllegalArgumentException
- if the given argument is not a valid CURIECopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.