Package de.fu_berlin.inf.dpp.util.xstream

Examples of de.fu_berlin.inf.dpp.util.xstream.IPathConverter


    }

    protected static synchronized XStream getXStream() {
        if (xstream == null) {
            xstream = new XStream();
            xstream.registerConverter(new IPathConverter());
            xstream.aliasType("path", Path.class);
            xstream.processAnnotations(FileList.class);
        }
        return xstream;
    }
View Full Code Here


    public XStreamExtensionProvider(String elementName, Class<?>... classes) {
        this.elementName = elementName;
        this.namespace = PacketExtensionUtils.NAMESPACE;

        xstream = new XStream();
        xstream.registerConverter(new IPathConverter());
        xstream.processAnnotations(XStreamPacketExtension.class);
        xstream.processAnnotations(classes);
        xstream.alias(elementName, XStreamPacketExtension.class);

        ProviderManager providerManager = ProviderManager.getInstance();
View Full Code Here

TOP

Related Classes of de.fu_berlin.inf.dpp.util.xstream.IPathConverter

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.