Package org.apache.uima.fit.descriptor
Annotation Interface TypeCapability
A typical use of this annotation might look something like:
@TypeCapability(
inputs="org.apache.uima.fit.type.Token",
outputs="org.apache.uima.fit.type.Token:pos")
or
@TypeCapability(
inputs={"org.apache.uima.fit.type.Token","org.apache.uima.fit.type.Sentence"},
outputs={"org.apache.uima.fit.type.Token:pos", "org.apache.uima.tutorial.RoomNumber"})
-
Optional Element Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Provides the default value for the inputs and the outputs that tells the CapabilityFactory that no value has been given to the inputs or outputs elements.
-
Field Details
-
NO_DEFAULT_VALUE
Provides the default value for the inputs and the outputs that tells the CapabilityFactory that no value has been given to the inputs or outputs elements.- See Also:
-
-
Element Details
-
inputs
String[] inputsinputs can be type names or feature names. A feature name typically looks like a type name followed by a colon (':') followed by the feature name. A valid feature name from the uimaFIT test type system is "org.apache.uima.fit.type.Token:pos"- Returns:
- the input types
- Default:
- {"org.apache.uima.fit.descriptor.TypeCapability.NO_DEFAULT_VALUE"}
-
outputs
String[] outputsoutputs can be type names or feature names. A feature name typically looks like a type name followed by a colon (':') followed by the feature name. A valid feature name from the uimaFIT test type system is "org.apache.uima.fit.type.Token:pos"- Returns:
- the output types
- Default:
- {"org.apache.uima.fit.descriptor.TypeCapability.NO_DEFAULT_VALUE"}
-