public class XMLOutOfTurnTag extends OutOfTurnTag
Constructor and Description |
---|
XMLOutOfTurnTag(XMLDialect xmlDialect,
Handler handler,
java.lang.String tag,
java.lang.String shortcut,
org.xml.sax.Attributes attributes)
Creates a new instance of XML Tag
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toOriginal()
Returns the tag in its original form as it was in original document.
|
getEntry, toPartialTMX
getAttribute, getAttributeObject, getAttributes, getIndex, getShortcut, getStartAttributes, getTag, getType, setIndex, setStartAttributes, setType, toSafeCalcShortcut, toShortcut, toTMX
public XMLOutOfTurnTag(XMLDialect xmlDialect, Handler handler, java.lang.String tag, java.lang.String shortcut, org.xml.sax.Attributes attributes)
public java.lang.String toOriginal()
E.g. for OpenDocument footnote (out of turn tag "text:note-body")
<text:note-body><text:p text:style-name="Endnote">The endnote
appears at the end of the document in OO but in the middle of
the segment in OmegaT.</text:p></text:note-body>
this method should return the same if not translated, namely
<text:note-body><text:p text:style-name="Endnote">The endnote
appears at the end of the document in OO but in the middle of
the segment in OmegaT.</text:p></text:note-body>
.
toOriginal
in interface Element
toOriginal
in class OutOfTurnTag