com.espertech.esper.event.xml
Class SchemaXMLPropertyParser
java.lang.Object
com.espertech.esper.event.xml.SchemaXMLPropertyParser
public class SchemaXMLPropertyParser
- extends Object
Parses event property names and transforms to XPath expressions using the schema information supplied. Supports the
nested, indexed and mapped event properties.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaXMLPropertyParser
public SchemaXMLPropertyParser()
parse
public static TypedEventPropertyGetter parse(String propertyName,
XPathFactory xPathFactory,
String rootElementName,
String namespace,
com.sun.org.apache.xerces.internal.xs.XSModel xsModel)
throws XPathExpressionException
- Return the xPath corresponding to the given property.
The propertyName String may be simple, nested, indexed or mapped.
- Parameters:
propertyName
- is the event property namenamespace
- is the default namespacexsModel
- is the schema modelxPathFactory
- is the xpath factory instance to userootElementName
- is the name of the root element
- Returns:
- xpath expression
- Throws:
XPathExpressionException
- when the XPath expression is invalid