Top Description Methods
javax.xml.stream.events

public Interface ProcessingInstruction

extends XMLEvent
Known Direct Implementers
com.sun.xml.internal.stream.events.ProcessingInstructionEvent

An interface that describes the data found in processing instructions
Author
Copyright (c) 2009 by Oracle Corporation. All Rights Reserved.
Since
1.6
Version
1.0

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the String value of the PI's data or null
getData
()

The data section of the processing instruction

public String

Returns:

the String value of the PI or null
getTarget
()

The target section of the processing instruction

Inherited from javax.xml.stream.events.XMLEvent:
asCharactersasEndElementasStartElementgetEventTypegetLocationgetSchemaTypeisAttributeisCharactersisEndDocumentisEndElementisEntityReferenceisNamespaceisProcessingInstructionisStartDocumentisStartElementwriteAsEncodedUnicode

Method Detail

getDataback to summary
public String getData()

The data section of the processing instruction

Returns:String

the String value of the PI's data or null

getTargetback to summary
public String getTarget()

The target section of the processing instruction

Returns:String

the String value of the PI or null