public class AxiomXPathPropertyGetter extends Object implements TypedEventPropertyGetter
See AxiomEventRepresentation
for more details.
Constructor and Description |
---|
AxiomXPathPropertyGetter(String propertyName,
org.apache.axiom.om.xpath.AXIOMXPath xPath,
QName resultType,
Class optionalCastToType)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(com.espertech.esper.client.EventBean eventBean) |
Object |
getFragment(com.espertech.esper.client.EventBean eventBean) |
Class |
getResultClass()
Returns type of event property.
|
boolean |
isExistsProperty(com.espertech.esper.client.EventBean eventBean) |
public AxiomXPathPropertyGetter(String propertyName, org.apache.axiom.om.xpath.AXIOMXPath xPath, QName resultType, Class optionalCastToType)
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 topublic Object get(com.espertech.esper.client.EventBean eventBean) throws com.espertech.esper.client.PropertyAccessException
get
in interface com.espertech.esper.client.EventPropertyGetter
com.espertech.esper.client.PropertyAccessException
public Class getResultClass()
TypedEventPropertyGetter
getResultClass
in interface TypedEventPropertyGetter
public boolean isExistsProperty(com.espertech.esper.client.EventBean eventBean)
isExistsProperty
in interface com.espertech.esper.client.EventPropertyGetter
public Object getFragment(com.espertech.esper.client.EventBean eventBean) throws com.espertech.esper.client.PropertyAccessException
getFragment
in interface com.espertech.esper.client.EventPropertyGetter
com.espertech.esper.client.PropertyAccessException