public class TLcdSLDExternalGraphic extends TLcdDataObject
TLcdSLDMark
which allows the use of vector graphics
with customizable stroke and fill colors.Constructor and Description |
---|
TLcdSLDExternalGraphic()
Empty constructor.
|
TLcdSLDExternalGraphic(TLcdDataType aDataType)
Empty constructor.
|
TLcdSLDExternalGraphic(TLcdSLDOnlineResource aOnlineResource,
String aFormat)
Constructor for given online resource and format.
|
Modifier and Type | Method and Description |
---|---|
String |
getFormat()
Returns the value of the property that maps to the
Format element. |
TLcdSLDInlineContent |
getInlineContent()
Returns the inline content of the graphic.
|
TLcdSLDOnlineResource |
getOnlineResource()
Returns the online location of the graphic.
|
void |
setFormat(String aValue)
Sets the value of the property that maps to the
Format element. |
void |
setInlineContent(TLcdSLDInlineContent aInlineContent)
Sets the inline content of the graphic
|
void |
setOnlineResource(TLcdSLDOnlineResource aOnlineResource)
Sets the online location of the graphic
|
public TLcdSLDExternalGraphic()
public TLcdSLDExternalGraphic(TLcdSLDOnlineResource aOnlineResource, String aFormat)
${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.aOnlineResource
- the online location of the graphic.aFormat
- the image format f.i. "image/jpeg".public TLcdSLDExternalGraphic(TLcdDataType aDataType)
public TLcdSLDOnlineResource getOnlineResource()
public void setOnlineResource(TLcdSLDOnlineResource aOnlineResource)
aOnlineResource
- the online location of the graphicpublic TLcdSLDInlineContent getInlineContent()
public void setInlineContent(TLcdSLDInlineContent aInlineContent)
aInlineContent
- the inline content of the graphicpublic String getFormat()
Format
element.FORMAT_PROPERTY
property.public void setFormat(String aValue)
Format
element.aValue
- the value to set for the FORMAT_PROPERTY
property.