Package edu.upf.taln.dri.lib.model.ext
Interface Section
-
- All Known Implementing Classes:
SectionImpl
public interface Section
Section of a paper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
asString(boolean compactOutput)
String representation of the objectInteger
getId()
Document-wide unambiguous section IdLangENUM
getLanguage()
Get the language of the section titleInteger
getLevel()
Text of the section levelString
getName()
Text of the section headerSection
getParentSection()
Get the parent sectionList<Sentence>
getSentences()
Get the ordered list of sentences inside the sectionList<Section>
getSubsections()
Get subsections
-
-
-
Method Detail
-
getId
Integer getId()
Document-wide unambiguous section Id- Returns:
-
getName
String getName()
Text of the section header- Returns:
-
getLevel
Integer getLevel()
Text of the section level- Returns:
-
getParentSection
Section getParentSection()
Get the parent section- Returns:
-
getSentences
List<Sentence> getSentences()
Get the ordered list of sentences inside the section- Returns:
-
getLanguage
LangENUM getLanguage()
Get the language of the section title- Returns:
-
asString
String asString(boolean compactOutput)
String representation of the object- Returns:
-
-