com.browseengine.bobo.facets
Class CombinedFacetAccessible
java.lang.Object
com.browseengine.bobo.facets.CombinedFacetAccessible
- All Implemented Interfaces:
- FacetAccessible
public class CombinedFacetAccessible
- extends Object
- implements FacetAccessible
- Author:
- nnarkhed
CombinedFacetAccessible
public CombinedFacetAccessible(FacetSpec fspec,
List<FacetAccessible> list)
toString
public String toString()
- Overrides:
toString in class Object
getFacet
public BrowseFacet getFacet(String value)
- Description copied from interface:
FacetAccessible
- Gets the facet given a value. This is a way for random accessing into the facet data structure.
- Specified by:
getFacet in interface FacetAccessible
- Parameters:
value - Facet value
- Returns:
- a facet with count filled in
getFacets
public List<BrowseFacet> getFacets()
- Description copied from interface:
FacetAccessible
- Gets gathered top facets
- Specified by:
getFacets in interface FacetAccessible
- Returns:
- list of facets
close
public void close()
- Specified by:
close in interface FacetAccessible
iterator
public FacetIterator iterator()
- Description copied from interface:
FacetAccessible
- Returns an iterator to visit all the facets
- Specified by:
iterator in interface FacetAccessible
- Returns:
- Returns a FacetIterator to iterate over all the facets
Copyright © 2011. All Rights Reserved.