Annotation Type SpecificationReference


@Documented @Retention(RUNTIME) @Target(TYPE) public @interface SpecificationReference
Reference to a specification document.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Unique identifier for a specification document, such as 'RFC 6120' or 'XEP-0485'.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    An optional version number, such as '1.2.0'.
  • Element Details

    • document

      String document
      Unique identifier for a specification document, such as 'RFC 6120' or 'XEP-0485'.
      Returns:
      a document identifier
    • version

      String version
      An optional version number, such as '1.2.0'.
      Returns:
      a version number
      Default:
      ""