com.espertech.esper.event.xml
Class SimpleXMLEventType
java.lang.Object
com.espertech.esper.event.BaseConfigurableEventType
com.espertech.esper.event.xml.BaseXMLEventType
com.espertech.esper.event.xml.SimpleXMLEventType
- All Implemented Interfaces:
- EventType
public class SimpleXMLEventType
- extends BaseXMLEventType
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.
If an xsd is present, then use SchemaXMLEventType
- Author:
- pablo
SimpleXMLEventType
public SimpleXMLEventType(ConfigurationEventTypeXMLDOM configurationEventTypeXMLDOM)
- Ctor.
- Parameters:
configurationEventTypeXMLDOM
- configures the event 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