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

java.lang.Object
  extended by nl.flotsam.pecia.builder.base.AbstractBuilder<T>
      extended by nl.flotsam.pecia.builder.base.DefaultRowBuilder<T>
All Implemented Interfaces:
Initializer<Row<T>>, RowBuilder<T>, DocumentElement<T>, Row<T>
Direct Known Subclasses:
HtmlDocumentBuilder.HtmlRowBuilder

public class DefaultRowBuilder<T>
extends AbstractBuilder<T>
implements RowBuilder<T>


Constructor Summary
DefaultRowBuilder(DocumentBuilder builder, T parent, boolean header, boolean first, LifecycleListener listener)
           
 
Method Summary
 T entry()
          Adds an entry to the table row.
 boolean isFirst()
           
 boolean isHeader()
           
 Row<T> start()
           
 
Methods inherited from class nl.flotsam.pecia.builder.base.AbstractBuilder
end, getBuilder, getListener, getParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRowBuilder

public DefaultRowBuilder(DocumentBuilder builder,
                         T parent,
                         boolean header,
                         boolean first,
                         LifecycleListener listener)
Method Detail

entry

public T entry()
Description copied from interface: Row
Adds an entry to the table row.

Specified by:
entry in interface Row<T>
Returns:
The first entry of the table row.

start

public Row<T> start()
Specified by:
start in interface Initializer<Row<T>>

isHeader

public boolean isHeader()
Specified by:
isHeader in interface RowBuilder<T>

isFirst

public boolean isFirst()
Specified by:
isFirst in interface RowBuilder<T>


Copyright © 2010. All Rights Reserved.