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

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

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

A tree structure of record handlers


Constructor Summary
Redwood.RecordHandlerTree()
           
Redwood.RecordHandlerTree(LogRecordHandler head)
           
 
Method Summary
 void addChild(LogRecordHandler handler)
           
 java.util.Iterator<Redwood.RecordHandlerTree> children()
           
 Redwood.RecordHandlerTree find(LogRecordHandler toFind)
           
 LogRecordHandler head()
           
 java.util.Iterator<LogRecordHandler> iterator()
           
 LogRecordHandler removeChild(LogRecordHandler handler)
           
 java.lang.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 java.util.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 java.util.Iterator<LogRecordHandler> iterator()
Specified by:
iterator in interface java.lang.Iterable<LogRecordHandler>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Stanford NLP Group