Constructor and Description |
---|
XMLText(java.lang.String text,
boolean inCDATA)
Creates a piece of XML text.
|
Modifier and Type | Method and Description |
---|---|
Text |
createInstance(java.lang.String text)
Creates a new instance of XMLText class.
|
boolean |
isInCDATA()
Whether this text is inside XDATA section.
|
java.lang.String |
toOriginal()
Returns the text in its original form as it was in original document.
|
append, getText, isMeaningful, toSafeCalcShortcut, toShortcut, toTMX
public XMLText(java.lang.String text, boolean inCDATA)
public boolean isInCDATA()
public java.lang.String toOriginal()
Rock&Roll
should return Rock&Roll
.toOriginal
in interface Element
toOriginal
in class Text
public Text createInstance(java.lang.String text)
createInstance
in class Text