|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.flotsam.pecia.builder.base.AbstractBuilder<T>
nl.flotsam.pecia.builder.base.DefaultEntryBuilder<T>
public class DefaultEntryBuilder<T>
Constructor Summary | |
---|---|
DefaultEntryBuilder(DocumentBuilder builder,
T parent,
boolean header,
LifecycleListener listener)
|
Method Summary | |
---|---|
Entry<T> |
document(Documenter<SimpleContents<?>> target)
Generates documentation, and returns the current context. |
T |
entry()
Creates the next table cell entry. |
boolean |
isHeader()
|
ItemizedList<? extends Entry<T>> |
itemizedList()
Adds an itemized list. |
ItemizedList<? extends Entry<T>> |
orderedList()
Adds an ordered list. |
Para<? extends Entry<T>> |
para()
Creates a paragraph. |
Entry<T> |
para(String text)
Adds a new paragraph containing just the text passed in. |
EntryBuilder<T> |
start()
|
Table2Cols<? extends Entry<T>> |
table2Cols()
Adds a two-column table. |
Table3Cols<? extends Entry<T>> |
table3Cols()
Adds a three-column table. |
Table4Cols<? extends Entry<T>> |
table4Cols()
Adds a four-column table. |
Table5Cols<? extends Entry<T>> |
table5Cols()
Adds a five-column table. |
Verbatim<? extends Entry<T>> |
verbatim()
Adds verbatim content. |
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 |
---|
public DefaultEntryBuilder(DocumentBuilder builder, T parent, boolean header, LifecycleListener listener)
Method Detail |
---|
public T entry()
Entry
entry
in interface Entry<T>
public Para<? extends Entry<T>> para()
Entry
para
in interface Entry<T>
para
in interface SimpleContents<Entry<T>>
public boolean isHeader()
public EntryBuilder<T> start()
start
in interface Initializer<EntryBuilder<T>>
public Entry<T> para(String text)
Entry
para
in interface Entry<T>
para
in interface SimpleContents<Entry<T>>
text
- The text to be added to the paragraph.
public ItemizedList<? extends Entry<T>> itemizedList()
SimpleContents
itemizedList
in interface SimpleContents<Entry<T>>
public ItemizedList<? extends Entry<T>> orderedList()
SimpleContents
orderedList
in interface SimpleContents<Entry<T>>
public Table2Cols<? extends Entry<T>> table2Cols()
SimpleContents
table2Cols
in interface SimpleContents<Entry<T>>
public Table3Cols<? extends Entry<T>> table3Cols()
SimpleContents
table3Cols
in interface SimpleContents<Entry<T>>
public Table4Cols<? extends Entry<T>> table4Cols()
SimpleContents
table4Cols
in interface SimpleContents<Entry<T>>
public Table5Cols<? extends Entry<T>> table5Cols()
SimpleContents
table5Cols
in interface SimpleContents<Entry<T>>
public Verbatim<? extends Entry<T>> verbatim()
SimpleContents
verbatim
in interface SimpleContents<Entry<T>>
public Entry<T> document(Documenter<SimpleContents<?>> target)
SimpleContents
document
in interface SimpleContents<Entry<T>>
target
- The object generating the documentation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |