org.apache.pluto.internal.impl
Class EventImpl

java.lang.Object
  extended by org.apache.pluto.internal.impl.EventImpl
All Implemented Interfaces:
Event

public class EventImpl
extends java.lang.Object
implements Event

Implementation of JSR-286 Event.

Since:
2.0

Constructor Summary
EventImpl(javax.xml.namespace.QName qname)
           
EventImpl(javax.xml.namespace.QName qname, java.io.Serializable value)
           
 
Method Summary
 java.lang.String getName()
          Get the local part of the event name.
 javax.xml.namespace.QName getQName()
          Get the event QName.
 java.io.Serializable getValue()
          Get the event payload.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventImpl

public EventImpl(javax.xml.namespace.QName qname)

EventImpl

public EventImpl(javax.xml.namespace.QName qname,
                 java.io.Serializable value)
Method Detail

getQName

public javax.xml.namespace.QName getQName()
Description copied from interface: Event
Get the event QName.

Specified by:
getQName in interface Event
Returns:
the QName of the event, never null.

getValue

public java.io.Serializable getValue()
Description copied from interface: Event
Get the event payload.

Specified by:
getValue in interface Event
Returns:
event payload, must be serializable. May return null if this event has no payload.

getName

public java.lang.String getName()
Description copied from interface: Event
Get the local part of the event name.

Specified by:
getName in interface Event
Returns:
the local part of the event, never null.


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.