Package org.apache.uima.simpleserver.config

Examples of org.apache.uima.simpleserver.config.Output


      // get mapped output features
      OutputType[] outputTypes = outputBean.getOutputArray();
      for (int i = 0; i < outputTypes.length; i++) {
        // parse output feature featurePath
        List<String> featurePath = parseFeaturePath(outputTypes[i].getFeaturePath());
        Output output = ConfigFactory.newOutput(featurePath, outputTypes[i].getOutputAttribute(),
            outputTypes[i].getShortDescription(), outputTypes[i].getLongDescription());
        // add output feature to the typeMap
        typeMap.addOutput(output);
      }
    }
View Full Code Here


      while (featureIt.hasNext()) {
        Feature feat = (Feature) featureIt.next();
        if (feat.getRange().isPrimitive()) {
          ArrayList<String> path = new ArrayList<String>(1);
          path.add(feat.getShortName());
          Output out = ConfigFactory.newOutput(path, feat.getShortName(),
              "No description provided", "No description provided");
          tm.addOutput(out);
        }
      }
      this.typeMap.put(type, tm);
View Full Code Here

TOP

Related Classes of org.apache.uima.simpleserver.config.Output

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.