com.bea.xml.stream.events
Class ProcessingInstructionEvent

java.lang.Object
  extended bycom.bea.xml.stream.events.BaseEvent
      extended bycom.bea.xml.stream.events.ProcessingInstructionEvent
All Implemented Interfaces:
Location, ProcessingInstruction, XMLEvent, XMLStreamConstants

public class ProcessingInstructionEvent
extends BaseEvent
implements ProcessingInstruction


Field Summary
(package private)  String content
           
(package private)  String name
           
 
Fields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.xml.stream.events.XMLEvent
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
 

Field Detail

name

String name

content

String content
Constructor Detail

ProcessingInstructionEvent

public ProcessingInstructionEvent()

ProcessingInstructionEvent

public ProcessingInstructionEvent(String name,
                                  String content)
Method Detail

init

protected void init()

getTarget

public String getTarget()
Specified by:
getTarget in interface ProcessingInstruction

setTarget

public void setTarget(String target)

setData

public void setData(String data)

getData

public String getData()
Specified by:
getData in interface ProcessingInstruction

toString

public String toString()


Copyright © 2004 . All Rights Reserved.