org.jostraca.unit
Class DebugUnitProcessor

java.lang.Object
  extended byorg.jostraca.unit.DebugUnitProcessor
All Implemented Interfaces:
UnitProcessor

public class DebugUnitProcessor
extends java.lang.Object
implements UnitProcessor

Returns a SectionSet with debugging info about Units in a UnitList.

See Also:
UnitList

Field Summary
static java.lang.String CN
           
 
Constructor Summary
DebugUnitProcessor()
           
 
Method Summary
static java.lang.String formatUnitDebugInfo(Unit pUnit)
           
 SectionSet process(UnitList pUnitList)
          Process a UnitList into a SectionSet.
 SectionSet process(UnitList pUnitList, SectionSet pSectionSet)
          A predefined SectionSet can be used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CN

public static final java.lang.String CN
Constructor Detail

DebugUnitProcessor

public DebugUnitProcessor()
Method Detail

process

public SectionSet process(UnitList pUnitList)
                   throws UnitException
Description copied from interface: UnitProcessor
Process a UnitList into a SectionSet. Contract: Units in UnitList are never null, UnitList always at initial position.

Specified by:
process in interface UnitProcessor
Parameters:
pUnitList - if null, throws IllegalArgumentException
Throws:
UnitException
See Also:
UnitProcessor

process

public SectionSet process(UnitList pUnitList,
                          SectionSet pSectionSet)
                   throws UnitException
Description copied from interface: UnitProcessor
A predefined SectionSet can be used.

Specified by:
process in interface UnitProcessor
Parameters:
pSectionSet - if null, uses an empty SectionSet
Throws:
UnitException
See Also:
UnitProcessor

formatUnitDebugInfo

public static final java.lang.String formatUnitDebugInfo(Unit pUnit)


Copyright © 2000-2002 Richard Rodger