salsa.corpora.elements
Class Wordtag

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

public class Wordtag
extends java.lang.Object

Represents the 'wordtag' section in a SalsaXML corpus.

Author:
Fabian Shirokov

Constructor Summary
Wordtag(java.lang.String name)
           
 
Method Summary
 java.lang.String getName()
          Returns the value of the 'name' attribute.
static java.lang.String getXmltag()
          Returns the XML element name of Wordtag.
 void setName(java.lang.String name)
          Sets the value of the 'name' attribute.
 java.lang.String toString()
          Returns a recursively created XML representation of this Wordtag.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Wordtag

public Wordtag(java.lang.String name)
Method Detail

getName

public java.lang.String getName()
Returns the value of the 'name' attribute.

Returns:
the name

getXmltag

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

Returns:
the xmltag

setName

public void setName(java.lang.String name)
Sets the value of the 'name' attribute.

Parameters:
name - the name to set

toString

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

Overrides:
toString in class java.lang.Object