com.espertech.esperio.representation.axiom
Class AxiomXMLEventType

java.lang.Object
  extended by com.espertech.esperio.representation.axiom.AxiomXMLEventType
All Implemented Interfaces:
com.espertech.esper.event.EventType

public class AxiomXMLEventType
extends Object
implements com.espertech.esper.event.EventType

Apache Axiom event type provides event metadata for Axiom OMDocument events.

Optimistic try to resolve the property string into an appropiate xPath, and use it as getter. Mapped and Indexed properties supported. Because no type information is given, all property are resolved to String. No namespace support. Cannot access to xml attributes, only elements content.

See AxiomEventRepresentation for more details.


Constructor Summary
AxiomXMLEventType(ConfigurationEventTypeAxiom configurationEventTypeAxiom)
          Ctor.
 
Method Summary
 ConfigurationEventTypeAxiom getConfig()
          Returns the configuration for the alias.
 Iterator<com.espertech.esper.event.EventType> getDeepSuperTypes()
           
 com.espertech.esper.event.EventPropertyGetter getGetter(String property)
           
 String[] getPropertyNames()
           
 Class getPropertyType(String property)
           
 com.espertech.esper.event.EventType[] getSuperTypes()
           
 Class getUnderlyingType()
           
 boolean isProperty(String property)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxiomXMLEventType

public AxiomXMLEventType(ConfigurationEventTypeAxiom configurationEventTypeAxiom)
Ctor.

Parameters:
configurationEventTypeAxiom - is the configuration for XML access
Method Detail

getPropertyType

public Class getPropertyType(String property)
Specified by:
getPropertyType in interface com.espertech.esper.event.EventType

getUnderlyingType

public Class getUnderlyingType()
Specified by:
getUnderlyingType in interface com.espertech.esper.event.EventType

getGetter

public com.espertech.esper.event.EventPropertyGetter getGetter(String property)
Specified by:
getGetter in interface com.espertech.esper.event.EventType

getPropertyNames

public String[] getPropertyNames()
Specified by:
getPropertyNames in interface com.espertech.esper.event.EventType

isProperty

public boolean isProperty(String property)
Specified by:
isProperty in interface com.espertech.esper.event.EventType

getSuperTypes

public com.espertech.esper.event.EventType[] getSuperTypes()
Specified by:
getSuperTypes in interface com.espertech.esper.event.EventType

getDeepSuperTypes

public Iterator<com.espertech.esper.event.EventType> getDeepSuperTypes()
Specified by:
getDeepSuperTypes in interface com.espertech.esper.event.EventType

getConfig

public ConfigurationEventTypeAxiom getConfig()
Returns the configuration for the alias.

Returns:
configuration details underlying the type

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com