|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsalsa.corpora.elements.Secedge
public class Secedge
Represents the 'secedge' section of a SalsaXML corpus.
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 |
---|
public Secedge(Id id, java.lang.String label)
Id
(from the 'idref' attribute)
and the label as arguments.
id
- from the 'idref' attributelabel
- Method Detail |
---|
public Id getId()
Id
(from the 'idref' attribute).
public java.lang.String getLabel()
public static java.lang.String getXmltag()
Secedge
.
public void setId(Id id)
Id
(from the 'idref' attribute).
id
- the id to setpublic void setLabel(java.lang.String label)
label
- the label to setpublic java.lang.String toString()
Secedge
.
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |