salsa.corpora.elements
Class Edgelabel

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

public class Edgelabel
extends java.lang.Object

Represents the 'edgelabel' section of a SalsaXML corpus.

Author:
Fabian Shirokov

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

Constructor Detail

Edgelabel

public Edgelabel()
Zero-argumented default constructor.

Method Detail

addValue

public void addValue(Value newValue)
Adds a new Value to this Edgelabel.

Parameters:
newValue -

getValues

public java.util.ArrayList<Value> getValues()
Returns the list of Value elements of this Edgelabel.

Returns:
the values

getXmltag

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

Returns:
the xmltag

toString

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

Overrides:
toString in class java.lang.Object