public class IDREF extends Object implements OdfDataType
| Constructor and Description |
|---|
IDREF(String idRef)
Construct IDREF 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 IDREF data type
|
String |
toString()
Returns a String Object representing this IDREF's value
|
static IDREF |
valueOf(String stringValue)
Returns an IDREF instance representing the specified String value
|
public IDREF(String idRef) throws IllegalArgumentException
idRef - The String to be parsed into IDREFIllegalArgumentException - if the given argument is not a valid IDREFpublic String toString()
public static IDREF valueOf(String stringValue) throws IllegalArgumentException
stringValue - a String valueIllegalArgumentException - if the given argument is not a valid IDREFCopyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2019 The Document Foundation. All rights reserved.