Package org.omegat.filters3
Interface Element
-
- All Known Implementing Classes:
AggregatedTag
,Comment
,DTD
,OutOfTurnTag
,ProcessingInstruction
,Tag
,Text
,XMLContentBasedTag
,XMLEntityText
,XMLIntactTag
,XMLOutOfTurnTag
,XMLPseudoTag
,XMLTag
,XMLText
,Xtag
public interface Element
Element of the translatable entry. Can be a tag or a piece of text.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
toOriginal()
Returns the element in its original form as it was in original document.java.lang.String
toSafeCalcShortcut()
Returns shorcuts like '\b_i0_\b' for statistics calculationjava.lang.String
toShortcut()
Returns shortcut string representation of the element.java.lang.String
toTMX()
Returns long XML-encoded representation of the element for storing in TMX.
-
-
-
Method Detail
-
toShortcut
java.lang.String toShortcut()
Returns shortcut string representation of the element. E.g. for <strong> tag should return <s3>.
-
toSafeCalcShortcut
java.lang.String toSafeCalcShortcut()
Returns shorcuts like '\b_i0_\b' for statistics calculation
-
toTMX
java.lang.String toTMX()
Returns long XML-encoded representation of the element for storing in TMX. E.g. for <strong> tag should return <bpt i="3"><strong></bpt>.
-
toOriginal
java.lang.String toOriginal()
Returns the element in its original form as it was in original document. E.g. for <strong> tag should return <bpt i="3"><strong></bpt>.
-
-