public final class ListElement extends Object
Constructor and Description |
---|
ListElement(int listLevel,
List<Sentence> listContents)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getLevel()
Get indentation level.
|
int |
getNumberOfSentences()
Get the number of content sentence.
|
Sentence |
getSentence(int id)
Given sentence id, return the content of sentence.
|
List<Sentence> |
getSentences()
Get content of list element.
|
public List<Sentence> getSentences()
public Sentence getSentence(int id)
id
- sentence idpublic int getNumberOfSentences()
public int getLevel()
Copyright © 2015. All rights reserved.