You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2007/07/13 14:07:11 UTC
[jira] Commented: (CXF-787) Add optional support for a toString
method to JAXB generated types
[ https://issues.apache.org/jira/browse/CXF-787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512456 ]
Gary Tully commented on CXF-787:
--------------------------------
wsdl2java has support for using xjc extension plugins using the -xjc argument. My solution involves producing an xjc extension plugin that will add a toString method.
> Add optional support for a toString method to JAXB generated types
> ------------------------------------------------------------------
>
> Key: CXF-787
> URL: https://issues.apache.org/jira/browse/CXF-787
> Project: CXF
> Issue Type: New Feature
> Components: Tooling
> Affects Versions: 2.0.1
> Reporter: Gary Tully
>
> A toString that gives a string representation of the xml content is required for generated JAXB types. This is an option that is available at code gen type, when wsdl2java is used and the result is a toString method that will coaless the content. A <null> string should be produced when a field in the type is absent.
> This is handy for debugging and for logging.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.