|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsalsa.corpora.elements.Global
public class Global
Represents the 'global' section in a SalsaXML corpus.
Constructor Summary | |
---|---|
Global(java.lang.String type)
Default constructor that takes the type as an argument. |
Method Summary | |
---|---|
java.lang.String |
getParam()
Returns the value of the 'param' attribute. |
java.lang.String |
getText()
Returns the text (PCDATA in XML). |
java.lang.String |
getType()
Returns the value of the 'type' attribute. |
static java.lang.String |
getXmltag()
Returns the name of the XML element of Global , i. e. |
void |
setParam(java.lang.String param)
Sets the value of the 'param' attribute. |
void |
setText(java.lang.String text)
Sets the text. |
void |
setType(java.lang.String type)
Sets the value of the 'type' attribute. |
java.lang.String |
toString()
Returns a recursively created XML representation of Global . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Global(java.lang.String type)
type
- Method Detail |
---|
public java.lang.String getParam()
null
is returned.
public java.lang.String getText()
public java.lang.String getType()
public static java.lang.String getXmltag()
Global
, i. e. 'global'.
public void setParam(java.lang.String param)
param
- the param to setpublic void setText(java.lang.String text)
text
- the text to setpublic void setType(java.lang.String type)
type
- the type to setpublic java.lang.String toString()
Global
.
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |