Package com.teamten.markdown
Class Doc
java.lang.Object
com.teamten.markdown.Doc
Describes a whole document, namely the header and the blocks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a block (paragraph) to this document.void
addMetadata
(String key, String value) Add a key/value pair to the document's metadata.Return an iterable of all the blocks in this document.Return an unordered iterable over the document's metadata.
-
Constructor Details
-
Doc
public Doc()
-
-
Method Details
-
addBlock
Add a block (paragraph) to this document. -
getBlocks
Return an iterable of all the blocks in this document. -
addMetadata
Add a key/value pair to the document's metadata. -
getMetadata
Return an unordered iterable over the document's metadata.
-