public class TsmlText extends TsmlElement
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG
PNML text tag.
|
lineNumber, tag| Constructor and Description |
|---|
TsmlText()
Creates a fresh text object.
|
TsmlText(java.lang.String text) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
exportElements(Tsml tsml)
Exports the text.
|
java.lang.String |
getText()
Gets the text.
|
protected void |
importText(java.lang.String text,
Tsml tsml)
Imports the text.
|
void |
setText(java.lang.String text) |
checkValidity, exportAttribute, exportAttributes, exportElement, importAttributes, importElement, importElementspublic static final java.lang.String TAG
public TsmlText()
public TsmlText(java.lang.String text)
protected void importText(java.lang.String text,
Tsml tsml)
importText in class TsmlElementprotected java.lang.String exportElements(Tsml tsml)
exportElements in class TsmlElementpublic java.lang.String getText()
public void setText(java.lang.String text)