com.espertech.esperio.representation.axiom
Class AxiomEventBean

java.lang.Object
  extended by com.espertech.esperio.representation.axiom.AxiomEventBean
All Implemented Interfaces:
com.espertech.esper.event.EventBean

public class AxiomEventBean
extends Object
implements com.espertech.esper.event.EventBean

EventBean wrapper for XML documents. Currently only instances of OMNode can be used

Author:
Paul Fremantle

Constructor Summary
AxiomEventBean(org.apache.axiom.om.OMNode event, com.espertech.esper.event.EventType type)
          Ctor.
 
Method Summary
 Object get(String property)
           
 com.espertech.esper.event.EventType getEventType()
           
 Object getUnderlying()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxiomEventBean

public AxiomEventBean(org.apache.axiom.om.OMNode event,
                      com.espertech.esper.event.EventType type)
Ctor.

Parameters:
event - is the node with event property information
type - is the event type for this event wrapper
Method Detail

getEventType

public com.espertech.esper.event.EventType getEventType()
Specified by:
getEventType in interface com.espertech.esper.event.EventBean

get

public Object get(String property)
           throws com.espertech.esper.event.PropertyAccessException
Specified by:
get in interface com.espertech.esper.event.EventBean
Throws:
com.espertech.esper.event.PropertyAccessException

getUnderlying

public Object getUnderlying()
Specified by:
getUnderlying in interface com.espertech.esper.event.EventBean

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com