Annotation Interface XContent


@Target({FIELD,METHOD}) @Retention(RUNTIME) public @interface XContent
An annotation that injects the content of the current node as an XML string or DocumentFragment depending on the field type.
Author:
Bogdan Stefanescu
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    An xpathy expression specifying the XML node to bind to.
  • Element Details

    • value

      String value
      An xpathy expression specifying the XML node to bind to.
      Returns:
      the node xpath
      Default:
      ""