Examples of inputSofas()


Examples of org.apache.uima.fit.descriptor.SofaCapability.inputSofas()

    Capability capability = new Capability_impl();

    if (ReflectionUtil.isAnnotationPresent(componentClass, SofaCapability.class)) {
      SofaCapability annotation = ReflectionUtil.getAnnotation(componentClass, SofaCapability.class);
      String[] inputSofas = annotation.inputSofas();
      if (inputSofas.length == 1 && inputSofas[0].equals(SofaCapability.NO_DEFAULT_VALUE)) {
        inputSofas = new String[0];
      }
      capability.setInputSofas(inputSofas);
View Full Code Here

Examples of org.apache.uima.fit.descriptor.SofaCapability.inputSofas()

    Capability capability = new Capability_impl();

    if (ReflectionUtil.isAnnotationPresent(componentClass, SofaCapability.class)) {
      SofaCapability annotation = ReflectionUtil.getAnnotation(componentClass, SofaCapability.class);
      String[] inputSofas = annotation.inputSofas();
      if (inputSofas.length == 1 && inputSofas[0].equals(SofaCapability.NO_DEFAULT_VALUE)) {
        inputSofas = new String[0];
      }
      capability.setInputSofas(inputSofas);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.