Package org.apache.uima.analysis_engine.impl

Examples of org.apache.uima.analysis_engine.impl.TypeOrFeature_impl


    finishAction();
  }

  private TypeOrFeature newFeature(String name) {
    TypeOrFeature result = new TypeOrFeature_impl();
    result.setType(false);
    result.setName(name);
    return result;
  }
View Full Code Here


            && typesOrFeatureNames[0].equals(TypeCapability.NO_DEFAULT_VALUE)) {
      return new TypeOrFeature[0];
    } else {
      List<TypeOrFeature> typesOrFeatures = new ArrayList<TypeOrFeature>();
      for (String name : typesOrFeatureNames) {
        TypeOrFeature tof = new TypeOrFeature_impl();
        tof.setName(name);
        if (name.indexOf(":") == -1) {
          tof.setType(true);
        } else {
          tof.setType(false);
        }
        typesOrFeatures.add(tof);
      }
      return typesOrFeatures.toArray(new TypeOrFeature[typesOrFeatures.size()]);
    }
View Full Code Here

    finishAction();
  }

  private TypeOrFeature newFeature(String name) {
    TypeOrFeature result = new TypeOrFeature_impl();
    result.setType(false);
    result.setName(name);
    return result;
  }
View Full Code Here

            && typesOrFeatureNames[0].equals(TypeCapability.NO_DEFAULT_VALUE)) {
      return new TypeOrFeature[0];
    } else {
      List<TypeOrFeature> typesOrFeatures = new ArrayList<TypeOrFeature>();
      for (String name : typesOrFeatureNames) {
        TypeOrFeature tof = new TypeOrFeature_impl();
        tof.setName(name);
        if (name.indexOf(":") == -1) {
          tof.setType(true);
        } else {
          tof.setType(false);
        }
        typesOrFeatures.add(tof);
      }
      return typesOrFeatures.toArray(new TypeOrFeature[typesOrFeatures.size()]);
    }
View Full Code Here

TOP

Related Classes of org.apache.uima.analysis_engine.impl.TypeOrFeature_impl

Copyright © 2018 www.massapicom. 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.