net.esper.event.xml
Class SchemaXMLEventType
java.lang.Object
net.esper.event.BaseConfigurableEventType
net.esper.event.xml.BaseXMLEventType
net.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
SchemaXMLEventType
public SchemaXMLEventType(ConfigurationEventTypeXMLDOM configurationEventTypeXMLDOM)
- Ctor.
- Parameters:
configurationEventTypeXMLDOM
- - configuration for type
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