public OutletSaxHandler getOutletHandler(
QualifiedName outletName,
String outletType)
throws SAXException
{
OutletTypes outletTypes = configurationHandlers.getOutletTypes();
TypedOutletSaxHandlerFactory typedHandlerFactory
= outletTypes.getTypedOutletHandlerFactories().get(outletType);
if (typedHandlerFactory != null)
{
OutletSaxHandler outletSaxHandler
= typedHandlerFactory.getOutletSaxHandler(
outletName,
configurationProvider,
projectPaths,
configurationHandlers);
return outletSaxHandler;
}
UntypedOutletSaxHandlerFactory untypedHandlerFactory = null;
for (UntypedOutletSaxHandlerFactory candidate
: outletTypes.getUntypedOutletHandlerFactories())
{
if (candidate.canHandle(outletType))
{
untypedHandlerFactory = candidate;
break;