Class TypeFactory


  • public class TypeFactory
    extends Object
    Parses the Mapping File to a List of Feature- and Type Templates
    Author:
    Weigel
    • Constructor Detail

      • TypeFactory

        public TypeFactory​(byte[] mappingFileData)
        creates a new instance of the TypeFactory
        Parameters:
        mappingFileData - The mapping file contents.
    • Method Detail

      • createTemplates

        public List<TypeTemplate> createTemplates()
                                           throws org.apache.uima.collection.CollectionException
        *
        Returns:
        a List of created TypeTemplates from the mapping File
        Throws:
        org.apache.uima.collection.CollectionException