public class StyleName extends Object implements OdfDataType
Constructor and Description |
---|
StyleName(String styleName)
Construct StyleName by the parsing the given string
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isValid(String styleName)
check if the specified String is a valid styleName data type
|
String |
toString()
Returns a String Object representing this StyleName's value
|
static StyleName |
valueOf(String styleName)
Returns StyleName which is represented by the specified String value
|
public StyleName(String styleName) throws IllegalArgumentException
styleName
- The String to be parsed into StyleNameIllegalArgumentException
- If the given StyleName is null or not valid.public String toString()
public static StyleName valueOf(String styleName) throws IllegalArgumentException
styleName
- a String value which can construct an StyleNameIllegalArgumentException
- If the given StyleName is null or not valid.Copyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.