Class TLcdSLDContext

java.lang.Object
com.luciad.ogc.sld.view.gxy.TLcdSLDContext

public class TLcdSLDContext extends Object
A container class expressing the context in which a style should be interpreted. It contains :
  • Constructor Details

  • Method Details

    • getFilterEvaluator

      public ILcdOGCFilterEvaluator getFilterEvaluator()
      Returns the filter evaluator set to this context.
      Returns:
      the filter evaluator set to this context.
    • getGeoReference

      public ILcdGeoReference getGeoReference()
      Returns the geo reference set to this context.
      Returns:
      the geo reference set to this context.
    • getFeatureIdRetriever

      public ILcdOGCFeatureIDRetriever getFeatureIdRetriever()
      Returns the feature id retriever set to this context.
      Returns:
      the feature id retriever set to this context.
    • getPropertyRetrieverProvider

      public ILcdPropertyRetrieverProvider getPropertyRetrieverProvider()

      Returns the property retriever provider set to this context.

      This provider is not necessarily the same as the one passed in the constructor. For example to improve the performance of SLD styling and filtering, the returned provider can be a decorated instance of the one passed in the constructor to add caching.

      Returns:
      the property retriever provider set to this context.
    • getFilterContext

      public TLcdOGCFilterContext getFilterContext()
      Returns a filter context based on the geo reference, feature id retriever and property retriever provider set to this SLD context.
      Returns:
      a filter context based on the geo reference, feature id retriever and property retriever provider set to this SLD context. The same instance is returned every time.
    • getOnlineResourceResolver

      public ILcdSLDOnlineResourceResolver getOnlineResourceResolver()
      Returns a resolver for TLcdSLDOnlineResource instances. An TLcdSLDOnlineResource is used to represent the link to an external graphic. By default, the location is stored in the resource's href property. By plugging in a resolver, you can customize this location; for example, to replace a relative path with an absolute path.
      Returns:
      a resolver for TLcdSLDOnlineResource instances.
      Since:
      2023.0