org.oddjob.arooa.parsing
Class ChildCatcher

java.lang.Object
  extended by org.oddjob.arooa.parsing.ChildCatcher

public class ChildCatcher
extends Object

Capture the child context of a current context;

Author:
rob

Constructor Summary
ChildCatcher(ArooaContext parentContext, int index)
           
 
Method Summary
 ArooaContext getChild()
          The child context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildCatcher

public ChildCatcher(ArooaContext parentContext,
                    int index)
Method Detail

getChild

public ArooaContext getChild()
The child context.

Returns:
The context. Null if no child exists.