[
https://issues.apache.org/jira/browse/WINK-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750442#action_12750442
]
Nick Gallardo commented on WINK-161:
------------------------------------
Fair enough... a *slight* oversimplification. :)
I'm thinking mostly of the model where you set a JAXB object in the AtomContent
when the type is "xml".
For the others ("text", "html", "xhtml"), what object types were you thinking
would be set? Streams? If so, can an assumption for a first pass be that the
content in each is properly formatted (escaped, etc.)?
> Make SyndContent/AtomContent support Object values instead of String
> --------------------------------------------------------------------
>
> Key: WINK-161
> URL: https://issues.apache.org/jira/browse/WINK-161
> Project: Wink
> Issue Type: Improvement
> Components: Common
> Affects Versions: 0.1
> Reporter: Michael Elman
> Assignee: Michael Elman
> Fix For: 0.2
>
>
> Currently SyndContent/AtomContent accepts only String values.
> So if the user wants to put there xml content, he needs first serialize it
> String, and then add it.
> Another problem that we have is complexity in our Atom providers.
> It would very nice if we'll be able to handle content as Object and serialize
> it to required form using the Providers.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.