Package org.apache.torque.generator.configuration.source

Examples of org.apache.torque.generator.configuration.source.SourceSaxHandlerFactory


            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);
            sourceSaxHandler.startElement(uri, localName, rawName, attributes);
        }
View Full Code Here

TOP

Related Classes of org.apache.torque.generator.configuration.source.SourceSaxHandlerFactory

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.