com.bea.xml.stream.events

Class ProcessingInstructionEvent

Implemented Interfaces:
javax.xml.stream.Location, javax.xml.stream.events.ProcessingInstruction, javax.xml.stream.events.XMLEvent

public class ProcessingInstructionEvent
extends BaseEvent
implements javax.xml.stream.events.ProcessingInstruction

Constructor Summary

ProcessingInstructionEvent()
ProcessingInstructionEvent(String name, String content)

Method Summary

String
getData()
String
getTarget()
protected void
init()
void
setData(String data)
void
setTarget(String target)
String
toString()

Methods inherited from class com.bea.xml.stream.events.BaseEvent

asCharacters, asEndElement, asStartElement, getCharacterOffset, getColumnNumber, getEventType, getLineNumber, getLocation, getLocationURI, getPublicId, getSchemaType, getSourceName, getSystemId, getTypeAsString, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, recycle, setCharacterOffset, setColumnNumber, setEventType, setLineNumber, setLocationURI, writeAsEncodedUnicode

Constructor Details

ProcessingInstructionEvent

public ProcessingInstructionEvent()

ProcessingInstructionEvent

public ProcessingInstructionEvent(String name,
                                  String content)

Method Details

getData

public String getData()
Specified by:
getData in interface javax.xml.stream.events.ProcessingInstruction

getTarget

public String getTarget()
Specified by:
getTarget in interface javax.xml.stream.events.ProcessingInstruction

init

protected void init()

setData

public void setData(String data)

setTarget

public void setTarget(String target)

toString

public String toString()