Annotation Type XNodeMap

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Class<?> componentType
      The type of the objects in this collection.
      String key
      The path relative to the current node (which is located by value()) which contain the map key to be used.
      Class<?> type
      The type of collection object.
      String value
      A path expression specifying the XML node to bind to.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean nullByDefault
      Whether the container should be set to null when no value is specified.
      boolean trim
      Whether to trim text content for element nodes.
    • Element Detail

      • value

        String value
        A path expression specifying the XML node to bind to.
        Returns:
        the node xpath
      • key

        String key
        The path relative to the current node (which is located by value()) which contain the map key to be used.
      • type

        Class<?> type
        The type of collection object.
      • componentType

        Class<?> componentType
        The type of the objects in this collection.
        Returns:
        the type of items
      • trim

        boolean trim
        Whether to trim text content for element nodes.
        Default:
        true
      • nullByDefault

        boolean nullByDefault
        Whether the container should be set to null when no value is specified.
        Default:
        false