|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nl.flotsam.pecia.builder.base.AbstractBuilder<T> nl.flotsam.pecia.builder.base.DefaultParaBuilder<T> nl.flotsam.pecia.builder.html.HtmlDocumentBuilder.HtmlParaBuilder<T>
public static class HtmlDocumentBuilder.HtmlParaBuilder<T>
Constructor Summary | |
---|---|
HtmlDocumentBuilder.HtmlParaBuilder(DocumentBuilder builder,
T parent,
LifecycleListener listener,
XmlWriter xmlWriter)
|
Method Summary | |
---|---|
Para<T> |
code(String text)
Adds some code to the paragraph. |
Para<T> |
email(String email)
Inserts an email address. |
Para<T> |
emphasis(String text)
Adds an inline emphasized section. |
Para<T> |
link(Object id,
String text)
Constructs a link to the documet item identified by the specified id. |
Para<T> |
term(Object id,
String text)
Inserts a term into the content. |
Para<T> |
text(String text)
Appends some text to the paragraph. |
Para<T> |
xref(String id)
Inserts a cross reference to another document element. |
Methods inherited from class nl.flotsam.pecia.builder.base.DefaultParaBuilder |
---|
document, footnote, footnote, 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 |
Methods inherited from interface nl.flotsam.pecia.DocumentElement |
---|
end, getParent |
Constructor Detail |
---|
public HtmlDocumentBuilder.HtmlParaBuilder(DocumentBuilder builder, T parent, LifecycleListener listener, XmlWriter xmlWriter)
Method Detail |
---|
public Para<T> code(String text)
ParaContents
code
in interface ParaContents<T>
code
in class DefaultParaBuilder<T>
text
- The text to be produced as code.
public Para<T> link(Object id, String text)
ParaContents
link
in interface ParaContents<T>
link
in class DefaultParaBuilder<T>
id
- The identifier of the document element referenced.text
- The text to be included in the link.
public Para<T> email(String email)
ParaContents
email
in interface ParaContents<T>
email
in class DefaultParaBuilder<T>
email
- The email address.
public Para<T> emphasis(String text)
ParaContents
emphasis
in interface ParaContents<T>
emphasis
in class DefaultParaBuilder<T>
text
- The text to be emphasized.
public Para<T> text(String text)
ParaContents
text
in interface ParaContents<T>
text
in class DefaultParaBuilder<T>
text
- The text to be appended to the paragraph.
public Para<T> xref(String id)
ParaContents
xref
in interface ParaContents<T>
xref
in class DefaultParaBuilder<T>
id
- The identifier of the element to which you are referring.
public Para<T> term(Object id, String text)
ParaContents
term
in interface ParaContents<T>
term
in class DefaultParaBuilder<T>
id
- The object identifying this term.text
- The term itself.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |