|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The type of outer context.public interface ParaContents<T>
The interface defining all operations for adding content to a Para
,
without any operations to return to the outer context. Useful in cases in
which you want some operation to add contents to a paragraph,
without having the ability to write outside of that paragraph.
Method Summary | |
---|---|
Para<T> |
code(String text)
Adds some code to the paragraph. |
Para<T> |
document(Documenter<ParaContents<?>> target)
Generates documentation, and returns the current context. |
Para<T> |
email(String email)
Inserts an email address. |
Para<T> |
emphasis(String text)
Adds an inline emphasized section. |
Footnote<? extends Para<T>> |
footnote()
Inserts a footnote. |
Para<T> |
footnote(String text)
Inserts a footnote, containing a Para containing the text passed
in. |
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. |
Method Detail |
---|
Para<T> link(Object id, String text)
id
- The identifier of the document element referenced.text
- The text to be included in the link.
Para<T> emphasis(String text)
text
- The text to be emphasized.
Para<T> code(String text)
text
- The text to be produced as code.
Para<T> text(String text)
text
- The text to be appended to the paragraph.
Footnote<? extends Para<T>> footnote()
Para<T> footnote(String text)
Para
containing the text passed
in.
text
- The text in the paragraph added to the footnote.Para<T> email(String email)
email
- The email address.
Para<T> xref(String id)
id
- The identifier of the element to which you are referring.
Para<T> term(Object id, String text)
id
- The object identifying this term.text
- The term itself.Para<T> document(Documenter<ParaContents<?>> target)
target
- The object generating the documentation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |