walk
public static String walk(EsperEPL2GrammarParser.StartEventPropertyRuleContext ast,
String propertyName,
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:
ast
- is the property tree AST
propertyName
- is the property name to parse
rootElementName
- is the name of the root element for generating the XPath expression
defaultNamespacePrefix
- is the prefix of the default namespace
isResolvePropertiesAbsolute
- is true to indicate to resolve XPath properties as absolute props
or relative props
- Returns:
- xpath expression