com.espertech.esperio.representation.axiom
Class AxiomEventBean

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

public class AxiomEventBean
extends java.lang.Object
implements 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 theEvent, EventType type)
          Ctor.
 
Method Summary
 java.lang.Object get(java.lang.String property)
           
 EventType getEventType()
           
 java.lang.Object getFragment(java.lang.String propertyExpression)
           
 java.lang.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 theEvent,
                      EventType type)
Ctor.

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

getEventType

public EventType getEventType()
Specified by:
getEventType in interface EventBean

get

public java.lang.Object get(java.lang.String property)
                     throws PropertyAccessException
Specified by:
get in interface EventBean
Throws:
PropertyAccessException

getUnderlying

public java.lang.Object getUnderlying()
Specified by:
getUnderlying in interface EventBean

getFragment

public java.lang.Object getFragment(java.lang.String propertyExpression)
                             throws PropertyAccessException
Specified by:
getFragment in interface EventBean
Throws:
PropertyAccessException

© 2006-2014 EsperTech Inc.
All rights reserved.
Visit us at espertech.com