public class PnmlText extends PnmlElement
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG
PNML text tag.
|
factory, lineNumber, tag| Modifier | Constructor and Description |
|---|---|
protected |
PnmlText()
Creates a fresh text object.
|
protected |
PnmlText(java.lang.String text) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
exportElements(Pnml pnml)
Exports the text.
|
java.lang.String |
getText()
Gets the text.
|
protected void |
importText(java.lang.String text,
Pnml pnml)
Imports the text.
|
void |
setText(java.lang.String text) |
checkValidity, exportAttribute, exportAttributes, exportElement, importAttributes, importElement, importElements, setFactorypublic static final java.lang.String TAG
protected PnmlText()
protected PnmlText(java.lang.String text)
protected void importText(java.lang.String text,
Pnml pnml)
importText in class PnmlElementprotected java.lang.String exportElements(Pnml pnml)
exportElements in class PnmlElementpublic java.lang.String getText()
public void setText(java.lang.String text)