|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<EncodingMode>
org.apache.fop.fonts.EncodingMode
public enum EncodingMode
This class enumerates all supported encoding modes for fonts: auto, single-byte and CID.
| Enum Constant Summary | |
|---|---|
AUTO
Automatic selection of encoding mode. |
|
CID
CID encoding |
|
SINGLE_BYTE
Single-byte encoding |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the encoding mode name. |
static EncodingMode |
getValue(java.lang.String name)
Returns the EncodingMode by name. |
java.lang.String |
toString()
|
static EncodingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EncodingMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final EncodingMode AUTO
public static final EncodingMode SINGLE_BYTE
public static final EncodingMode CID
| Method Detail |
|---|
public static EncodingMode[] values()
for (EncodingMode c : EncodingMode.values()) System.out.println(c);
public static EncodingMode 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 name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
public static EncodingMode getValue(java.lang.String name)
EncodingMode by name.
name - the name of the encoding mode to look up
public java.lang.String toString()
toString in class java.lang.Enum<EncodingMode>
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||