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-2013 The Apache Software Foundation. All Rights Reserved.