|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.asciidoctor.OptionsBuilder
public class OptionsBuilder
| Method Summary | |
|---|---|
Map<String,Object> |
asMap()
Gets a map with configured options. |
OptionsBuilder |
attributes(Attributes attributes)
Sets attributes used for rendering input. |
OptionsBuilder |
attributes(Map<String,Object> attributes)
Sets attributes used for rendering input. |
OptionsBuilder |
backend(String backend)
Sets backend option. |
OptionsBuilder |
baseDir(File baseDir)
Sets base dir for working directory. |
OptionsBuilder |
compact(boolean compact)
Compact the output removing blank lines. |
OptionsBuilder |
destinationDir(File destinationDir)
Destination output directory. |
OptionsBuilder |
docType(String docType)
Sets doctype option. |
OptionsBuilder |
eruby(String eruby)
Sets eruby implementation. |
Options |
get()
|
OptionsBuilder |
headerFooter(boolean headerFooter)
Sets header footer attribute. |
OptionsBuilder |
inPlace(boolean inPlace)
Sets in place attribute. |
OptionsBuilder |
mkDirs(boolean mkDirs)
Sets if asciidoctor should create output directory if it does not exist or not. |
OptionsBuilder |
option(String option,
Object value)
Sets a custom or unlisted option. |
static OptionsBuilder |
options()
Creates options builder instance. |
OptionsBuilder |
safe(SafeMode safeMode)
Sets the safe mode. |
OptionsBuilder |
templateDir(File templateDir)
Sets template directory. |
OptionsBuilder |
templateEngine(String templateEngine)
Sets the template engine. |
OptionsBuilder |
toDir(File directory)
Sets to dir value. |
OptionsBuilder |
toFile(File toFile)
Sets to file value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static OptionsBuilder options()
public OptionsBuilder backend(String backend)
backend - value.
public OptionsBuilder docType(String docType)
docType - value.
public OptionsBuilder inPlace(boolean inPlace)
inPlace - value.
public OptionsBuilder headerFooter(boolean headerFooter)
headerFooter - value.
public OptionsBuilder templateDir(File templateDir)
templateDir - directory where templates are stored.
public OptionsBuilder templateEngine(String templateEngine)
templateEngine - used to render the document.
public OptionsBuilder attributes(Map<String,Object> attributes)
attributes - map.
public OptionsBuilder attributes(Attributes attributes)
attributes - map.
public OptionsBuilder toFile(File toFile)
toFile - name of output file.
public OptionsBuilder toDir(File directory)
directory - where output is generated.
public OptionsBuilder mkDirs(boolean mkDirs)
mkDirs - true if directory must be created, false otherwise.
public OptionsBuilder safe(SafeMode safeMode)
safeMode - to run asciidoctor.
public OptionsBuilder eruby(String eruby)
eruby - implementation.
public OptionsBuilder compact(boolean compact)
compact - value.
public OptionsBuilder destinationDir(File destinationDir)
destinationDir - destination directory.
public OptionsBuilder option(String option,
Object value)
option - name.value - for given option.
public OptionsBuilder baseDir(File baseDir)
baseDir - working directory.
public Map<String,Object> asMap()
public Options get()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||