public class MultiWordEntry extends BaseEntry
BaseEntry.BaseEntryRef, BaseEntry.MarkerDictionary
DictionaryEntry.AttributeGroup
dictionary, emptySet, entryMarker, generalA, readingA, reference, translationA, translationRomA, translations, wordA
Constructor and Description |
---|
MultiWordEntry(int _entryMarker,
String[] _words,
String[] _readings,
List<List<String>> _translations,
AttributeSet _generalA,
AttributeSet _wordA,
AttributeSet[] _wordsA,
AttributeSet _readingA,
AttributeSet[] _readingsA,
AttributeSet _translationA,
List<AttributeSet> _translationRomA,
Dictionary _dictionary) |
Modifier and Type | Method and Description |
---|---|
String |
getReading(int alternative)
Returns the reading of the word.
|
int |
getReadingAlternativeCount()
Returns the number of alternative readings.
|
AttributeSet |
getReadingAttributes(int alternative)
Returns the set of attributes which apply to a particular reading.
|
String |
getWord(int alternative)
Return one spelling variant of the entry word.
|
int |
getWordAlternativeCount()
Returns the number of alternative word spellings.
|
AttributeSet |
getWordAttributes(int alternative)
Returns the set of attributes which apply to a particular word spelling.
|
String |
toString() |
equals, getDictionary, getGeneralAttributes, getReadingAttributes, getReference, getTranslation, getTranslationAttributes, getTranslationAttributes, getTranslationAttributes, getTranslationAttributes, getTranslationCrmCount, getTranslationRomCount, getTranslationSynonymCount, getWordAttributes, hashCode
public MultiWordEntry(int _entryMarker, String[] _words, String[] _readings, List<List<String>> _translations, AttributeSet _generalA, AttributeSet _wordA, AttributeSet[] _wordsA, AttributeSet _readingA, AttributeSet[] _readingsA, AttributeSet _translationA, List<AttributeSet> _translationRomA, Dictionary _dictionary)
public String getWord(int alternative)
DictionaryEntry
alternative
- Index (0-based) of the spelling variant requested.public int getWordAlternativeCount()
DictionaryEntry
public AttributeSet getWordAttributes(int alternative)
DictionaryEntry
alternative
- Index (0-based) of the spelling variant requested.public int getReadingAlternativeCount()
DictionaryEntry
public String getReading(int alternative)
DictionaryEntry
alternative
- Index (0-based) of the spelling variant requested.public AttributeSet getReadingAttributes(int alternative)
DictionaryEntry
getReadingAttributes
in interface DictionaryEntry
getReadingAttributes
in class BaseEntry
alternative
- Index (0-based) of the reading requested.Copyright © 2001-2013 the JGloss developers. All Rights Reserved.