|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsalsa.corpora.elements.Target
public class Target
Represents the 'target' section in a SalsaXML corpus.
Constructor Summary | |
---|---|
Target()
Zero-argumented constructor. |
|
Target(java.lang.String lemma)
Default constructor that takes the value of the 'lemma' attribute as an argument. |
Method Summary | |
---|---|
void |
addFenode(Fenode newFenode)
Adds a new Fenode to this Target . |
java.util.ArrayList<Fenode> |
getFenodes()
Returns the list of Fenode elements of this
Target . |
java.lang.String |
getHeadlemma()
Returns the headlemma. |
Id |
getId()
Returns the Id of this Target . |
java.lang.String |
getLemma()
Returns the lemma. |
static java.lang.String |
getXmltag()
Returns the XML element name of Target , i. e. |
void |
setHeadlemma(java.lang.String headlemma)
Sets the headlemma. |
void |
setId(Id id)
Sets the Id of this target. |
void |
setLemma(java.lang.String lemma)
Sets the lemma. |
java.lang.String |
toString()
Returns a recursively created XML representation of this Target . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Target()
public Target(java.lang.String lemma)
lemma
- Method Detail |
---|
public void addFenode(Fenode newFenode)
Fenode
to this Target
.
public java.util.ArrayList<Fenode> getFenodes()
Fenode
elements of this
Target
.
public java.lang.String getHeadlemma()
public Id getId()
Id
of this Target
.
public java.lang.String getLemma()
public static java.lang.String getXmltag()
Target
, i. e. 'target'.
public void setHeadlemma(java.lang.String headlemma)
headlemma
- the headlemma to setpublic void setId(Id id)
Id
of this target.
id
- the id to setpublic void setLemma(java.lang.String lemma)
lemma
- the lemma to setpublic java.lang.String toString()
Target
.
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |