Class CapabilityFactory

java.lang.Object
org.apache.uima.fit.factory.CapabilityFactory

public final class CapabilityFactory extends Object
  • Method Details

    • createCapability

      public static Capability createCapability(Class<?> componentClass)
      Creates a single capability consisting of the information in the SofaCapability and TypeCapability annotations for the class.
      Parameters:
      componentClass - a class with capability annotations
      Returns:
      capabilities extracted from the class