Annotation Interface XMLSchemaField


@Retention(RUNTIME) public @interface XMLSchemaField
Annotation for use with XML to set a given event property name to use XPath. The name, xpath and type are required.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Property name
    javax.xml.xpath.XPathConstants type as a string, i.e.
    XPath expression
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    For casting the xpath evaluation result to a given type
    For use when event properties themselves has an xml event type
  • Element Details

    • name

      String name
      Property name
      Returns:
      name
    • xpath

      String xpath
      XPath expression
      Returns:
      xpath
    • type

      String type
      javax.xml.xpath.XPathConstants type as a string, i.e. "string" or "nodeset" and others
      Returns:
      type
    • eventTypeName

      String eventTypeName
      For use when event properties themselves has an xml event type
      Returns:
      type name
      Default:
      ""
    • castToType

      String castToType
      For casting the xpath evaluation result to a given type
      Returns:
      type to cast to
      Default:
      ""