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);