Package org.apache.uima.fit.factory
Class CapabilityFactory
java.lang.Object
org.apache.uima.fit.factory.CapabilityFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic Capability
createCapability
(Class<?> componentClass) Creates a single capability consisting of the information in theSofaCapability
andTypeCapability
annotations for the class.
-
Method Details
-
createCapability
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
-