|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dfki.lt.tools.tokenizer.output.Paragraph
This represents a paragraph with its text units.
Constructor Summary | |
Paragraph()
This creates a new instance of Paragraph . |
|
Paragraph(java.util.List someTextUnits)
This creates a new instance of Paragraph that
contains the given text units. |
Method Summary | |
int |
getEndIndex()
This returns the end index of the paragraph. |
int |
getStartIndex()
This returns the start index of the paragraph. |
java.util.List |
getTextUnits()
This returns the list with the text units of the paragraph. |
void |
setEndIndex(int anEndIndex)
This sets the end index of the paragraph to anEndIndex . |
void |
setStartIndex(int aStartIndex)
This sets the start index of the paragraph to aStartIndex . |
void |
setTextUnits(java.util.List someTextUnits)
This sets the text units of the paragraph to someTextUnits . |
java.lang.String |
toString()
This returns a string representation of the paragraph. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Paragraph()
Paragraph
.
public Paragraph(java.util.List someTextUnits)
Paragraph
that
contains the given text units.
someTextUnits
- a List
with TextUnit
sMethod Detail |
public int getStartIndex()
int
public void setStartIndex(int aStartIndex)
aStartIndex
.
aStartIndex
- an int
public int getEndIndex()
int
public void setEndIndex(int anEndIndex)
anEndIndex
.
anEndIndex
- an int
public java.util.List getTextUnits()
List
public void setTextUnits(java.util.List someTextUnits)
someTextUnits
. As a side effect, it adjusts the start
index and end index of the paragraph to the start index of the
first text unit and the end index of the last text unit.
someTextUnits
- a List
public java.lang.String toString()
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |