nl.flotsam.pecia.builder.base
Class AbstractBuilder<T>

java.lang.Object
  extended by nl.flotsam.pecia.builder.base.AbstractBuilder<T>
All Implemented Interfaces:
DocumentElement<T>
Direct Known Subclasses:
AbstractTableBuilder, DefaultArticleBuilder, DefaultEntryBuilder, DefaultFootnoteBuilder, DefaultItemizedListBuilder, DefaultLastEntryBuilder, DefaultListItemBuilder, DefaultParaBuilder, DefaultRowBuilder, DefaultSectionBuilder, DefaultVerbatimBuilder

public class AbstractBuilder<T>
extends Object
implements DocumentElement<T>


Constructor Summary
AbstractBuilder(DocumentBuilder builder, T parent, LifecycleListener listener)
           
 
Method Summary
 T end()
          Signals the end of the document element.
protected  DocumentBuilder getBuilder()
           
protected  LifecycleListener getListener()
           
 T getParent()
          Returns the parent element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBuilder

public AbstractBuilder(DocumentBuilder builder,
                       T parent,
                       LifecycleListener listener)
Method Detail

end

public T end()
Description copied from interface: DocumentElement
Signals the end of the document element.

Specified by:
end in interface DocumentElement<T>
Returns:
The parent element.

getParent

public T getParent()
Description copied from interface: DocumentElement
Returns the parent element.

Specified by:
getParent in interface DocumentElement<T>
Returns:
The parent element.

getBuilder

protected DocumentBuilder getBuilder()

getListener

protected LifecycleListener getListener()


Copyright © 2010. All Rights Reserved.