Package org.apache.uima.fit.factory
Class CapabilityFactory
java.lang.Object
org.apache.uima.fit.factory.CapabilityFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.uima.resource.metadata.Capability
createCapability
(Class<?> componentClass) Creates a single capability consisting of the information in theSofaCapability
andTypeCapability
annotations for the class.
-
Method Details
-
createCapability
public static org.apache.uima.resource.metadata.Capability createCapability(Class<?> componentClass) Creates a single capability consisting of the information in theSofaCapability
andTypeCapability
annotations for the class.- Parameters:
componentClass
- a class with capability annotations- Returns:
- capabilities extracted from the class
-