com.espertech.esper.client
Class ConfigurationEventTypeXMLDOM.XPathPropertyDesc

java.lang.Object
  extended by com.espertech.esper.client.ConfigurationEventTypeXMLDOM.XPathPropertyDesc
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ConfigurationEventTypeXMLDOM

public static class ConfigurationEventTypeXMLDOM.XPathPropertyDesc
extends java.lang.Object
implements java.io.Serializable

Descriptor class for event properties that are resolved via XPath-expression.

See Also:
Serialized Form

Constructor Summary
ConfigurationEventTypeXMLDOM.XPathPropertyDesc(java.lang.String name, java.lang.String xpath, javax.xml.namespace.QName type)
          Ctor.
ConfigurationEventTypeXMLDOM.XPathPropertyDesc(java.lang.String name, java.lang.String xpath, javax.xml.namespace.QName type, java.lang.Class optionalCastToType)
          Ctor.
ConfigurationEventTypeXMLDOM.XPathPropertyDesc(java.lang.String name, java.lang.String xpath, javax.xml.namespace.QName type, java.lang.String eventTypeName)
          Ctor.
 
Method Summary
 java.lang.String getName()
          Returns the event property name.
 java.lang.Class getOptionalCastToType()
          Returns the class that the return value of the xpath expression is cast to, or null if no casting.
 java.lang.String getOptionaleventTypeName()
          Returns the event type name assigned to the explicit property.
 javax.xml.namespace.QName getType()
          Returns the javax.xml.xpath.XPathConstants constant representing the event property type.
 java.lang.String getXpath()
          Returns the XPath expression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationEventTypeXMLDOM.XPathPropertyDesc

public ConfigurationEventTypeXMLDOM.XPathPropertyDesc(java.lang.String name,
                                                      java.lang.String xpath,
                                                      javax.xml.namespace.QName type)
Ctor.

Parameters:
name - is the event property name
xpath - is an arbitrary XPath expression
type - is a javax.xml.xpath.XPathConstants constant

ConfigurationEventTypeXMLDOM.XPathPropertyDesc

public ConfigurationEventTypeXMLDOM.XPathPropertyDesc(java.lang.String name,
                                                      java.lang.String xpath,
                                                      javax.xml.namespace.QName type,
                                                      java.lang.Class optionalCastToType)
Ctor.

Parameters:
name - is the event property name
xpath - is an arbitrary XPath expression
type - is a javax.xml.xpath.XPathConstants constant
optionalCastToType - if non-null then the return value of the xpath expression is cast to this value

ConfigurationEventTypeXMLDOM.XPathPropertyDesc

public ConfigurationEventTypeXMLDOM.XPathPropertyDesc(java.lang.String name,
                                                      java.lang.String xpath,
                                                      javax.xml.namespace.QName type,
                                                      java.lang.String eventTypeName)
Ctor.

Parameters:
name - is the event property name
xpath - is an arbitrary XPath expression
type - is a javax.xml.xpath.XPathConstants constant
eventTypeName - the name of an event type that represents the fragmented property value
Method Detail

getName

public java.lang.String getName()
Returns the event property name.

Returns:
event property name

getXpath

public java.lang.String getXpath()
Returns the XPath expression.

Returns:
XPath expression

getType

public javax.xml.namespace.QName getType()
Returns the javax.xml.xpath.XPathConstants constant representing the event property type.

Returns:
type infomation

getOptionalCastToType

public java.lang.Class getOptionalCastToType()
Returns the class that the return value of the xpath expression is cast to, or null if no casting.

Returns:
class to cast result of xpath expression to

getOptionaleventTypeName

public java.lang.String getOptionaleventTypeName()
Returns the event type name assigned to the explicit property.

Returns:
type name

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