When using the xstream extension with restlet, the xstream annotations which
are linked-to in the wiki page
http://wiki.restlet.org/docs_2.0/13-restlet/28-restlet/264-restlet.html are
not acknowledged.  After drilling into the code, we noticed that the auto
detection of annotations is not enabled or configurable with restlet.

I feel that it should be configurable or be enabled by default, and it's as
simple as:

XStream stream = new Xstream();
stream.autodetectAnnotations(true);

...

Am I missing something here?  How can I get this working without creating my
own ConverterHelper and overriding Xstream extension classes.

Thanks,
Dan


-- 
View this message in context: 
http://n2.nabble.com/XStream-Annotations-tp4740207p4740207.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2460188

Reply via email to