|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Placement>
com.ail.core.document.model.Placement
public enum Placement
This class represents an enumeration ofdocument positions.
| Enum Constant Summary | |
|---|---|
BODY
|
|
FOOTER
|
|
HEADER
|
|
| Method Summary | |
|---|---|
static Placement |
forName(java.lang.String name)
This method is similar to the valueOf() method offered by Java's Enum type, but in this case it will match either the Enum's name or the longName. |
java.lang.String |
getLongName()
Returns the same value as longName(). |
java.lang.String |
getName()
Returns the same value as name(). |
int |
getOrdinal()
Return this Enum's ordinal id. |
java.lang.String |
longName()
The long name for an enum. |
static Placement |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Placement[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
java.lang.String |
valuesAsCsv()
|
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ail.core.TypeEnum |
|---|
name |
| Enum Constant Detail |
|---|
public static final Placement HEADER
public static final Placement FOOTER
public static final Placement BODY
| Method Detail |
|---|
public static final Placement[] values()
for(Placement c : Placement.values())
System.out.println(c);
public static Placement 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 java.lang.String valuesAsCsv()
public java.lang.String longName()
TypeEnum
longName in interface TypeEnumpublic static Placement forName(java.lang.String name)
name - The name to lookup
public java.lang.String getName()
TypeEnum
getName in interface TypeEnumpublic java.lang.String getLongName()
TypeEnum
getLongName in interface TypeEnumpublic int getOrdinal()
TypeEnum
getOrdinal in interface TypeEnum
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||