Package org.mule.module.xml.transformer

Examples of org.mule.module.xml.transformer.XStreamFactory$ConcurrentHashMapConverter


        throws ClassNotFoundException, IllegalAccessException, InstantiationException
    {
        ConcurrentHashMap map = new ConcurrentHashMap();
        map.put("foo", "bar");

        XStream xstream = new XStreamFactory().getInstance();
        String mapXML = xstream.toXML(map);
        assertNotNull(mapXML);
        assertTrue(StringUtils.isNotEmpty(mapXML));

        Object newMap = xstream.fromXML(mapXML);
View Full Code Here


        throws ClassNotFoundException, IllegalAccessException, InstantiationException
    {
        ConcurrentHashMap<Object, Object> map = new ConcurrentHashMap<Object, Object>();
        map.put("foo", "bar");

        XStream xstream = new XStreamFactory().getInstance();
        String mapXML = xstream.toXML(map);
        assertNotNull(mapXML);
        assertTrue(StringUtils.isNotEmpty(mapXML));

        Object newMap = xstream.fromXML(mapXML);
View Full Code Here

TOP

Related Classes of org.mule.module.xml.transformer.XStreamFactory$ConcurrentHashMapConverter

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.