cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <>
Subject [jira] Commented: (CXF-787) Add optional support for a toString method to JAXB generated types
Date Fri, 13 Jul 2007 14:15:05 GMT


Gary Tully commented on CXF-787:

This solution is inspired by the jaxb-commons-lang plugin[1] and depends on apache commons-lang

The motivation for doing our own plugin is four fold:
1) the existing one does not exist in a mvn repo that I can find
2) we cannot easily change the existing plugin
3) we may want to tie the behaviour/configuration of the toString styles to the runtime. (this
was more of an issue when I thought we would have it enabled by default on the CXF shipped
generated types). We may still want to do that.
4) we want to be able to provide this option out of the box 


> Add optional support for a toString method to JAXB generated types
> ------------------------------------------------------------------
>                 Key: CXF-787
>                 URL:
>             Project: CXF
>          Issue Type: New Feature
>          Components: Tooling
>    Affects Versions: 2.0.1
>            Reporter: Gary Tully
>         Attachments: xjc-ts-plugin.gtully.patch
> 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.

View raw message