com.espertech.esper.event.xml
Class SchemaXMLEventType

java.lang.Object
  extended by com.espertech.esper.event.BaseConfigurableEventType
      extended by com.espertech.esper.event.xml.BaseXMLEventType
          extended by com.espertech.esper.event.xml.SchemaXMLEventType
All Implemented Interfaces:
EventType

public class SchemaXMLEventType
extends BaseXMLEventType

EventType for xml events that have a Schema. Mapped and Indexed properties are supported. All property types resolved via the declared xsd types. Can access attributes. Validates the property string at construction time.

Author:
pablo

Field Summary
 
Fields inherited from class com.espertech.esper.event.xml.BaseXMLEventType
namespaceContext
 
Constructor Summary
SchemaXMLEventType(ConfigurationEventTypeXMLDOM configurationEventTypeXMLDOM)
          Ctor.
 
Method Summary
protected  String[] doListPropertyNames()
          Subclasses must implement this to supply a list of valid property names.
protected  EventPropertyGetter doResolvePropertyGetter(String property)
          Subclasses must implement this and supply a getter to a given property.
protected  Class doResolvePropertyType(String property)
          Subclasses must implement this and return a type for a property.
 
Methods inherited from class com.espertech.esper.event.xml.BaseXMLEventType
equals, getConfigurationEventTypeXMLDOM, getDeepSuperTypes, getRootElementName, getSuperTypes, getXPathFactory, hashCode, setExplicitProperties, setNamespaceContext
 
Methods inherited from class com.espertech.esper.event.BaseConfigurableEventType
getGetter, getPropertyNames, getPropertyType, getUnderlyingType, isProperty, setExplicitProperties
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaXMLEventType

public SchemaXMLEventType(ConfigurationEventTypeXMLDOM configurationEventTypeXMLDOM)
Ctor.

Parameters:
configurationEventTypeXMLDOM - - configuration for type
Method Detail

doResolvePropertyType

protected Class doResolvePropertyType(String property)
Description copied from class: BaseConfigurableEventType
Subclasses must implement this and return a type for a property.

Specified by:
doResolvePropertyType in class BaseConfigurableEventType
Parameters:
property - is the property name
Returns:
property type

doResolvePropertyGetter

protected EventPropertyGetter doResolvePropertyGetter(String property)
Description copied from class: BaseConfigurableEventType
Subclasses must implement this and supply a getter to a given property.

Specified by:
doResolvePropertyGetter in class BaseConfigurableEventType
Parameters:
property - is the property name
Returns:
getter for property

doListPropertyNames

protected String[] doListPropertyNames()
Description copied from class: BaseConfigurableEventType
Subclasses must implement this to supply a list of valid property names.

Overrides:
doListPropertyNames in class BaseXMLEventType
Returns:
list of properties

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