Annotation Interface XStreamAlias


@Retention(RUNTIME) @Target({TYPE,FIELD}) public @interface XStreamAlias
Annotation used to define an XStream class or field alias.
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the class or field alias.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    A possible default implementation if the annotated type is an interface.
  • Element Details

    • value

      String value
      The name of the class or field alias.
    • impl

      Class<?> impl
      A possible default implementation if the annotated type is an interface.
      Default:
      java.lang.Void.class