ProcessingResourceMetaData md = (ProcessingResourceMetaData) mDescription.getMetaData();
// resolve imports for primitives
if (mDescription instanceof AnalysisEngineDescription &&
((AnalysisEngineDescription)mDescription).isPrimitive()) {
try {
md.resolveImports();
} catch (InvalidXMLException e1) {
throw new ResourceInitializationException(e1);
}
}