public class UIMAUtils extends Object
Constructor and Description |
---|
UIMAUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
enhanceNode(GraphNode existingNode,
List<? extends org.apache.uima.cas.FeatureStructure> uimaObjects) |
static List<org.apache.uima.jcas.tcas.Annotation> |
getAllAnnotationsOfType(int type,
org.apache.uima.jcas.JCas cas) |
static List<org.apache.uima.cas.FeatureStructure> |
getAllFSofType(int type,
org.apache.uima.jcas.JCas cas) |
static org.apache.uima.cas.FeatureStructure |
getSingletonFeatureStructure(int type,
org.apache.uima.jcas.JCas cas) |
public static List<org.apache.uima.cas.FeatureStructure> getAllFSofType(int type, org.apache.uima.jcas.JCas cas) throws FeatureStructureNotFoundException
public static org.apache.uima.cas.FeatureStructure getSingletonFeatureStructure(int type, org.apache.uima.jcas.JCas cas) throws NotSingletonFeatureStructureException, FeatureStructureNotFoundException
public static List<org.apache.uima.jcas.tcas.Annotation> getAllAnnotationsOfType(int type, org.apache.uima.jcas.JCas cas)
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.