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, setFactory
public 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 PnmlElement
protected java.lang.String exportElements(Pnml pnml)
exportElements
in class PnmlElement
public java.lang.String getText()
public void setText(java.lang.String text)