|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XAttributeInfo
This interface defines an attribute information registry. Instances of this interface can be used to store aggregate information about the classes of attributes contained in a specific attributable type.
Method Summary | |
---|---|
Collection<String> |
getAttributeKeys()
Provides access to prototypes of all registered attributes' keys. |
Collection<XAttribute> |
getAttributes()
Provides access to prototypes of all registered attributes. |
Collection<XAttribute> |
getAttributesForExtension(XExtension extension)
For a given extension, returns prototypes of all registered attributes defined by that extension. |
Collection<XAttribute> |
getAttributesForType(Class<? extends XAttribute> type)
For a given type, returns prototypes of all registered attributes with that type. |
Collection<XAttribute> |
getAttributesWithoutExtension()
Returns prototypes of all registered attributes defined by no extension. |
int |
getFrequency(String key)
Returns the total frequency, i.e. |
int |
getFrequency(XAttribute attribute)
Returns the total frequency, i.e. |
Collection<String> |
getKeysForExtension(XExtension extension)
For a given extension, returns the keys of all registered attributes defined by that extension. |
Collection<String> |
getKeysForType(Class<? extends XAttribute> type)
For a given type, returns the keys of all registered attributes with that type. |
Collection<String> |
getKeysWithoutExtension()
Returns keys of all registered attributes defined by no extension. |
double |
getRelativeFrequency(String key)
Returns the relative frequency, i.e. |
double |
getRelativeFrequency(XAttribute attribute)
Returns the relative frequency, i.e. |
Method Detail |
---|
Collection<XAttribute> getAttributes()
Collection<String> getAttributeKeys()
int getFrequency(String key)
key
- Key of an attribute.
int getFrequency(XAttribute attribute)
attribute
- An attribute.
double getRelativeFrequency(String key)
key
- Key of an attribute.
double getRelativeFrequency(XAttribute attribute)
attribute
- An attribute.
Collection<XAttribute> getAttributesForType(Class<? extends XAttribute> type)
type
- Requested attribute type (type-specific attribute interface class).
Collection<String> getKeysForType(Class<? extends XAttribute> type)
type
- Requested attribute type (type-specific attribute interface class).
Collection<XAttribute> getAttributesForExtension(XExtension extension)
extension
- Requested attribute extension.
Collection<String> getKeysForExtension(XExtension extension)
extension
- Requested attribute extension.
Collection<XAttribute> getAttributesWithoutExtension()
Collection<String> getKeysWithoutExtension()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |