nl.flotsam.pecia.builder.base
Class NullLifecycleListener

java.lang.Object
  extended by nl.flotsam.pecia.builder.base.NullLifecycleListener
All Implemented Interfaces:
LifecycleListener

public class NullLifecycleListener
extends Object
implements LifecycleListener

A null implementation of the LifecycleListener interface. Guaranteed not to do anything at all.

Author:
Wilfred Springer

Constructor Summary
NullLifecycleListener()
           
 
Method Summary
 void ended(Object documentElement)
          Invoked when a document element is popped from the stack.
 void started(Object documentElement)
          Invoked when a new document element is commited to the stack.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullLifecycleListener

public NullLifecycleListener()
Method Detail

ended

public void ended(Object documentElement)
Description copied from interface: LifecycleListener
Invoked when a document element is popped from the stack.

Specified by:
ended in interface LifecycleListener
Parameters:
documentElement - The document element popped from the stack.

started

public void started(Object documentElement)
Description copied from interface: LifecycleListener
Invoked when a new document element is commited to the stack.

Specified by:
started in interface LifecycleListener
Parameters:
documentElement - The document element pushed on the stack.


Copyright © 2010. All Rights Reserved.