Package org.apache.torque.generator.configuration

Examples of org.apache.torque.generator.configuration.OutletTypes


    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;
View Full Code Here

TOP

Related Classes of org.apache.torque.generator.configuration.OutletTypes

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.