org.pentaho.reporting.engine.classic.core.filter
Class AnchorFilter

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.filter.AnchorFilter
All Implemented Interfaces:
Serializable, Cloneable, DataFilter, DataSource, DataTarget

Deprecated. The anchor filter is deprecated now. Use the stylekey "anchor" instead.

public class AnchorFilter
extends Object
implements DataFilter

The AnchorFilter converts arbitary objects into Anchors.

Author:
Thomas Morgner
See Also:
Anchor, Serialized Form

Constructor Summary
AnchorFilter()
          Deprecated. DefaultConstructor.
 
Method Summary
 Object clone()
          Deprecated. Clones this DataSource.
 DataSource getDataSource()
          Deprecated. Returns the assigned DataSource for this Target.
 Object getValue(ExpressionRuntime runtime, Element element)
          Deprecated. Returns the current value for the data source.
 void setDataSource(DataSource ds)
          Deprecated. Assigns a DataSource for this Target.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnchorFilter

public AnchorFilter()
Deprecated. 
DefaultConstructor.

Method Detail

clone

public Object clone()
             throws CloneNotSupportedException
Deprecated. 
Clones this DataSource.

Specified by:
clone in interface DataSource
Specified by:
clone in interface DataTarget
Overrides:
clone in class Object
Returns:
the clone.
Throws:
CloneNotSupportedException - this should never happen.

getValue

public Object getValue(ExpressionRuntime runtime,
                       Element element)
Deprecated. 
Returns the current value for the data source.

Specified by:
getValue in interface DataSource
Parameters:
runtime - the expression runtime that is used to evaluate formulas and expressions when computing the value of this filter.
element -
Returns:
the value.

getDataSource

public DataSource getDataSource()
Deprecated. 
Returns the assigned DataSource for this Target.

Specified by:
getDataSource in interface DataTarget
Returns:
The datasource.

setDataSource

public void setDataSource(DataSource ds)
Deprecated. 
Assigns a DataSource for this Target.

Specified by:
setDataSource in interface DataTarget
Parameters:
ds - The data source.