Package org.omegat.filters3.xml
Class XMLEntityText
- java.lang.Object
-
- org.omegat.filters3.Text
-
- org.omegat.filters3.xml.XMLEntityText
-
-
Constructor Summary
Constructors Constructor Description XMLEntityText(Entity entity)
Creates a piece of XML text.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Text
createInstance(java.lang.String text)
Creates a new instance of XMLText class.java.lang.String
toOriginal()
Returns the text in its original form as it was in original document.-
Methods inherited from class org.omegat.filters3.Text
append, getText, isMeaningful, toSafeCalcShortcut, toShortcut, toTMX
-
-
-
-
Constructor Detail
-
XMLEntityText
public XMLEntityText(Entity entity)
Creates a piece of XML text.
-
-
Method Detail
-
toOriginal
public java.lang.String toOriginal()
Returns the text in its original form as it was in original document. E.g. forRock&Roll
should returnRock&Roll
.- Specified by:
toOriginal
in interfaceElement
- Specified by:
toOriginal
in classText
-
createInstance
public Text createInstance(java.lang.String text)
Creates a new instance of XMLText class. Because, well, translating internal entities is, hmm, too complex.- Specified by:
createInstance
in classText
-
-