[jboss-jira] [JBoss JIRA] Closed: (JBXB-125) Specify the adapter on the class being adapted
Alexey Loubyansky (JIRA)
jira-events at lists.jboss.org
Thu Aug 7 09:37:50 EDT 2008
[ https://jira.jboss.org/jira/browse/JBXB-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Loubyansky closed JBXB-125.
----------------------------------
Resolution: Done
Finally, fixed. I used @JBossXmlAdaptedType for this (it had already had type as a target). Here is an example from the testsuite
@XmlType()
@JBossXmlAdaptedType(valueAdapter=CardinalityValueAdapter.class)
public class Cardinality extends JBossObject implements Serializable
> Specify the adapter on the class being adapted
> ----------------------------------------------
>
> Key: JBXB-125
> URL: https://jira.jboss.org/jira/browse/JBXB-125
> Project: JBoss XML Binding (JBossXB)
> Issue Type: Feature Request
> Affects Versions: JBossXB-2.0.0.CR6
> Reporter: Ales Justin
> Assignee: Alexey Loubyansky
> Fix For: JBossXB-2.0.0.CR13
>
>
> We should really be able to specify the adapter on the class being adapted
> rather than having to repeat it on every top level package.
> e.g.
> @JBossXMLAdapter(ConstrollerStateXMLAdapter.class)
> public class ControllerState {}
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list