Package org.asciidoctor.ast
Interface DescriptionListEntry
-
- All Known Implementing Classes:
DescriptionListEntryImpl
public interface DescriptionListEntry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListItem
getDescription()
java.util.List<ListItem>
getTerms()
void
setDescription(ListItem description)
Sets a new description for a description list item.
-
-
-
Method Detail
-
getTerms
java.util.List<ListItem> getTerms()
-
getDescription
ListItem getDescription()
-
setDescription
void setDescription(ListItem description)
Sets a new description for a description list item. Description list items are ordinary ListItems and can be created using the factory methods of a processor:class MyTreeprocessor extends Treeprocessor() { public Document process(Document doc) { final String newDescription = "A new description for this entry."; DescriptionList dl = ... DescriptionListEntry dlEntry = ... dlEntry.setDescription(createListItem(dl, newDescription)); return doc; } }
- Parameters:
description
- The new description for this description list entry,
-
-