Package org.geotools.ysld.parse
Class WellKnownZoomContextFinder
- Object
-
- WellKnownZoomContextFinder
-
- All Implemented Interfaces:
ZoomContextFinder
public class WellKnownZoomContextFinder extends Object implements ZoomContextFinder
A collection of commonly used ZoomContexts- Author:
- Kevin Smith, Boundless
-
-
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
@Nullable 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
-
-