Class SimpleXMLPropertyParser

java.lang.Object
com.espertech.esper.common.internal.event.xml.SimpleXMLPropertyParser

public class SimpleXMLPropertyParser extends Object
Parses event property names and transforms to XPath expressions. Supports nested, indexed and mapped event properties.
  • 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 property
      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