org.apache.uima.fit.descriptor

## Annotation Type LanguageCapability

-     @Retention(value=RUNTIME)
       @Target(value=TYPE)
      public @interface LanguageCapability

  Provides information on the languages supported by a component.

        @LanguageCapability({ "en", "de" })

- - ### Field Summary

    Fields
    Modifier and Type | Fields and Description
    --- | ---
    `static String` | `NO_DEFAULT_VALUE` Provides the default value that tells the CapabilityFactory that no value has been provided.

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String[]` | `value` The languages supported by this component.

- - ### Field Detail

    - #### NO_DEFAULT_VALUE

          public static final String NO_DEFAULT_VALUE

      Provides the default value that tells the CapabilityFactory that no value has been provided.

  - ### Element Detail

    - #### value

          public abstract String[] value

      The languages supported by this component.
      Returns:
        the supported languages
      Default:
        "org.apache.uima.fit.descriptor.LanguageCapability.NO_DEFAULT_VALUE"

Copyright © 2012–2021 The Apache Software Foundation. All rights reserved.