Package org.omegat.filters3.xml
Class Comment
- java.lang.Object
-
- org.omegat.filters3.Tag
-
- org.omegat.filters3.xml.XMLPseudoTag
-
- org.omegat.filters3.xml.Comment
-
- All Implemented Interfaces:
Element
public class Comment extends XMLPseudoTag
A comment in XML file. For example,<!-- here goes the comment -->
.
-
-
Constructor Summary
Constructors Constructor Description Comment(java.lang.String comment)
Creates a new instance of Comment
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toOriginal()
Returns the comment in its original form as it was in original document.-
Methods inherited from class org.omegat.filters3.Tag
getAttribute, getAttributeObject, getAttributes, getIndex, getShortcut, getStartAttributes, getTag, getType, setIndex, setStartAttributes, setType, toSafeCalcShortcut, toShortcut, toTMX
-
-
-
-
Method Detail
-
toOriginal
public java.lang.String toOriginal()
Returns the comment in its original form as it was in original document.- Specified by:
toOriginal
in interfaceElement
- Specified by:
toOriginal
in classTag
-
-