org.geotools.styling
Class OtherTextImpl

java.lang.Object
  extended by org.geotools.styling.OtherTextImpl
All Implemented Interfaces:
OtherText

public class OtherTextImpl
extends java.lang.Object
implements OtherText


Constructor Summary
OtherTextImpl()
           
 
Method Summary
 java.lang.String getTarget()
          The target location for the text.
 org.opengis.filter.expression.Expression getText()
          The text expression to be used in the specified location.
 void setTarget(java.lang.String location)
           
 void setText(org.opengis.filter.expression.Expression text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OtherTextImpl

public OtherTextImpl()
Method Detail

getTarget

public java.lang.String getTarget()
Description copied from interface: OtherText
The target location for the text. It can be anything, but it's up to the renderer to decide whether it can be used or not (some paths can be used, others are not understood)

Specified by:
getTarget in interface OtherText
Returns:

setTarget

public void setTarget(java.lang.String location)
Specified by:
setTarget in interface OtherText

getText

public org.opengis.filter.expression.Expression getText()
Description copied from interface: OtherText
The text expression to be used in the specified location. Normally it should be a string, but a renderer may accept something different (a number, a date)

Specified by:
getText in interface OtherText
Returns:

setText

public void setText(org.opengis.filter.expression.Expression text)
Specified by:
setText in interface OtherText


Copyright © 1996-2010 Geotools. All Rights Reserved.