org.apache.uima.annotator.regex.impl
Class ConceptFileParser_impl
java.lang.Object
org.apache.uima.annotator.regex.impl.ConceptFileParser_impl
- All Implemented Interfaces:
- ConceptFileParser
public class ConceptFileParser_impl
- extends Object
- implements ConceptFileParser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConceptFileParser_impl
public ConceptFileParser_impl()
parseConceptFile
public Concept[] parseConceptFile(String conceptFilePathName,
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 nameconceptFileStream
- 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 © 2006-2011 The Apache Software Foundation. All Rights Reserved.