Annotation Interface XNode


@Target({FIELD,METHOD}) @Retention(RUNTIME) public @interface XNode
Author:
Bogdan Stefanescu
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether to trim text content for element nodes.
    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:
      ""
    • trim

      boolean trim
      Whether to trim text content for element nodes.

      Ignored for attribute nodes.

      Default:
      true