salsa.corpora.elements
Class Uspblock

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

public class Uspblock
extends java.lang.Object

Represents the 'uspblock' section in a SalsaXML corpus.

Author:
Fabian Shirokov

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

Constructor Detail

Uspblock

public Uspblock()
Zero-argumented default constructor.

Method Detail

addUspitem

public void addUspitem(Uspitem newUspitem)
Adds a new Uspitem to this Uspblock.


getUspitems

public java.util.ArrayList<Uspitem> getUspitems()
Returns the list of Uspitem.

Returns:
the uspitems

getXmltag

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

Returns:
the xmltag

toString

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

Overrides:
toString in class java.lang.Object