Package org.omegat.filters3.xml
Class ProcessingInstruction
- java.lang.Object
-
- org.omegat.filters3.Tag
-
- org.omegat.filters3.xml.XMLPseudoTag
-
- org.omegat.filters3.xml.ProcessingInstruction
-
- All Implemented Interfaces:
Element
public class ProcessingInstruction extends XMLPseudoTag
A processing instruction in an XML file. For example,<? here is the processing instruction ?>
.
-
-
Constructor Summary
Constructors Constructor Description ProcessingInstruction(java.lang.String data, java.lang.String target)
Creates a new instance of ProcessingInstruction
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toOriginal()
Returns the processing instruction in its original form as it was in the 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 processing instruction in its original form as it was in the original document.- Specified by:
toOriginal
in interfaceElement
- Specified by:
toOriginal
in classTag
-
-