Package org.apache.uima.lucas.indexer.mapping

Examples of org.apache.uima.lucas.indexer.mapping.FilterMapper


  private MappingFileReader createMappingFileReader() throws ParserConfigurationException, SAXException, IOException{
      SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
      Map<String, ElementMapper<?>> elementMappers = new HashMap<String, ElementMapper<?>>();
      elementMappers.put(MappingFileReader.ANNOTATION, new AnnotationMapper());
      elementMappers.put(MappingFileReader.FILTER, new FilterMapper());
      elementMappers.put(MappingFileReader.FIELD, new FieldMapper());
      elementMappers.put(MappingFileReader.FEATURE, new FeatureMapper());     
      return new MappingFileReader(parser, elementMappers);
  }
View Full Code Here

TOP

Related Classes of org.apache.uima.lucas.indexer.mapping.FilterMapper

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.