Package org.apache.uima.fit.internal
Class DescriptionUtils
java.lang.Object
org.apache.uima.fit.internal.DescriptionUtils
INTERNAL API - Helper functions for operatin with descriptions.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AnalysisEngineDescription
Consolidate duplicate information in the AE description.
-
Method Details
-
consolidate
public static AnalysisEngineDescription consolidate(AnalysisEngineDescription aDesc) throws ResourceInitializationException, InvalidXMLException Consolidate duplicate information in the AE description.- Parameters:
aDesc
- an AE description- Returns:
- a consolidated AE description
- Throws:
ResourceInitializationException
- if a descriptions could not be aggregatedInvalidXMLException
- if import resolution failed
-