salsa.corpora.elements
Class Secedge

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

public class Secedge
extends java.lang.Object

Represents the 'secedge' section of a SalsaXML corpus.

Author:
Fabian Shirokov

Constructor Summary
Secedge(Id id, java.lang.String label)
          Constructor that takes the Id (from the 'idref' attribute) and the label as arguments.
 
Method Summary
 Id getId()
          Returns the Id (from the 'idref' attribute).
 java.lang.String getLabel()
          Returns the value of the label.
static java.lang.String getXmltag()
          Returns the XML element name of Secedge.
 void setId(Id id)
          Sets the Id (from the 'idref' attribute).
 void setLabel(java.lang.String label)
          Sets the value of the label.
 java.lang.String toString()
          Returns a recursively created XML representation of this Secedge.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Secedge

public Secedge(Id id,
               java.lang.String label)
Constructor that takes the Id (from the 'idref' attribute) and the label as arguments.

Parameters:
id - from the 'idref' attribute
label -
Method Detail

getId

public Id getId()
Returns the Id (from the 'idref' attribute).

Returns:
the id

getLabel

public java.lang.String getLabel()
Returns the value of the label.

Returns:
the label

getXmltag

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

Returns:
the xmltag

setId

public void setId(Id id)
Sets the Id (from the 'idref' attribute).

Parameters:
id - the id to set

setLabel

public void setLabel(java.lang.String label)
Sets the value of the label.

Parameters:
label - the label to set

toString

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

Overrides:
toString in class java.lang.Object