Package org.mule.module.xml.util

Examples of org.mule.module.xml.util.LocalURIResolver


        super();
        transformerPool = new GenericObjectPool(new PooledXsltTransformerFactory());
        transformerPool.setMinIdle(MIN_IDLE_TRANSFORMERS);
        transformerPool.setMaxIdle(MAX_IDLE_TRANSFORMERS);
        transformerPool.setMaxActive(MAX_ACTIVE_TRANSFORMERS);
        uriResolver = new LocalURIResolver();
        contextProperties = new HashMap();
    }
View Full Code Here


                this.xslt = IOUtils.getResourceAsString(xslFile, getClass());
            }

            if (uriResolver == null)
            {
                this.uriResolver = new LocalURIResolver(xslFile);
            }

            transformerPool.addObject();
        }
        catch (Throwable te)
View Full Code Here

    public void testInitialiseMaintainsUriResolverIfSet() throws Exception
    {
        XsltTransformer xsltTransformer = new XsltTransformer();
        xsltTransformer.setXslFile(VALID_XSL_FILENAME);

        URIResolver uriResolver = new LocalURIResolver();
        xsltTransformer.setUriResolver(uriResolver);
        xsltTransformer.initialise();
        assertEquals(uriResolver, xsltTransformer.getUriResolver());
    }
View Full Code Here

TOP

Related Classes of org.mule.module.xml.util.LocalURIResolver

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.