Package org.apache.fop.afp.fonts
Enum CharacterSetType
- All Implemented Interfaces:
Serializable
,Comparable<CharacterSetType>
An enumeration of AFP characterset types.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDouble byte character sets; these do NOT have the shift-in;shift-out operatorsDouble byte character sets; these can have the shift-in;shift-out operators -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract CharactersetEncoder
getEncoder
(String encoding) Returns the character-set encoderstatic CharacterSetType
Returns the enum constant of this type with the specified name.static CharacterSetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DOUBLE_BYTE
Double byte character sets; these do NOT have the shift-in;shift-out operators -
DOUBLE_BYTE_LINE_DATA
Double byte character sets; these can have the shift-in;shift-out operators -
SINGLE_BYTE
-
-
Constructor Details
-
CharacterSetType
private CharacterSetType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getEncoder
Returns the character-set encoder- Parameters:
encoding
-- Returns:
-