public class SafeCURIE extends Object implements OdfDataType
Constructor and Description |
---|
SafeCURIE(String curie)
Construct SafeCURIE 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 SafeCURIE data type
|
String |
toString()
Returns a String Object representing this SafeCURIE's value
|
static SafeCURIE |
valueOf(String stringValue)
Returns a SafeCURIE instance representing the specified String value
|
public SafeCURIE(String curie) throws IllegalArgumentException
curie
- The String to be parsed into SafeCURIEIllegalArgumentException
- if the given argument is not a valid SafeCURIEpublic String toString()
public static SafeCURIE valueOf(String stringValue) throws IllegalArgumentException
stringValue
- a String valueIllegalArgumentException
Copyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.