public interface

ProcessingInstruction

implements XMLEvent
javax.xml.stream.events.ProcessingInstruction

Class Overview

An interface that describes the data found in processing instructions

Summary

[Expand]
Inherited Constants
From interface javax.xml.stream.XMLStreamConstants
Public Methods
abstract String getData()
The data section of the processing instruction
abstract String getTarget()
The target section of the processing instruction
[Expand]
Inherited Methods
From interface javax.xml.stream.events.XMLEvent

Public Methods

public abstract String getData ()

The data section of the processing instruction

Returns
  • the String value of the PI's data or null

public abstract String getTarget ()

The target section of the processing instruction

Returns
  • the String value of the PI or null