Class SimpleXMLPropertyParser
java.lang.Object
com.espertech.esper.common.internal.event.xml.SimpleXMLPropertyParser
Parses event property names and transforms to XPath expressions. Supports
nested, indexed and mapped event properties.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SimpleXMLPropertyParser
public SimpleXMLPropertyParser()
-
-
Method Details
-
walk
public static String walk(Property property, String rootElementName, String defaultNamespacePrefix, boolean isResolvePropertiesAbsolute) Return the xPath corresponding to the given property. The propertyName String may be simple, nested, indexed or mapped.- Parameters:
property
- is the propertyrootElementName
- is the name of the root element for generating the XPath expressiondefaultNamespacePrefix
- is the prefix of the default namespaceisResolvePropertiesAbsolute
- is true to indicate to resolve XPath properties as absolute props or relative props- Returns:
- xpath expression
-