Plexus v0.13.1

com.phoenixst.plexus.util
Class ChildTraverserFactory

java.lang.Object
  extended by com.phoenixst.plexus.util.ChildTraverserFactory
All Implemented Interfaces:
Serializable, org.apache.commons.collections.Transformer

public class ChildTraverserFactory
extends Object
implements org.apache.commons.collections.Transformer, Serializable

A Transformer which when given a node, returns a Traverser over the children of that node, specified by an OrientedForest.

Since:
1.0
Version:
$Revision: 1.10 $
Author:
Ray A. Conner
See Also:
Serialized Form

Constructor Summary
ChildTraverserFactory(OrientedForest forest)
          Creates a new ChildTraverserFactory.
 
Method Summary
 OrientedForest getOrientedForest()
          Gets the OrientedForest for this ChildTraverserFactory.
 Object transform(Object node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildTraverserFactory

public ChildTraverserFactory(OrientedForest forest)
Creates a new ChildTraverserFactory.

Method Detail

transform

public Object transform(Object node)
Specified by:
transform in interface org.apache.commons.collections.Transformer

getOrientedForest

public OrientedForest getOrientedForest()
Gets the OrientedForest for this ChildTraverserFactory.


Plexus v0.13.1

See the Plexus project home, hosted by SourceForge.
Copyright ? 1994-2006, by Phoenix Software Technologists, Inc. and others. All Rights Reserved. Use is subject to license terms.