|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.event.BaseConfigurableEventType
net.esper.event.xml.BaseXMLEventType
public abstract class BaseXMLEventType
Base class for XMLEventTypes.
Using this class as EventType only allow preconfigured properties
(normally via XPathPropertyGetter
).
For "on the fly" property resolvers, use either
SimpleXMLEventType
or
SchemaXMLEventType
Constructor Summary | |
---|---|
BaseXMLEventType(java.lang.String rootElementName)
Ctor. |
Method Summary | |
---|---|
protected java.lang.String[] |
doListPropertyNames()
Subclasses must implement this to supply a list of valid property names. |
java.util.Iterator<EventType> |
getDeepSuperTypes()
Returns iterator over all super types to event type, going up the hierarchy and including all Java interfaces (and their extended interfaces) and superclasses as EventType instances. |
protected java.lang.String |
getRootElementName()
Returns the name of the root element. |
EventType[] |
getSuperTypes()
Returns an array of event types that are super to this event type, from which this event type inherited event properties. |
protected javax.xml.xpath.XPathFactory |
getXPathFactory()
Returns the XPath factory used. |
protected void |
setExplicitProperties(java.util.Collection<ConfigurationEventTypeXMLDOM.XPathPropertyDesc> explicitProperties)
Set the preconfigured event properties resolved by XPath expression. |
protected void |
setNamespaceContext(XPathNamespaceContext namespaceContext)
Sets the namespace context for use in XPath expression resolution. |
Methods inherited from class net.esper.event.BaseConfigurableEventType |
---|
doResolvePropertyGetter, doResolvePropertyType, getGetter, getPropertyNames, getPropertyType, getUnderlyingType, isProperty, setExplicitProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseXMLEventType(java.lang.String rootElementName)
rootElementName
- is the name of the root elementMethod Detail |
---|
protected java.lang.String getRootElementName()
protected void setNamespaceContext(XPathNamespaceContext namespaceContext)
namespaceContext
- for XPath expressionsprotected void setExplicitProperties(java.util.Collection<ConfigurationEventTypeXMLDOM.XPathPropertyDesc> explicitProperties)
explicitProperties
- are preconfigured event propertiesprotected javax.xml.xpath.XPathFactory getXPathFactory()
public EventType[] getSuperTypes()
EventType
For Java bean instances underlying the event this method returns the event types for all superclasses extended by the Java bean and all interfaces implemented by the Java bean.
public java.util.Iterator<EventType> getDeepSuperTypes()
EventType
protected java.lang.String[] doListPropertyNames()
BaseConfigurableEventType
doListPropertyNames
in class BaseConfigurableEventType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |