Interface DescriptionListEntry

    • 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,