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