com.espertech.esperio.representation.axiom
Class ConfigurationEventTypeAxiom.XPathPropertyDesc

java.lang.Object
  extended by com.espertech.esperio.representation.axiom.ConfigurationEventTypeAxiom.XPathPropertyDesc
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ConfigurationEventTypeAxiom

public static class ConfigurationEventTypeAxiom.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
ConfigurationEventTypeAxiom.XPathPropertyDesc(java.lang.String name, java.lang.String xpath, javax.xml.namespace.QName type)
          Ctor.
ConfigurationEventTypeAxiom.XPathPropertyDesc(java.lang.String name, java.lang.String xpath, javax.xml.namespace.QName type, java.lang.Class optionalCastToType)
          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.
 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

ConfigurationEventTypeAxiom.XPathPropertyDesc

public ConfigurationEventTypeAxiom.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

ConfigurationEventTypeAxiom.XPathPropertyDesc

public ConfigurationEventTypeAxiom.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
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

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