lp.ui
Class DlpWebappHelper.DlpModelProcessor

java.lang.Object
  extended by lp.ui.DlpWebappHelper.DlpModelProcessor
All Implemented Interfaces:
Consumer<StableModel>
Enclosing class:
DlpWebappHelper

private class DlpWebappHelper.DlpModelProcessor
extends Object
implements Consumer<StableModel>


Field Summary
private  int n
           
 
Constructor Summary
DlpWebappHelper.DlpModelProcessor()
           
 
Method Summary
 void afterConsuming()
          If the consumer is used to process a sequence of instances, this method should be called after the sequence ends.
 void beforeConsuming()
          If the consumer is used to process a sequence of instances, this method should be called before the sequence begins.
 void consume(StableModel model)
          Consume item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

n

private int n
Constructor Detail

DlpWebappHelper.DlpModelProcessor

public DlpWebappHelper.DlpModelProcessor()
Method Detail

beforeConsuming

public void beforeConsuming()
Description copied from interface: Consumer
If the consumer is used to process a sequence of instances, this method should be called before the sequence begins.

Specified by:
beforeConsuming in interface Consumer<StableModel>

afterConsuming

public void afterConsuming()
Description copied from interface: Consumer
If the consumer is used to process a sequence of instances, this method should be called after the sequence ends.

Specified by:
afterConsuming in interface Consumer<StableModel>

consume

public void consume(StableModel model)
Description copied from interface: Consumer
Consume item.

Specified by:
consume in interface Consumer<StableModel>
Parameters:
model - the item to consume