Package sortpom.wrapper.operation

Examples of sortpom.wrapper.operation.WrapperFactory


        final String xml = IOUtils.toString(new FileInputStream(inputFileName), UTF_8);

        final FileUtil fileUtil = new FileUtil();
        fileUtil.setup(pluginParameters);

        WrapperFactory wrapperFactory = new WrapperFactoryImpl(fileUtil);
        ((WrapperFactoryImpl) wrapperFactory).setup(pluginParameters);

        final XmlProcessor xmlProcessor = new XmlProcessor(wrapperFactory);
        xmlProcessor.setup(pluginParameters);

        if (sortAlfabeticalOnly) {
            wrapperFactory = new WrapperFactory() {

                @Override
                public HierarchyWrapper createFromRootElement(final Element rootElement) {
                    return new HierarchyWrapper(new AlphabeticalSortedWrapper(rootElement));
                }
View Full Code Here

TOP

Related Classes of sortpom.wrapper.operation.WrapperFactory

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.