*/
public AnalysisEngineDescription parseAnalysisEngineDescription(XMLInputSource aInput,
ParsingOptions aOptions) throws InvalidXMLException {
// attempt to locate resource specifier schema
URL schemaURL = getResourceSpecifierSchemaUrl();
XMLizable object = parse(aInput, RESOURCE_SPECIFIER_NAMESPACE, schemaURL, aOptions);
if (object instanceof AnalysisEngineDescription) {
return (AnalysisEngineDescription) object;
} else {
throw new InvalidXMLException(InvalidXMLException.INVALID_CLASS, new Object[] {
AnalysisEngineDescription.class.getName(), object.getClass().getName() });
}
}