net.sourceforge.groboutils.pmti.v1.itf.parser
Class DefaultParserCollator

java.lang.Object
  extended bynet.sourceforge.groboutils.pmti.v1.itf.parser.DefaultParserCollator
All Implemented Interfaces:
IParserCollator

public class DefaultParserCollator
extends java.lang.Object
implements IParserCollator

Logic to extract parser parsed test-issue records into logically separated sets of records.

Since:
July 7, 2002
Version:
$Date: 2003/02/10 22:52:01 $
Author:
Matt Albrecht groboclown@users.sourceforge.net

Constructor Summary
DefaultParserCollator()
           
 
Method Summary
 void addParser(IParser p)
          Adds a new parser to the internal collection.
 ITestIssueRecordSet getRecords()
          Returns the parsed test-issue records, divided into logically separated collections.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultParserCollator

public DefaultParserCollator()
Method Detail

addParser

public void addParser(IParser p)
Adds a new parser to the internal collection. It is up to the individual collator to lazily parse the records or parse the records at the time of this invocation.

It is illegal to invoke this method after a call to getRecords().

Specified by:
addParser in interface IParserCollator
Parameters:
p - parser to add, which may be null (which should never cause an error).
Throws:
java.lang.IllegalStateException - thrown if this is called after the getRecords() method has been invoked.

getRecords

public ITestIssueRecordSet getRecords()
Returns the parsed test-issue records, divided into logically separated collections.

Specified by:
getRecords in interface IParserCollator


Copyright © 2001-2003 by The GroboUtils Project