nl.flotsam.pecia.builder.base
Interface LifecycleListener

All Known Implementing Classes:
NullLifecycleListener, OrderPreservingLifecycleListener

public interface LifecycleListener

The interface for receiving callbacks from a DefaultDocumentBuilder subclass.

Author:
Wilfred Springer

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.
 

Method Detail

started

void started(Object documentElement)
Invoked when a new document element is commited to the stack.

Parameters:
documentElement - The document element pushed on the stack.

ended

void ended(Object documentElement)
Invoked when a document element is popped from the stack.

Parameters:
documentElement - The document element popped from the stack.


Copyright © 2010. All Rights Reserved.