Package de.unirostock.sems.bives.markup
Class MarkupSection
- java.lang.Object
-
- de.unirostock.sems.bives.markup.MarkupSection
-
public class MarkupSection extends Object
The Class MarkupSection representing a section in a MarkupDocument.- Author:
- Martin Scharm
-
-
Constructor Summary
Constructors Constructor Description MarkupSection(String header)
Instantiates a new markup section.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValue(MarkupElement element)
Adds an element to this section.String
getHeader()
Gets the header.List<MarkupElement>
getValues()
Gets the elements.void
setHeader(String header)
Sets the header.
-
-
-
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
-
-