|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.odftoolkit.odfdom.type.StyleName
public class StyleName
This class represents the in OpenDocument format used data type
| Constructor Summary | |
|---|---|
StyleName(java.lang.String styleName)
Construct StyleName by the parsing the given string |
|
| Method Summary | |
|---|---|
static boolean |
isValid(java.lang.String styleName)
check if the specified String is a valid data type |
java.lang.String |
toString()
Returns a String Object representing this StyleName's value |
static StyleName |
valueOf(java.lang.String styleName)
Returns StyleName which is represented by the specified String value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StyleName(java.lang.String styleName)
throws java.lang.IllegalArgumentException
styleName - The String to be parsed into StyleName
java.lang.IllegalArgumentException - If the given StyleName is null or not valid.| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
public static StyleName valueOf(java.lang.String styleName)
throws java.lang.IllegalArgumentException
styleName - a String value which can construct an StyleName
java.lang.IllegalArgumentException - If the given StyleName is null or not valid.public static boolean isValid(java.lang.String styleName)
styleName - the value to be tested
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||