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 valueIllegalArgumentExceptionCopyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2019 The Document Foundation. All rights reserved.