|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsalsa.corpora.elements.Recipient
public class Recipient
Represents the 'recipient' section in a SalsaXML corpus.
Constructor Summary | |
---|---|
Recipient(java.lang.String id)
|
Method Summary | |
---|---|
java.lang.String |
getId()
Returns the user id (from the 'id' attribute). |
java.lang.String |
getText()
Returns the recipient's name (PCDATA in XML), e. g. |
static java.lang.String |
getXmltag()
Returns the XML element name of Recipient , i. e. |
void |
setId(java.lang.String id)
Sets the user id. |
void |
setText(java.lang.String text)
Sets the recipient's name. |
java.lang.String |
toString()
Returns a recursively created XML representation of this Recipient . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Recipient(java.lang.String id)
Method Detail |
---|
public java.lang.String getId()
public java.lang.String getText()
public static java.lang.String getXmltag()
Recipient
, i. e. 'recipient'
public void setId(java.lang.String id)
id
- the id to setpublic void setText(java.lang.String text)
text
- the text to setpublic java.lang.String toString()
Recipient
.
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |