|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.event.xml.XPathPropertyGetter
public class XPathPropertyGetter
Getter for properties of DOM xml events.
Constructor Summary | |
---|---|
XPathPropertyGetter(java.lang.String propertyName,
javax.xml.xpath.XPathExpression xPathExpression,
javax.xml.namespace.QName resultType)
Ctor. |
Method Summary | |
---|---|
java.lang.Object |
get(EventBean eventBean)
Return the value for the property in the event object specified when the instance was obtained. |
java.lang.Class |
getResultClass()
Returns type of event property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XPathPropertyGetter(java.lang.String propertyName, javax.xml.xpath.XPathExpression xPathExpression, javax.xml.namespace.QName resultType)
propertyName
- is the name of the event property for which this getter gets valuesxPathExpression
- is a compile XPath expressionresultType
- is the resulting typeMethod Detail |
---|
public java.lang.Object get(EventBean eventBean) throws PropertyAccessException
EventPropertyGetter
get
in interface EventPropertyGetter
eventBean
- is the event to get the value of a property from
PropertyAccessException
- to indicate that property access failedpublic java.lang.Class getResultClass()
TypedEventPropertyGetter
getResultClass
in interface TypedEventPropertyGetter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |