Class MarkupSection


  • public class MarkupSection
    extends Object
    The Class MarkupSection representing a section in a MarkupDocument.
    Author:
    Martin Scharm
    • Constructor Detail

      • MarkupSection

        public MarkupSection​(String header)
        Instantiates a new markup section.
        Parameters:
        header - the header
    • Method Detail

      • addValue

        public void addValue​(MarkupElement element)
        Adds an element to this section.
        Parameters:
        element - the element
      • getHeader

        public String getHeader()
        Gets the header.
        Returns:
        the header
      • getValues

        public List<MarkupElement> getValues()
        Gets the elements.
        Returns:
        the elements
      • setHeader

        public void setHeader​(String header)
        Sets the header.
        Parameters:
        header - the new header