PageMixer API - 3.1

jp.ne.dti.lares.foozy.pagemixer.mixer
Class NullConsumer

java.lang.Object
  |
  +--jp.ne.dti.lares.foozy.pagemixer.mixer.NullConsumer
All Implemented Interfaces:
Consumer

public class NullConsumer
extends java.lang.Object
implements Consumer

Implementation of consumer to do NOTHING.


Constructor Summary
NullConsumer()
          Create NULL consumer.
 
Method Summary
 void clear()
          Do nothing.
 void consume(ConsumerContext context, Token token)
          Do nothing.
 void flush(ConsumerContext context)
          Do nothing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullConsumer

public NullConsumer()
Create NULL consumer.
Method Detail

consume

public void consume(ConsumerContext context,
                    Token token)
Do nothing.
Specified by:
consume in interface Consumer
Parameters:
context - context processing depends on
token - token to be processed

flush

public void flush(ConsumerContext context)
Do nothing.
Specified by:
flush in interface Consumer
Parameters:
context - context processing depends on

clear

public void clear()
Do nothing.
Specified by:
clear in interface Consumer

PageMixer API - 3.1