- java.lang.Object
-
- io.fixprotocol.md.event.ContextFactory
-
public class ContextFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description ContextFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableContextcreateContext(int level)MutableContextcreateContext(String[] keys, int level)MutableGraphContextcreateDetail()MutableDetailTablecreateDetailTable()MutableDocumentationcreateDocumentation(String documentation)Create markdown documentation as ordinary paragraphsMutableDocumentationcreateDocumentation(String documentation, String format)Create markdown documentation as ordinary paragraphs
-
-
-
Method Detail
-
createContext
public MutableContext createContext(int level)
-
createContext
public MutableContext createContext(String[] keys, int level)
-
createDetail
public MutableGraphContext createDetail()
-
createDetailTable
public MutableDetailTable createDetailTable()
-
createDocumentation
public MutableDocumentation createDocumentation(String documentation)
Create markdown documentation as ordinary paragraphs- Parameters:
documentation- contents- Returns:
- a mutable documentation object
-
createDocumentation
public MutableDocumentation createDocumentation(String documentation, String format)
Create markdown documentation as ordinary paragraphs- Parameters:
documentation- contentsformat- the format of the documentation. This corresponds to infostring of a fenced code block, as defined by the markdown specification. Originally, it was the name of a programming language to support syntax-specific highlighting. However, it has been extended to support various encodings, such as XML. In some cases, it may map to a media type.- Returns:
- a mutable documentation object
-
-