salsa.corpora.elements
Class Splitwords

java.lang.Object
  extended by salsa.corpora.elements.Splitwords

public class Splitwords
extends java.lang.Object

Represents the 'splitwords' section in a SalsaXML corpus.

Author:
Fabian Shirokov

Constructor Summary
Splitwords()
          Zero-argumented default constructor.
 
Method Summary
 void addSplitword(Splitword newSplitword)
          Adds a new Splitword to this Splitwords.
 java.util.ArrayList<Splitword> getSplitwords()
          Returns the list of Splitword of this Splitwords.
static java.lang.String getXmltag()
          Returns the XML element name of Splitwords, i. e.
 java.lang.String toString()
          Returns a recursively created XML representation of this Splitwords.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Splitwords

public Splitwords()
Zero-argumented default constructor.

Method Detail

addSplitword

public void addSplitword(Splitword newSplitword)
Adds a new Splitword to this Splitwords.


getSplitwords

public java.util.ArrayList<Splitword> getSplitwords()
Returns the list of Splitword of this Splitwords.

Returns:
the splitwords

getXmltag

public static java.lang.String getXmltag()
Returns the XML element name of Splitwords, i. e. 'splitwords'.

Returns:
the xmltag

toString

public java.lang.String toString()
Returns a recursively created XML representation of this Splitwords.

Overrides:
toString in class java.lang.Object