public class ID extends Object implements OdfDataType
| Constructor and Description |
|---|
ID(String id)
Construct ID by the parsing the given string
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isValid(String stringValue)
check if the specified String instance is a valid ID data type
|
String |
toString()
Returns a String Object representing this ID's value
|
static ID |
valueOf(String stringValue)
Returns an ID instance representing the specified String value
|
public ID(String id) throws IllegalArgumentException
id - The String to be parsed into IDIllegalArgumentException - if the given argument is not a valid IDpublic String toString()
public static ID valueOf(String stringValue) throws IllegalArgumentException
stringValue - a String valueIllegalArgumentException - if the given argument is not a valid IDCopyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2019 The Document Foundation. All rights reserved.