Class TLcdSLDExternalGraphic

java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.sld.model.TLcdSLDExternalGraphic
All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdSLDExternalGraphic extends TLcdDataObject
An ExternalGraphic gives a reference to an external raster or vector graphical object.

An alternative is TLcdSLDMark which allows the use of vector graphics with customizable stroke and fill colors.

  • Constructor Details

    • TLcdSLDExternalGraphic

      public TLcdSLDExternalGraphic()
      Empty constructor.
    • TLcdSLDExternalGraphic

      public TLcdSLDExternalGraphic(TLcdSLDOnlineResource aOnlineResource, String aFormat)
      Constructor for given online resource and format.

      The online resource's location can optionally include variables of the type ${propertyName} , with propertyName referring to a property of the feature(s) to be styled. These variables are resolved at runtime, enabling dynamic icon locations based on feature properties.

      Parameters:
      aOnlineResource - the online location of the graphic.
      aFormat - the image format f.i. "image/jpeg".
    • TLcdSLDExternalGraphic

      public TLcdSLDExternalGraphic(TLcdDataType aDataType)
      Empty constructor.
  • Method Details

    • getOnlineResource

      public TLcdSLDOnlineResource getOnlineResource()
      Returns the online location of the graphic.
      Returns:
      the online location of the graphic.
    • setOnlineResource

      public void setOnlineResource(TLcdSLDOnlineResource aOnlineResource)
      Sets the online location of the graphic
      Parameters:
      aOnlineResource - the online location of the graphic
    • getInlineContent

      public TLcdSLDInlineContent getInlineContent()
      Returns the inline content of the graphic.
      Returns:
      the inline content of the graphic.
    • setInlineContent

      public void setInlineContent(TLcdSLDInlineContent aInlineContent)
      Sets the inline content of the graphic
      Parameters:
      aInlineContent - the inline content of the graphic
    • getFormat

      public String getFormat()
      Returns the value of the property that maps to the Format element.
      Returns:
      the value of the FORMAT_PROPERTY property.
    • setFormat

      public void setFormat(String aValue)
      Sets the value of the property that maps to the Format element.
      Parameters:
      aValue - the value to set for the FORMAT_PROPERTY property.