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