Class SchemaXMLPropertyParser
java.lang.Object
com.espertech.esper.common.internal.event.xml.SchemaXMLPropertyParser
Parses event property names and transforms to XPath expressions using the schema information supplied. Supports the
nested, indexed and mapped event properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EventPropertyGetterSPI
getXPathResolution
(String propertyName, XPathFactory xPathFactory, String rootElementName, String namespace, SchemaModel schemaModel, EventBeanTypedEventFactory eventBeanTypedEventFactory, BaseXMLEventType xmlEventType, boolean isAllowFragment, String defaultNamespace, EventTypeXMLXSDHandler xmlxsdHandler) Return the xPath corresponding to the given property.
-
Constructor Details
-
SchemaXMLPropertyParser
public SchemaXMLPropertyParser()
-
-
Method Details
-
getXPathResolution
public static EventPropertyGetterSPI getXPathResolution(String propertyName, XPathFactory xPathFactory, String rootElementName, String namespace, SchemaModel schemaModel, EventBeanTypedEventFactory eventBeanTypedEventFactory, BaseXMLEventType xmlEventType, boolean isAllowFragment, String defaultNamespace, EventTypeXMLXSDHandler xmlxsdHandler) throws EPException Return the xPath corresponding to the given property. The propertyName String may be simple, nested, indexed or mapped.- Parameters:
propertyName
- is the event property namexPathFactory
- is the xpath factory instance to userootElementName
- is the name of the root elementnamespace
- is the default namespaceschemaModel
- is the schema modeleventBeanTypedEventFactory
- for type lookup and creationxmlEventType
- the resolving typeisAllowFragment
- whether fragmenting is alloweddefaultNamespace
- default namespacexmlxsdHandler
- xml-xsd handler- Returns:
- xpath expression
- Throws:
EPException
- is there are XPath errors
-