Hi I have xsd schema with base64Binary. when this plugin genereted this elemen looks like
@XmlElement(name = "element")
protected byte[] element;
but how can I tell to this plugin to use @XmlJavaTypeAdapter(HexBinaryAdapter.class) so I need something like this
@XmlJavaTypeAdapter(HexBinaryAdapter.class)
@XmlElement(name = "element")
protected byte[] element;
I hope that this is possible thx for help
PS: I cant modify classes which were generated by these plugin because they are always rewrited
You should create a JAXB schema bindings file that instructs the JAXB implementation to use the built in
javax.xml.bind.DatatypeConverterto perform conversions to/fromhexBinary.For More Information