|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.event.xml.XMLEventBean
public class XMLEventBean
EventBean wrapper for XML documents. Currently only instances of org.w3c.dom.Node can be used
Constructor Summary | |
---|---|
XMLEventBean(Node event,
EventType type)
Ctor. |
Method Summary | |
---|---|
Object |
get(String property)
Returns the value of an event property. |
EventType |
getEventType()
Return the EventType instance that describes the set of properties available for this event. |
Object |
getUnderlying()
Get the underlying data object to this event wrapper. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLEventBean(Node event, EventType type)
event
- is the node with event property informationtype
- is the event type for this event wrapperMethod Detail |
---|
public EventType getEventType()
EventBean
EventType
instance that describes the set of properties available for this event.
getEventType
in interface EventBean
public Object get(String property) throws PropertyAccessException
EventBean
get
in interface EventBean
property
- - name of the property whose value is to be retrieved
PropertyAccessException
- - if there is no property of the specified name, or the property cannot be accessedpublic Object getUnderlying()
EventBean
getUnderlying
in interface EventBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |