info.aduna.gee.spectacle
Interface FacetClassifier

All Superinterfaces:
Classifier
All Known Subinterfaces:
MasterFacetClassifier
All Known Implementing Classes:
AbstractFacetByClassificationClassifier, AbstractFacetClassifier, AbstractMasterFacetClassifier, DefaultClassifier, FacetLevelClassifier, LanguageClassifier, LocationClassifier, MimeTypeClassifier, PeopleClassifier, SizeClassifier, SourceClassifier, TimeClassifier

public interface FacetClassifier
extends Classifier

A by-entity classifier that has to be implemented per facet. Classes doing this, will now also have to implement 'getFacetName' in order to let spectacle know which facet this classifier is used for.


Field Summary
 
Fields inherited from interface info.aduna.gee.spectacle.gee.Classifier
BY_CLASSIFICATION, BY_ENTITY
 
Method Summary
 String getFacetName()
          Should return the facet name for which this classifier handles the classification; this is usually the actual name shown on screen.
 String getInternalFacetName()
           
 void init(Map<Object,Entity> entities)
          Invoked by spectacle just before this classifier has to do its work using the 'getClassifications' method(s).
 
Methods inherited from interface info.aduna.gee.spectacle.gee.Classifier
getAccessMethod, getClassifications, getClassifications, getDepth, getEntityIDs
 

Method Detail

getFacetName

String getFacetName()
Should return the facet name for which this classifier handles the classification; this is usually the actual name shown on screen.


getInternalFacetName

String getInternalFacetName()
Returns:
the internal facet name for which this classifier handles the classification; this is might differ from the actual name shown on screen.

init

void init(Map<Object,Entity> entities)
Invoked by spectacle just before this classifier has to do its work using the 'getClassifications' method(s).



Copyright © 1997-2008 Aduna. All Rights Reserved.