Package com.thoughtworks.xstream.core.util

Examples of com.thoughtworks.xstream.core.util.CompositeClassLoader


    /**
     * Constructs an instance using a GAE compatible instance of the XStreamSerializer.
     */
    public GaeEventStore() {
        this(new XStreamSerializer(new GaeXStream(new PureJavaReflectionProvider(), new XppDriver(),
                                                  new ClassLoaderReference(new CompositeClassLoader()))));
    }
View Full Code Here


  public static class XStreamIgnoringUnknownFields extends XStream {
    private static final XmlFriendlyReplacer replacer = new XmlFriendlyReplacer("$", "_"); // transitive replacer
   
    public XStreamIgnoringUnknownFields() {
      // copied from default XStream constructor and added replacer
            super(null, new XppDriver(replacer), new ClassLoaderReference(new CompositeClassLoader()), (Mapper) null, new DefaultConverterLookup(), null);
    }
View Full Code Here

TOP

Related Classes of com.thoughtworks.xstream.core.util.CompositeClassLoader

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.