From: <sco...@jb...> - 2005-04-28 17:58:57
|
An example of specifying binding info in the schema from the jaxb2.0 spec draft is: | <xs:complexType name="USAddress"> | <xs:annotation> | <xs:appinfo> | <jaxb:class name="MyAddress" /> | </xs:appinfo> | </xs:annotation> | <xs:sequence>...</xs:sequence> | <xs:attribute name="country" type="xs:string"/> | </xs:complexType> | The xs:annotation/xs:appinfo/jabx:class is specifying what class to use. We should be able to define similar jbossxb statements. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875824#3875824 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875824 |