info.aduna.linkmap.transform
Class CompoundTransform

java.lang.Object
  extended by info.aduna.linkmap.transform.CompoundTransform
All Implemented Interfaces:
Transform

public class CompoundTransform
extends Object
implements Transform

CompoundFilter is a utility Transform that combines a sequence of other Transforms into a single Transform.


Constructor Summary
CompoundTransform()
           
 
Method Summary
 void add(Transform transform)
          Adds a Transform to the end of the Transform list.
 boolean remove(Transform transform)
          Removes a Transform from the list of Transforms.
 Graph transform(Graph graph)
          Chains all Transforms in this CompoundTransform, applying each Transform on the result of the previous Transform, the first starting with the specified Graph.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundTransform

public CompoundTransform()
Method Detail

add

public void add(Transform transform)
Adds a Transform to the end of the Transform list.


remove

public boolean remove(Transform transform)
Removes a Transform from the list of Transforms. Returns 'true' when the specified Transform was present.


transform

public Graph transform(Graph graph)
Chains all Transforms in this CompoundTransform, applying each Transform on the result of the previous Transform, the first starting with the specified Graph.

Specified by:
transform in interface Transform


Copyright © 1997-2008 Aduna. All Rights Reserved.