|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsalsa.corpora.elements.Edge
public class Edge
Represents the 'edge' section in the SalsaXML corpora.
Constructor Summary | |
---|---|
Edge(Id idref,
java.lang.String label)
Default constructor that takes an Id (from the 'idref' XML
attribute) and the label as arguments. |
Method Summary | |
---|---|
Id |
getId()
Returns the Id (from the 'idref' XML attribute) of this
Edge . |
java.lang.String |
getLabel()
Returns the label of this Edge . |
static java.lang.String |
getXmltag()
Returns the name of the XML element of Edge , i. e. |
java.lang.String |
toString()
Returns a recursively created XML representation of this Edge . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Edge(Id idref, java.lang.String label)
Id
(from the 'idref' XML
attribute) and the label as arguments.
idref
- e. g. 's539_13'label
- e. g. 'HD'Method Detail |
---|
public Id getId()
Id
(from the 'idref' XML attribute) of this
Edge
.
public java.lang.String getLabel()
Edge
.
public static java.lang.String getXmltag()
Edge
, i. e.
'edge'.
public java.lang.String toString()
Edge
.
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |