else if (SOURCE_TAG.equals(rawName))
{
String type = attributes.getValue(
XMLConstants.XSI_NAMESPACE,
XMLConstants.XSI_TYPE_ATTRBUTE_NAME);
SourceSaxHandlerFactories sourceSaxHandlerFactories
= configurationHandlers.getSourceSaxHandlerFactories();
SourceSaxHandlerFactory sourceSaxHandlerFactory
= sourceSaxHandlerFactories.getSourceSaxHandlerFactory(type);
if (sourceSaxHandlerFactory == null)
{
throw new SAXException("Unknown source type "
+ type
+ ". Known source types are "
+ sourceSaxHandlerFactories.getSourceTypes());
}
sourceSaxHandler = sourceSaxHandlerFactory.getSourceSaxHandler(
configurationProvider,
projectPaths,
configurationHandlers);