Annotation Interface LanguageCapability


@Retention(RUNTIME) @Target(TYPE) public @interface LanguageCapability
Provides information on the languages supported by a component.
 
 @LanguageCapability({ "en", "de" })
 
 
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The languages supported by this component.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Provides the default value that tells the CapabilityFactory that no value has been provided.
  • Field Details

    • NO_DEFAULT_VALUE

      static final String NO_DEFAULT_VALUE
      Provides the default value that tells the CapabilityFactory that no value has been provided.
      See Also:
  • Element Details

    • value

      String[] value
      The languages supported by this component.
      Returns:
      the supported languages
      Default:
      {"org.apache.uima.fit.descriptor.LanguageCapability.NO_DEFAULT_VALUE"}