|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.event.BaseConfigurableEventType
com.espertech.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
Field Summary | |
---|---|
protected XPathNamespaceContext |
namespaceContext
XPath namespace context. |
Constructor Summary | |
---|---|
BaseXMLEventType(ConfigurationEventTypeXMLDOM configurationEventTypeXMLDOM)
Ctor. |
Method Summary | |
---|---|
protected String[] |
doListPropertyNames()
Subclasses must implement this to supply a list of valid property names. |
boolean |
equals(Object otherObj)
|
ConfigurationEventTypeXMLDOM |
getConfigurationEventTypeXMLDOM()
Returns the configuration XML for the XML type. |
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 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 XPathFactory |
getXPathFactory()
Returns the XPath factory used. |
int |
hashCode()
|
protected void |
setExplicitProperties(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 com.espertech.esper.event.BaseConfigurableEventType |
---|
doResolvePropertyGetter, doResolvePropertyType, getGetter, getPropertyNames, getPropertyType, getUnderlyingType, isProperty, setExplicitProperties |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected XPathNamespaceContext namespaceContext
Constructor Detail |
---|
public BaseXMLEventType(ConfigurationEventTypeXMLDOM configurationEventTypeXMLDOM)
configurationEventTypeXMLDOM
- is the XML DOM configuration such as root element and schema namesMethod Detail |
---|
protected String getRootElementName()
protected void setNamespaceContext(XPathNamespaceContext namespaceContext)
namespaceContext
- for XPath expressionsprotected void setExplicitProperties(Collection<ConfigurationEventTypeXMLDOM.XPathPropertyDesc> explicitProperties)
explicitProperties
- are preconfigured event propertiesprotected 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 Iterator<EventType> getDeepSuperTypes()
EventType
protected String[] doListPropertyNames()
BaseConfigurableEventType
doListPropertyNames
in class BaseConfigurableEventType
public ConfigurationEventTypeXMLDOM getConfigurationEventTypeXMLDOM()
public boolean equals(Object otherObj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |