Module java.xml

Interface ProcessingInstruction

  • All Superinterfaces:
    XMLEvent, XMLStreamConstants

    public interface ProcessingInstruction
    extends XMLEvent
    An interface that describes the data found in processing instructions
    Since:
    1.6
    Version:
    1.0
    • Method Detail

      • getTarget

        String getTarget()
        The target section of the processing instruction
        Returns:
        the String value of the PI or null
      • getData

        String getData()
        The data section of the processing instruction
        Returns:
        the String value of the PI's data or null