|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<HeaderLevel>
org.xwiki.rendering.listener.HeaderLevel
public enum HeaderLevel
| Enum Constant Summary | |
|---|---|
LEVEL1
Header of level 1. |
|
LEVEL2
Header of level 2. |
|
LEVEL3
Header of level 3. |
|
LEVEL4
Header of level 4. |
|
LEVEL5
Header of level 5. |
|
LEVEL6
Header of level 6. |
|
| Method Summary | |
|---|---|
int |
getAsInt()
|
static HeaderLevel |
parseInt(int value)
Convert provided integer into the corresponding header level enum entry. |
java.lang.String |
toString()
|
static HeaderLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static HeaderLevel[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final HeaderLevel LEVEL1
public static final HeaderLevel LEVEL2
public static final HeaderLevel LEVEL3
public static final HeaderLevel LEVEL4
public static final HeaderLevel LEVEL5
public static final HeaderLevel LEVEL6
| Method Detail |
|---|
public static final HeaderLevel[] values()
for(HeaderLevel c : HeaderLevel.values())
System.out.println(c);
public static HeaderLevel valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic int getAsInt()
public java.lang.String toString()
toString in class java.lang.Enum<HeaderLevel>Enum.toString()public static HeaderLevel parseInt(int value)
value - the header level as integer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||