Package com.luciad.ogc.sld.model
Class TLcdSLDInlineContent
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.sld.model.TLcdSLDInlineContent
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
"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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
An enumeration containing possible encoding types. -
Constructor Summary
ConstructorDescriptionDefault ConstructorTLcdSLDInlineContent
(TLcdDataType aType) Default Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the content property.Returns the value of the property that maps to theencoding
attribute.void
Sets the value of the property that maps to theencoding
attribute.
-
Constructor Details
-
TLcdSLDInlineContent
public TLcdSLDInlineContent()Default Constructor -
TLcdSLDInlineContent
Default Constructor
-
-
Method Details
-
getEncoding
Returns the value of the property that maps to theencoding
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
Sets the value of the property that maps to theencoding
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 theENCODING_PROPERTY
property.
-
getContent
Returns the value of the content property.- Returns:
- the value of the
CONTENT_PROPERTY
property.
-