Annotation Interface Wiring


@Documented @Retention(RUNTIME) @Target(TYPE) public @interface Wiring
Annotation used to configure custom tags for Wiring files.

For example, placing the @Wiring annotation at the top of a class called com.example.MyObject would generate the custom tag <MyObject></MyObject>.

Tag names can be customized by passing the desired name to the annotation. For example, @Wiring("Bob") would generate the custom tag <Bob></Bob> instead of <MyObject></MyObject>.
Author:
jbanes
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Name of the custom tag
  • Element Details

    • value

      String value
      Name of the custom tag
      Default:
      ""