edu.stanford.nlp.util.logging
Class Redwood.RecordHandlerTree

java.lang.Object
  extended by edu.stanford.nlp.util.logging.Redwood.RecordHandlerTree
All Implemented Interfaces:
Iterable<LogRecordHandler>
Enclosing class:
Redwood

protected static class Redwood.RecordHandlerTree
extends Object
implements Iterable<LogRecordHandler>

A tree structure of record handlers


Constructor Summary
Redwood.RecordHandlerTree()
           
Redwood.RecordHandlerTree(LogRecordHandler head)
           
 
Method Summary
 void addChild(LogRecordHandler handler)
           
 Iterator<Redwood.RecordHandlerTree> children()
           
 Redwood.RecordHandlerTree find(LogRecordHandler toFind)
           
 LogRecordHandler head()
           
 Iterator<LogRecordHandler> iterator()
           
 LogRecordHandler removeChild(LogRecordHandler handler)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Redwood.RecordHandlerTree

public Redwood.RecordHandlerTree()

Redwood.RecordHandlerTree

public Redwood.RecordHandlerTree(LogRecordHandler head)
Method Detail

head

public LogRecordHandler head()

children

public Iterator<Redwood.RecordHandlerTree> children()

addChild

public void addChild(LogRecordHandler handler)

removeChild

public LogRecordHandler removeChild(LogRecordHandler handler)

find

public Redwood.RecordHandlerTree find(LogRecordHandler toFind)

iterator

public Iterator<LogRecordHandler> iterator()
Specified by:
iterator in interface Iterable<LogRecordHandler>

toString

public String toString()
Overrides:
toString in class Object


Stanford NLP Group