|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsalsa.corpora.elements.Body
public class Body
Represents the 'body' section of a SalsaXML corpus.
Constructor Summary | |
---|---|
Body()
Zero-argumented default constructor. |
Method Summary | |
---|---|
void |
addSentence(Sentence newSentence)
Adds a new Sentence to this Body . |
java.util.ArrayList<Sentence> |
getSentences()
Returns a list of Sentence elements. |
static java.lang.String |
getXmltag()
Returns the name of the XML element of Body , i. e. |
java.lang.String |
toString()
Returns a recursively created XML representation of this Body . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Body()
Method Detail |
---|
public void addSentence(Sentence newSentence)
Sentence
to this Body
.
newSentence
- public java.util.ArrayList<Sentence> getSentences()
Sentence
elements.
public static java.lang.String getXmltag()
Body
, i. e. 'body'.
public java.lang.String toString()
Body
.
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |