Package jgloss.dictionary.attribute

Dictionary attribute classes.

See: Description

Package jgloss.dictionary.attribute Description

Dictionary attribute classes.

Besides the word, reading and translation fields, dictionary entries have attributes which contain additional information. For each attribute type there is a unique instance of the Attribute interface which marks the attribute. The Attributes class is the default implementation of the interface and contains a collection of standard attributes as static members. Dictionary implementations may define their own attributes in addition to the standard ones.

An attribute may have one or more values, which are instances of AttributeValue. Several standard value classes are defined which are used by the standard attributes. Attribute values for one attribute are stored in a ValueList. Attributes for one category of a dictionary entry and their values are collected in a AttributeSet.

To create a string representation of attributes and their values, instances of AttributeFormatter are used.

Copyright © 2001-2013 the JGloss developers. All Rights Reserved.