org.apache.uima.annotator.regex.impl
Class ConceptFileParser_impl

java.lang.Object
  extended by org.apache.uima.annotator.regex.impl.ConceptFileParser_impl
All Implemented Interfaces:
ConceptFileParser

public class ConceptFileParser_impl
extends java.lang.Object
implements ConceptFileParser


Constructor Summary
ConceptFileParser_impl()
           
 
Method Summary
 Concept[] parseConceptFile(java.lang.String conceptFilePathName, java.io.InputStream conceptFileStream)
          parse the XML concepts file and create the object representation for the concepts and rules.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConceptFileParser_impl

public ConceptFileParser_impl()
Method Detail

parseConceptFile

public Concept[] parseConceptFile(java.lang.String conceptFilePathName,
                                  java.io.InputStream conceptFileStream)
                           throws org.apache.uima.resource.ResourceInitializationException
Description copied from interface: ConceptFileParser
parse the XML concepts file and create the object representation for the concepts and rules. To parse the XML concept file, XMLBeans are used.

Specified by:
parseConceptFile in interface ConceptFileParser
Parameters:
conceptFilePathName - XML concepts file path name
conceptFileStream - XML concept file stream
Returns:
returns a Concept[] that contains the object representation of all concepts
Throws:
org.apache.uima.resource.ResourceInitializationException - in case of parsing errors.


Copyright © 2011. All Rights Reserved.