public CollectionReaderDescription parseCollectionReaderDescription(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 CollectionReaderDescription) {
return (CollectionReaderDescription) object;
} else {
throw new InvalidXMLException(InvalidXMLException.INVALID_CLASS, new Object[] {
CollectionReaderDescription.class.getName(), object.getClass().getName() });
}
}