users@jaxb.java.net

Re: jaxb customization question

From: Roderico Cruz <Roderico.Cruz_at_Sun.COM>
Date: Thu, 19 Oct 2006 23:18:25 -0700

Thanks Dima.
Rico

Dima Gutzeit wrote:
> Hi,
>
> This example is taken from the previous mail on this list, hope it helps.
>
> <jxb:bindings version="1.0"
> xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
> xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
> jxb:extensionBindingPrefixes="xjc">
> <jxb:bindings schemaLocation="types.xsd" node="//xs:schema">
> <jxb:schemaBindings>
> <jxb:package name="com.example.jaxb.types"/>
> </jxb:schemaBindings>
> <jxb:bindings node=".//xs:complexType[@name='localizedString']">
> <jxb:class name="LocalizedString"
> implClass="com.example.schema.types.impl.LocalizedString"/>
> </jxb:bindings>
> </jxb:bindings>
> </jxb:bindings>
>
>
>
> Regards,
> Dima Gutzeit.
>
> ----- Original Message ----- From: "Roderico Cruz"
> <Roderico.Cruz_at_Sun.COM>
> To: <users_at_jaxb.dev.java.net>
> Sent: Thursday, October 19, 2006 10:34 PM
> Subject: jaxb customization question
>
>
>> What is the syntax of a jaxb customization where there is a
>> user-created class that is supposed to be used instead of the the
>> generated binding class, say for an element?
>> Thanks.
>> Rico
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
>> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>