salsa.corpora.elements
Class Uspitem

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

public class Uspitem
extends java.lang.Object

Represents the 'uspitem' section in a SalsaXML corpus.

Author:
Fabian Shirokov

Constructor Summary
Uspitem(Id id)
          Default constructor that takes the Id (from the 'idref' attribute) as an argument.
 
Method Summary
 Id getId()
          Returns the Id.
static java.lang.String getXmltag()
          Returns the XML element name of this Uspitem.
 void setId(Id id)
          Sets the Id.
 java.lang.String toString()
          Returns a recursively created XML representation of this Uspitem.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Uspitem

public Uspitem(Id id)
Default constructor that takes the Id (from the 'idref' attribute) as an argument.

Parameters:
id -
Method Detail

getId

public Id getId()
Returns the Id.

Returns:
the id

getXmltag

public static java.lang.String getXmltag()
Returns the XML element name of this Uspitem.

Returns:
the xmltag

setId

public void setId(Id id)
Sets the Id.

Parameters:
id - the id to set

toString

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

Overrides:
toString in class java.lang.Object