public static enum DictionaryEntryFormatter.Position extends Enum<DictionaryEntryFormatter.Position>
addAttributeFormat
to select where a particular attribute is inserted.
For most of the positions, the
position corresponds to the attribute set which is used to find an attribute. For
example, BEFORE_ROM
is always used with attributes from a
getTranslationAttributes
ROM attribute set. The exceptions are BEFORE_FIELD2
and
BEFORE_FIELD2
, which are used with the general attribute set.Enum Constant and Description |
---|
AFTER_CRM |
AFTER_ENTRY |
AFTER_READING |
AFTER_READINGS |
AFTER_ROM |
AFTER_TRANSLATION |
AFTER_TRANSLATIONS |
AFTER_WORD |
AFTER_WORDS |
BEFORE_CRM |
BEFORE_ENTRY |
BEFORE_FIELD2
Special position for general attributes.
|
BEFORE_FIELD3
Special position for general attributes.
|
BEFORE_READING |
BEFORE_READINGS |
BEFORE_ROM |
BEFORE_TRANSLATION |
BEFORE_TRANSLATIONS |
BEFORE_WORD |
BEFORE_WORDS |
Modifier and Type | Method and Description |
---|---|
static DictionaryEntryFormatter.Position |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DictionaryEntryFormatter.Position[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DictionaryEntryFormatter.Position BEFORE_WORDS
public static final DictionaryEntryFormatter.Position AFTER_WORDS
public static final DictionaryEntryFormatter.Position BEFORE_WORD
public static final DictionaryEntryFormatter.Position AFTER_WORD
public static final DictionaryEntryFormatter.Position BEFORE_READINGS
public static final DictionaryEntryFormatter.Position AFTER_READINGS
public static final DictionaryEntryFormatter.Position BEFORE_READING
public static final DictionaryEntryFormatter.Position AFTER_READING
public static final DictionaryEntryFormatter.Position BEFORE_TRANSLATIONS
public static final DictionaryEntryFormatter.Position AFTER_TRANSLATIONS
public static final DictionaryEntryFormatter.Position BEFORE_ROM
public static final DictionaryEntryFormatter.Position AFTER_ROM
public static final DictionaryEntryFormatter.Position BEFORE_CRM
public static final DictionaryEntryFormatter.Position AFTER_CRM
public static final DictionaryEntryFormatter.Position BEFORE_TRANSLATION
public static final DictionaryEntryFormatter.Position AFTER_TRANSLATION
public static final DictionaryEntryFormatter.Position BEFORE_ENTRY
public static final DictionaryEntryFormatter.Position AFTER_ENTRY
public static final DictionaryEntryFormatter.Position BEFORE_FIELD2
BEFORE_ENTRY
and AFTER_ENTRY
to place it at the beginning or end of the string.public static final DictionaryEntryFormatter.Position BEFORE_FIELD3
BEFORE_ENTRY
and AFTER_ENTRY
to place it at the beginning or end of the string.public static DictionaryEntryFormatter.Position[] values()
for (DictionaryEntryFormatter.Position c : DictionaryEntryFormatter.Position.values()) System.out.println(c);
public static DictionaryEntryFormatter.Position valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2001-2013 the JGloss developers. All Rights Reserved.