|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.asciidoctor.AttributesBuilder
public class AttributesBuilder
| Method Summary | |
|---|---|
Map<String,Object> |
asMap()
Gets a map with configured options. |
AttributesBuilder |
attribute(String attributeName)
Sets custom or unlisted attribute to the default value, empty string. |
AttributesBuilder |
attribute(String attributeName,
Object attributeValue)
Sets custom or unlisted attribute |
static AttributesBuilder |
attributes()
Creates attributes builder. |
AttributesBuilder |
attributes(Map<String,Object> attributes)
Adds all attributes. |
AttributesBuilder |
attributes(String... attributes)
Sets attributes in array form. |
AttributesBuilder |
attributes(String attributes)
Sets attributes in string form. |
AttributesBuilder |
backend(String backend)
Sets backend attribue. |
AttributesBuilder |
copyCss(boolean copyCss)
Sets copy css attribute. |
AttributesBuilder |
dataUri(boolean dataUri)
Sets data-uri attribute. |
AttributesBuilder |
docDate(Date date)
Sets doc date for current document. |
AttributesBuilder |
docTime(Date time)
Sets doc time for current document. |
AttributesBuilder |
docType(String docType)
Sets doc type attribute. |
AttributesBuilder |
experimental(boolean experimental)
Sets experimental attribute. |
Attributes |
get()
|
AttributesBuilder |
icons(String icons)
Sets which admonition icons to use. |
AttributesBuilder |
iconsDir(String iconsDir)
Sets icons directory location. |
AttributesBuilder |
imagesDir(String imagesDir)
Sets image directory. |
AttributesBuilder |
linkAttrs(boolean linkAttrs)
Sets linkattrs attribute. |
AttributesBuilder |
linkCss(boolean linkCss)
Sets link css attribute. |
AttributesBuilder |
localDate(Date date)
Sets local date for document. |
AttributesBuilder |
localTime(Date time)
Sets local time for document. |
AttributesBuilder |
sectionNumbers(boolean sectionNumbers)
Auto-number section titles in the HTML backend. |
AttributesBuilder |
sourceHighlighter(String sourceHighlighter)
Sets source highlighter processor. |
AttributesBuilder |
stylesDir(String stylesDir)
Sets the styles dir. |
AttributesBuilder |
styleSheetName(String styleSheetName)
Sets stylesheet name. |
AttributesBuilder |
tableOfContents(boolean toc)
Sets if table of contents should be rendered or not |
AttributesBuilder |
title(String title)
Sets title of document. |
AttributesBuilder |
unsetStyleSheet()
Unsets stylesheet name so document will be generated without style. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AttributesBuilder attributes()
public AttributesBuilder backend(String backend)
backend - value.
public AttributesBuilder title(String title)
title - for document.
public AttributesBuilder docType(String docType)
docType - value.
public AttributesBuilder imagesDir(String imagesDir)
imagesDir - location.
public AttributesBuilder sourceHighlighter(String sourceHighlighter)
sourcehighlighter - processor.
public AttributesBuilder localDate(Date date)
date -
public AttributesBuilder localTime(Date time)
time -
public AttributesBuilder docDate(Date date)
date -
public AttributesBuilder docTime(Date time)
time -
public AttributesBuilder tableOfContents(boolean toc)
toc - value
public AttributesBuilder styleSheetName(String styleSheetName)
styleSheetName - of css file.
public AttributesBuilder unsetStyleSheet()
public AttributesBuilder stylesDir(String stylesDir)
stylesDir - directory.
public AttributesBuilder linkCss(boolean linkCss)
linkCss - true if css is linked, false if css is embedded.
public AttributesBuilder copyCss(boolean copyCss)
copyCss - true if css should be copied to the output location, false
otherwise.
public AttributesBuilder icons(String icons)
icons - value.
public AttributesBuilder iconsDir(String iconsDir)
iconsDir - location.
public AttributesBuilder dataUri(boolean dataUri)
dataUri - true if images should be embedded, false otherwise.public AttributesBuilder attribute(String attributeName)
attributeName - A flag-only attribute, such as "icons"
public AttributesBuilder sectionNumbers(boolean sectionNumbers)
sectionNumbers - true if numbers should be autonumbered, false otherwise.
public AttributesBuilder linkAttrs(boolean linkAttrs)
linkAttrs - true if Asciidoctor should parse link macro attributes, false otherwise.
public AttributesBuilder experimental(boolean experimental)
experimental - true if experimental features should be enabled, false otherwise.
public AttributesBuilder attribute(String attributeName,
Object attributeValue)
attributeName - attributeValue -
public AttributesBuilder attributes(Map<String,Object> attributes)
attributes - map.
public AttributesBuilder attributes(String attributes)
attributes - in string format.
public AttributesBuilder attributes(String... attributes)
attributes - in array format.
public Map<String,Object> asMap()
public Attributes get()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||