|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.n1.util.enum.EnumFactoryImpl
com.sun.n1.sps.model.difference.Style.Factory
public static class Style.Factory
Factory for style enumerations. Strongly-typed Ccode>get methods are provided in addition to the default EnumFactory methods.
Method Summary | |
---|---|
Style |
get(int value)
Returns the style associated with the passed int value. |
Style |
get(java.lang.String value)
Returns the style associated with the passed string value. |
Style[] |
getAll()
Returns the array of all style enumerations. |
Methods inherited from class com.sun.n1.util.enum.EnumFactoryImpl |
---|
getAllEnums, getEnum, getEnum |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Style get(java.lang.String value) throws NoSuchEnumException
value
- the string value of the desired style.
NoSuchEnumException
- if no such style exists.public Style get(int value) throws NoSuchEnumException
value
- the int value of the desired style.
NoSuchEnumException
- if no such style exists.public Style[] getAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |