Class StyleParser

java.lang.Object
org.mapfish.print.map.style.StyleParser

public final class StyleParser extends Object
Parse a style using all the available StyleParserPlugin registered with the spring application context.
  • Constructor Details

    • StyleParser

      public StyleParser()
  • Method Details

    • loadStyle

      public Optional<? extends org.geotools.api.style.Style> loadStyle(Configuration configuration, @Nonnull org.springframework.http.client.ClientHttpRequestFactory clientHttpRequestFactory, String styleString)
      Load style using one of the plugins or return Optional.empty().
      Parameters:
      configuration - the configuration for the current request.
      clientHttpRequestFactory - a factory for making http requests
      styleString - the style to load.