Class 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 Detail

      • ProcessingInstruction

        public ProcessingInstruction​(java.lang.String data,
                                     java.lang.String target)
        Creates a new instance of ProcessingInstruction
    • 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 interface Element
        Specified by:
        toOriginal in class Tag