public interface StyleParserPlugin
Style objects from a string.
The string might be json, css, url, whatever.| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<org.geotools.styling.Style> |
parseStyle(Configuration configuration,
org.springframework.http.client.ClientHttpRequestFactory clientHttpRequestFactory,
java.lang.String styleString,
MapfishMapContext mapContext)
Using the string load a style.
|
com.google.common.base.Optional<org.geotools.styling.Style> parseStyle(@Nullable
Configuration configuration,
@Nonnull
org.springframework.http.client.ClientHttpRequestFactory clientHttpRequestFactory,
@Nullable
java.lang.String styleString,
@Nonnull
MapfishMapContext mapContext)
throws java.lang.Throwable
configuration - the configuration being used for the current print.clientHttpRequestFactory - an factory for making http requests.styleString - the string that provides the information for loading the style.mapContext - information about the map projection, bounds, size, etc...java.lang.Throwable