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 Details

    • ProcessingInstruction

      public ProcessingInstruction(String data, String target)
      Creates a new instance of ProcessingInstruction
  • Method Details

    • toOriginal

      public 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