Class TLcdSLDInlineContent

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

public class TLcdSLDInlineContent extends TLcdDataObject
"InlineContent" is XML- or base64-encoded encoded content in some externally-defined format that is included in an SLD in-line. An example of xml encoded content is SVG. The main advantage of inline content is that avoids the need for external references, which makes distribution of the style easier and more secure.

It is recommended to use the TLcdSLDGraphic.Builder to properly create a Graphic that uses inline content.

Since:
2012.1
See Also:
  • Constructor Details

    • TLcdSLDInlineContent

      public TLcdSLDInlineContent()
      Default Constructor
    • TLcdSLDInlineContent

      public TLcdSLDInlineContent(TLcdDataType aType)
      Default Constructor
  • Method Details

    • getEncoding

      public TLcdSLDInlineContent.Encoding getEncoding()
      Returns the value of the property that maps to the encoding attribute.

      The type of encoding used for the inline content. This property should not be null, as it is needed for proper decoding/encoding of the data.

      Returns:
      the value of the ENCODING_PROPERTY property.
    • setEncoding

      public void setEncoding(TLcdSLDInlineContent.Encoding aValue)
      Sets the value of the property that maps to the encoding attribute.

      The type of encoding used for the inline content. This property should not be null, as it is needed for proper decoding/encoding of the data.

      Parameters:
      aValue - the value to set for the ENCODING_PROPERTY property.
    • getContent

      public List<Object> getContent()
      Returns the value of the content property.
      Returns:
      the value of the CONTENT_PROPERTY property.