com.espertech.esperio.representation.axiom
Class AxiomXPathPropertyGetter
java.lang.Object
com.espertech.esperio.representation.axiom.AxiomXPathPropertyGetter
- All Implemented Interfaces:
- com.espertech.esper.event.EventPropertyGetter, com.espertech.esper.event.TypedEventPropertyGetter
public class AxiomXPathPropertyGetter
- extends Object
- implements com.espertech.esper.event.TypedEventPropertyGetter
Implementation of a property getter for the Axiom XML data model.
See AxiomEventRepresentation
for more details.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AxiomXPathPropertyGetter
public AxiomXPathPropertyGetter(String propertyName,
org.apache.axiom.om.xpath.AXIOMXPath xPath,
QName resultType,
Class optionalCastToType)
- Ctor.
- Parameters:
propertyName
- is the name of the event property for which this getter gets valuesresultType
- is the resulting typexPath
- the Axiom xpath expressionoptionalCastToType
- null if no cast, or the type to cast to
get
public Object get(com.espertech.esper.event.EventBean eventBean)
throws com.espertech.esper.event.PropertyAccessException
- Specified by:
get
in interface com.espertech.esper.event.EventPropertyGetter
- Throws:
com.espertech.esper.event.PropertyAccessException
getResultClass
public Class getResultClass()
- Specified by:
getResultClass
in interface com.espertech.esper.event.TypedEventPropertyGetter
isExistsProperty
public boolean isExistsProperty(com.espertech.esper.event.EventBean eventBean)
- Specified by:
isExistsProperty
in interface com.espertech.esper.event.EventPropertyGetter