Annotation Interface ViewDescriptor


@Documented @Retention(RUNTIME) @Target(TYPE) @Inherited public @interface ViewDescriptor
Indicates that the annotated ViewController is linked to an XML template. The annotated class must be a direct or indirect subclass of View. This annotation is inherited by subclasses.
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Path to the XML descriptor.
    Path to the XML descriptor.
  • Element Details

    • value

      @AliasFor("path") String value
      Path to the XML descriptor. If the value contains a file name only, it is assumed that the file is located in the package of the controller class.
      Default:
      ""
    • path

      @AliasFor("value") String path
      Path to the XML descriptor. If the value contains a file name only, it is assumed that the file is located in the package of the controller class.
      Default:
      ""