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 protected
WellKnownZoomContextFinder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ZoomContext
get(String name)
Get a named ZoomContextSet<String>
getCanonicalNames()
Get one name for each available ZoomContext.static WellKnownZoomContextFinder
getInstance()
Set<String>
getNames()
Get all valid names
-
-
-
Method Detail
-
getInstance
public static WellKnownZoomContextFinder getInstance()
-
get
public ZoomContext get(String name)
Description copied from interface:ZoomContextFinder
Get a named ZoomContext- Specified by:
get
in interfaceZoomContextFinder
- Returns:
- The named context, or null if it is not present
-
getNames
public Set<String> getNames()
Description copied from interface:ZoomContextFinder
Get all valid names- Specified by:
getNames
in interfaceZoomContextFinder
-
getCanonicalNames
public Set<String> getCanonicalNames()
Description copied from interface:ZoomContextFinder
Get one name for each available ZoomContext.- Specified by:
getCanonicalNames
in interfaceZoomContextFinder
-
-