com.facetmap
Interface GeographyFacet

All Superinterfaces:
Facet, TaxonomyFacet

public interface GeographyFacet
extends TaxonomyFacet

Intended for geographical coordinate browsing. If you just wanted to create a hierarchy of cities in states in countries, you could use a TaxonomyFacet. The GeographyFacet is for more geographical-based queries that may involve a bounding box -- a rectangular map. Zooming in and out on the map is supported.

You may also define Headings, for cities and such, because this is a TaxonomyFacet as well. Defining them as GeographyHeadings allows them to be included in coordinate queries.


Nested Class Summary
static class GeographyFacet.BoundingBox
          A rectangle bounded by latitude and longitude coordinates.
 
Nested classes/interfaces inherited from interface com.facetmap.Facet
Facet.Util
 
Method Summary
 GeographyHeading getGeographyHeading(GeographyFacet.BoundingBox boundingBox)
           
 GeographyHeading getGeographyHeading(java.lang.String id)
           
 
Methods inherited from interface com.facetmap.TaxonomyFacet
getTaxonomyHeading
 
Methods inherited from interface com.facetmap.Facet
getHeading, getId, getRootHeading, getTitle
 

Method Detail

getGeographyHeading

GeographyHeading getGeographyHeading(java.lang.String id)
                                     throws UnknownReferenceException
Throws:
UnknownReferenceException

getGeographyHeading

GeographyHeading getGeographyHeading(GeographyFacet.BoundingBox boundingBox)