Uses of Interface
org.apache.uima.jcas.JCas
-
Packages that use JCas Package Description org.apache.uima.analysis_component org.apache.uima.analysis_engine The Analysis Engine interface, along with supporting interfaces and exception classes.org.apache.uima.analysis_engine.annotator The Annotator Interfaces, along with supporting interfaces and exception classes.org.apache.uima.analysis_engine.impl org.apache.uima.cas Common Analysis System(CAS) Interfacesorg.apache.uima.cas.impl Implementation and Low-Level API for the CAS Interfaces.org.apache.uima.examples org.apache.uima.flow org.apache.uima.jcas Interfaces for accessing the JCAS.org.apache.uima.jcas.cas JCAS model for built-in CAS typesorg.apache.uima.jcas.impl Provides the classes that support the Java Cas Model (JCM).org.apache.uima.jcas.tcas org.apache.uima.util Utility classes and interfaces used by UIMA components. -
-
Uses of JCas in org.apache.uima.analysis_component
Methods in org.apache.uima.analysis_component that return JCas Modifier and Type Method Description protected JCasJCasMultiplier_ImplBase. getEmptyJCas()Gets an empty JCas that this CAS Multiplier can then populate.Methods in org.apache.uima.analysis_component that return types with arguments of type JCas Modifier and Type Method Description java.lang.Class<JCas>JCasAnnotator_ImplBase. getRequiredCasInterface()java.lang.Class<JCas>JCasMultiplier_ImplBase. getRequiredCasInterface()Methods in org.apache.uima.analysis_component with parameters of type JCas Modifier and Type Method Description abstract voidJCasAnnotator_ImplBase. process(JCas aJCas)This method should be overriden by subclasses.abstract voidJCasMultiplier_ImplBase. process(JCas aJCas)This method should be overridden by subclasses.voidJCasProcessor. process(JCas aJCas)Accepts the processor. -
Uses of JCas in org.apache.uima.analysis_engine
Methods in org.apache.uima.analysis_engine that return JCas Modifier and Type Method Description JCasAnalysisEngine. newJCas()Similar toAnalysisEngine.newCAS()but wraps the new CAS objects with the Java-object-basedJCasinterface.JCasJCasIterator. next()Gets the next JCAS from the iterator.Methods in org.apache.uima.analysis_engine with parameters of type JCas Modifier and Type Method Description ProcessTraceAnalysisEngine. process(JCas aJCas)Similar toAnalysisEngine.process(CAS)but uses the Java-object-basedJCasinterface instead of the generalCASinterface.ProcessTraceAnalysisEngine. process(JCas aJCas, ResultSpecification aResultSpec)Similar toAnalysisEngine.process(CAS,ResultSpecification)but uses the Java-object-basedJCasinterface instead of the generalCASinterface.voidAnalysisEngine. process(JCas aJCas, ResultSpecification aResultSpec, ProcessTrace aTrace)Similar toAnalysisEngine.process(CAS, ResultSpecification, ProcessTrace)but uses the Java-object-basedJCasinterface instead of the generalCASinterface.JCasIteratorAnalysisEngine. processAndOutputNewCASes(JCas aJCAS)Processes a JCAS, possibly producing multiple JCASes as a result. -
Uses of JCas in org.apache.uima.analysis_engine.annotator
Methods in org.apache.uima.analysis_engine.annotator with parameters of type JCas Modifier and Type Method Description voidJTextAnnotator. process(JCas aJCas, ResultSpecification aResultSpec)Deprecated.Invokes this annotator's analysis logic. -
Uses of JCas in org.apache.uima.analysis_engine.impl
Methods in org.apache.uima.analysis_engine.impl that return JCas Modifier and Type Method Description JCasAnalysisEngineImplBase. newJCas()JCasJCasIteratorWrapper. next()Methods in org.apache.uima.analysis_engine.impl with parameters of type JCas Modifier and Type Method Description ProcessTraceAnalysisEngineImplBase. process(JCas aJCas)ProcessTraceAnalysisEngineImplBase. process(JCas aJCas, ResultSpecification aResultSpec)voidAnalysisEngineImplBase. process(JCas aJCas, ResultSpecification aResultSpec, ProcessTrace aTrace)ProcessTraceMultiprocessingAnalysisEngine_impl. process(JCas aJCas)ProcessTraceMultiprocessingAnalysisEngine_impl. process(JCas aJCas, ResultSpecification aResultSpec)voidMultiprocessingAnalysisEngine_impl. process(JCas aJCas, ResultSpecification aResultSpec, ProcessTrace aTrace)JCasIteratorAnalysisEngineImplBase. processAndOutputNewCASes(JCas aJCas)Default implementation of processAndOutputNewCASes(JCas) method.JCasIteratorMultiprocessingAnalysisEngine_impl. processAndOutputNewCASes(JCas aJCas) -
Uses of JCas in org.apache.uima.cas
Methods in org.apache.uima.cas that return JCas Modifier and Type Method Description JCasCAS. getJCas()Get the JCas view for this CAS viewJCasCAS. getJCas(SofaFS aSofa)Create a JCas view for a Sofa.JCasCAS. getJCas(SofaID aSofaID)Deprecated.As of v2.0, useCAS.getView(String)followed byCAS.getJCas().default JCasFeatureStructure. getJCas() -
Uses of JCas in org.apache.uima.cas.impl
Methods in org.apache.uima.cas.impl that return JCas Modifier and Type Method Description JCasCASImpl. getJCas()JCasCASImpl. getJCas(SofaFS aSofa)JCasCASImpl. getJCas(SofaID aSofaID)Deprecated.Methods in org.apache.uima.cas.impl with parameters of type JCas Modifier and Type Method Description voidFeatureStructureImplC. addToIndexes(JCas jcas)add this FS to indexes in a specific view, perhaps different from the creation viewvoidFeatureStructureImplC. removeFromIndexes(JCas jcas)remove this FS from indexes in a specific view, perhaps different from the view where this was created. -
Uses of JCas in org.apache.uima.examples
Constructors in org.apache.uima.examples with parameters of type JCas Constructor Description SourceDocumentInformation(JCas jcas)SourceDocumentInformation(JCas jcas, int begin, int end) -
Uses of JCas in org.apache.uima.flow
Fields in org.apache.uima.flow declared as JCas Modifier and Type Field Description private JCasJCasFlow_ImplBase. mJCasMethods in org.apache.uima.flow that return JCas Modifier and Type Method Description protected JCasJCasFlow_ImplBase. getJCas()Gets the JCas being routed by this Flow object.Methods in org.apache.uima.flow that return types with arguments of type JCas Modifier and Type Method Description java.lang.Class<JCas>JCasFlowController_ImplBase. getRequiredCasInterface()Methods in org.apache.uima.flow with parameters of type JCas Modifier and Type Method Description abstract FlowJCasFlowController_ImplBase. computeFlow(JCas aJCas)This method must be overriden by subclasses.protected FlowJCasFlow_ImplBase. newCasProduced(JCas newCas, java.lang.String producedBy)By default, throws an exception to indicate this this Flow object does not support new CASes being produced in the middle of the flow.voidJCasFlow_ImplBase. setJCas(JCas aJCas)Deprecated.this is done automatically by the framework with the Flow object is created -
Uses of JCas in org.apache.uima.jcas
Methods in org.apache.uima.jcas that return JCas Modifier and Type Method Description JCasJCas. createView(java.lang.String sofaID)Create a view and its underlying Sofa (subject of analysis).JCasJCas. getJCas(Sofa sofa)Create a JCas view for a Sofa.JCasJCas. getView(java.lang.String localViewName)Get the view for a Sofa (subject of analysis).JCasJCas. getView(SofaFS aSofa)Get the view for a Sofa (subject of analysis).Methods in org.apache.uima.jcas that return types with arguments of type JCas Modifier and Type Method Description java.util.Iterator<JCas>JCas. getViewIterator()Get iterator over all views in this JCas.java.util.Iterator<JCas>JCas. getViewIterator(java.lang.String localViewNamePrefix)Get iterator over all views with the given name prefix. -
Uses of JCas in org.apache.uima.jcas.cas
Fields in org.apache.uima.jcas.cas declared as JCas Modifier and Type Field Description JCasTOP_Type. jcasDeprecated.reference to the Java Cas rootMethods in org.apache.uima.jcas.cas with parameters of type JCas Modifier and Type Method Description static BooleanArrayBooleanArray. create(JCas jcas, boolean[] a)static ByteArrayByteArray. create(JCas jcas, byte[] a)static DoubleArrayDoubleArray. create(JCas jcas, double[] a)static FloatArrayFloatArray. create(JCas jcas, float[] a)static FloatListFloatList. create(JCas jcas, java.lang.Float[] a)Create an FloatList from an existing array of Feature Structuresstatic <U extends FeatureStructure>
FSArray<U>FSArray. create(JCas jcas, FeatureStructure[] a)Convenience - create a FSArray from an existing FeatureStructure[]static <E extends TOP,F extends FeatureStructure>
FSArrayList<E>FSArrayList. create(JCas jcas, F[] a)Convenience - create a FSArrayList from an existing Array.static <U extends TOP,E extends FeatureStructure>
FSList<U>FSList. create(JCas jcas, E[] a)Create an FSList from an existing array of Feature Structuresstatic IntegerArrayIntegerArray. create(JCas jcas, int[] a)static IntegerArrayListIntegerArrayList. create(JCas jcas, int[] a)Convenience - create a IntegerArrayList from an existing array.static IntegerListIntegerList. create(JCas jcas, int[] a)Create an IntegerList from an existing array of intsstatic LongArrayLongArray. create(JCas jcas, long[] a)static ShortArrayShortArray. create(JCas jcas, short[] a)static StringArrayStringArray. create(JCas jcas, java.lang.String[] a)static StringListStringList. create(JCas jcas, java.lang.String[] a)Create an StringList from an existing array of StringsConstructors in org.apache.uima.jcas.cas with parameters of type JCas Constructor Description AnnotationBase(JCas jcas)AnnotationBase(JCas jcas, int aId)Used to create temporary marker annotations.AnnotationBase_Type(JCas jcas, Type casType)Deprecated.BooleanArray(JCas jcas, int length)Make a new BooleanArray of given sizeByteArray(JCas jcas, int length)Make a new ByteArray of given sizeDoubleArray(JCas jcas, int length)Make a new DoubleArray of given sizeEmptyFloatList(JCas jcas)EmptyFSList(JCas jcas)EmptyIntegerList(JCas jcas)EmptyStringList(JCas jcas)FloatArray(JCas jcas, int length)Make a new FloatArray of given sizeFloatList(JCas jcas)FSArray(java.lang.Class<? extends TOP> clazz, JCas jcas, int length)Constructs an instance of a subtype of FSArray having the component type clazz Note: the array with this component type must already be specified in the type system declaration as a feature whose range is FSArray with the specified elementType.FSArray(JCas jcas, int length)Make a new FSArray of given sizeFSArrayList(JCas jcas)FSArrayList(JCas jcas, int length)Make a new ArrayList with an initial size .FSHashSet(java.util.HashSet<T> set, JCas jcas)FSHashSet(java.util.HashSet<T> set, JCas jcas, int length)FSHashSet(JCas jcas)FSHashSet(JCas jcas, int length)Make a new HashSet with an initial size .FSLinkedHashSet(JCas jcas)FSLinkedHashSet(JCas jcas, int length)Make a new FSLinkedHashSet with an initial size .FSList(JCas jcas)Int2FS(JCas jcas)Int2FS(JCas jcas, int length)Make a new Int2FS map with an initial capacity.IntegerArray(JCas jcas, int length)Make a new IntegerArray of given sizeIntegerArrayList(JCas jcas)IntegerArrayList(JCas jcas, int length)Make a new ArrayList with an initial sizeIntegerList(JCas jcas)LongArray(JCas jcas, int length)Make a new LongArray of given sizeNonEmptyFloatList(JCas jcas)NonEmptyFloatList(JCas jcas, float v)Generate a NonEmpty node with the specified head with the empty node as the tailNonEmptyFloatList(JCas jcas, float v, FloatList tail)Generate a NonEmpty node with the specified head and tailNonEmptyFSList(JCas jcas)NonEmptyFSList(JCas jcas, T head)Generate a NonEmpty node with the specified head with the empty node as the tailNonEmptyFSList(JCas jcas, T head, FSList<?> tail)Generate a NonEmpty node with the specified head and tailNonEmptyIntegerList(JCas jcas)NonEmptyIntegerList(JCas jcas, int v)Generate a NonEmpty node with the specified head with the empty node as the tailNonEmptyIntegerList(JCas jcas, int v, IntegerList tail)Generate a NonEmpty node with the specified head and tailNonEmptyStringList(JCas jcas)NonEmptyStringList(JCas jcas, java.lang.String head)Generate a NonEmpty node with the specified head with the empty node as the tailNonEmptyStringList(JCas jcas, java.lang.String head, StringList tail)Generate a NonEmpty node with the specified head and tailShortArray(JCas jcas, int length)Make a new ShortArray of given sizeStringArray(JCas jcas, int length)Make a new StringArray of given sizeStringList(JCas jcas)TOP(JCas jcas)This version is used by user code new XXX(jcas)TOP(JCas jcas, int aId)Internal.TOP_Type(JCas jcas, Type casType)Deprecated.TOP_Type(JCas jcas, Type casType, boolean installGenerator)Deprecated. -
Uses of JCas in org.apache.uima.jcas.impl
Classes in org.apache.uima.jcas.impl that implement JCas Modifier and Type Class Description classJCasImplimplements the supporting infrastructure for JCas model linked with a Cas.Fields in org.apache.uima.jcas.impl declared as JCas Modifier and Type Field Description private JCasJFSIndexRepositoryImpl. jcasMethods in org.apache.uima.jcas.impl that return JCas Modifier and Type Method Description JCasJCasImpl. createView(java.lang.String sofaID)JCasJCasImpl. getJCas(Sofa sofa)JCasJCasImpl. getView(java.lang.String localViewName)JCasJCasImpl. getView(SofaFS aSofa)Methods in org.apache.uima.jcas.impl that return types with arguments of type JCas Modifier and Type Method Description java.util.Iterator<JCas>JCasImpl. getViewIterator()java.util.Iterator<JCas>JCasImpl. getViewIterator(java.lang.String localViewNamePrefix)Constructors in org.apache.uima.jcas.impl with parameters of type JCas Constructor Description JFSIndexRepositoryImpl(JCas jcas, FSIndexRepository ir) -
Uses of JCas in org.apache.uima.jcas.tcas
Methods in org.apache.uima.jcas.tcas with parameters of type JCas Modifier and Type Method Description static AnnotationAnnotation. _createMarkerAnnotation(JCas aJCas, int aBegin, int aEnd)For internal use bySelectFSs_implConstructors in org.apache.uima.jcas.tcas with parameters of type JCas Constructor Description Annotation(JCas jcas)Annotation(JCas jcas, int begin, int end)Constructor with begin and end passed as argumentsAnnotation(JCas jcas, int begin, int end, int aId)Used to create temporary marker annotations.Annotation_Type(JCas jcas, Type casType)Deprecated.DocumentAnnotation(JCas jcas) -
Uses of JCas in org.apache.uima.util
Fields in org.apache.uima.util with type parameters of type JCas Modifier and Type Field Description private java.util.Vector<JCas>JCasPool. mAllInstancesprivate java.util.Vector<JCas>JCasPool. mFreeInstancesMethods in org.apache.uima.util that return JCas Modifier and Type Method Description JCasJCasPool. getJCas()Checks out a JCas from the pool.JCasJCasPool. getJCas(long aTimeout)Checks out a JCas from the pool.Methods in org.apache.uima.util that return types with arguments of type JCas Modifier and Type Method Description protected java.util.Vector<JCas>JCasPool. getAllInstances()protected java.util.Vector<JCas>JCasPool. getFreeInstances()Methods in org.apache.uima.util with parameters of type JCas Modifier and Type Method Description voidJCasPool. releaseJCas(JCas aJCas)Checks in a JCas to the pool.
-