Package com.thoughtworks.xstream

Examples of com.thoughtworks.xstream.XStream.useAttributeFor()


        return new LinkSupportWrapper(next);
      }

    };
    xstream.useAttributeFor(DefaultRelation.class, "rel");
    xstream.useAttributeFor(DefaultRelation.class, "href");
    xstream.useAttributeFor(DefaultRelation.class, "type");

    for (Class type : typesToEnhance) {
      realTypes.put(type, enhancer.enhanceResource(type));
      xstream.processAnnotations(type);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.