Package org.geotools.styling.zoom
Class WellKnownZoomContextFinder
- Object
-
- WellKnownZoomContextFinder
-
- All Implemented Interfaces:
ZoomContextFinder
- Direct Known Subclasses:
WellKnownZoomContextFinder
public class WellKnownZoomContextFinder extends Object implements ZoomContextFinder
A collection of commonly used ZoomContexts- Author:
- Kevin Smith, Boundless
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWellKnownZoomContextFinder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ZoomContextget(String name)Get a named ZoomContextSet<String>getCanonicalNames()Get one name for each available ZoomContext.static WellKnownZoomContextFindergetInstance()Set<String>getNames()Get all valid names
-
-
-
Method Detail
-
getInstance
public static WellKnownZoomContextFinder getInstance()
-
get
public ZoomContext get(String name)
Description copied from interface:ZoomContextFinderGet a named ZoomContext- Specified by:
getin interfaceZoomContextFinder- Returns:
- The named context, or null if it is not present
-
getNames
public Set<String> getNames()
Description copied from interface:ZoomContextFinderGet all valid names- Specified by:
getNamesin interfaceZoomContextFinder
-
getCanonicalNames
public Set<String> getCanonicalNames()
Description copied from interface:ZoomContextFinderGet one name for each available ZoomContext.- Specified by:
getCanonicalNamesin interfaceZoomContextFinder
-
-