org.geotools.styling
Interface TextSymbolizer2

All Superinterfaces:
Symbolizer, TextSymbolizer
All Known Implementing Classes:
TextSymbolizerImpl

public interface TextSymbolizer2
extends TextSymbolizer

Contains label shield hack

Module:

Method Summary
 Expression getFeatureDescription()
          Description is used by text oriented renders such as KML and RSS to specify a feature's description
 Graphic getGraphic()
          The nonstandard-SLD graphic element supports putting little graphical-bits onto labels.
 OtherText getOtherText()
          Other text can be used to allow open ended extensions on text oriented output formats
 Expression getSnippet()
          Abstract is used by text oriented renderers such as KML and RSS to specify an abstract (RSS) or a snippet (KML)
 void setFeatureDescription(Expression description)
           
 void setGraphic(Graphic graphic)
          The nonstandard-SLD graphic element supports putting little graphical-bits onto labels.
 void setOtherText(OtherText otherText)
           
 void setSnippet(Expression expression)
           
 
Methods inherited from interface TextSymbolizer
addToOptions, getFill, getFont, getFonts, getGeometryPropertyName, getHalo, getLabel, getLabelPlacement, getOption, getOptions, getPlacement, getPriority, setFill, setFonts, setGeometryPropertyName, setHalo, setLabel, setLabelPlacement, setPlacement, setPriority
 
Methods inherited from interface Symbolizer
accept
 

Method Detail

getGraphic

Graphic getGraphic()
The nonstandard-SLD graphic element supports putting little graphical-bits onto labels. Useful for things like interstate road shields or labeled logos

Returns:
- the Graphic object to be rendered under the label text

setGraphic

void setGraphic(Graphic graphic)
The nonstandard-SLD graphic element supports putting little graphical-bits onto labels. Useful for things like interstate road shields or labeled logos

Parameters:
graphic - - the Graphic object which will be rendered under the label text

getSnippet

Expression getSnippet()
Abstract is used by text oriented renderers such as KML and RSS to specify an abstract (RSS) or a snippet (KML)

Returns:

setSnippet

void setSnippet(Expression expression)

getFeatureDescription

Expression getFeatureDescription()
Description is used by text oriented renders such as KML and RSS to specify a feature's description

Returns:

setFeatureDescription

void setFeatureDescription(Expression description)

getOtherText

OtherText getOtherText()
Other text can be used to allow open ended extensions on text oriented output formats

Returns:

setOtherText

void setOtherText(OtherText otherText)


Copyright © 1996-2009 Geotools. All Rights Reserved.