I annotated a XmlAdapter class like so:
@XmlTransient
public class DateTimeXmlAdapter extends XmlAdapter<String, DateTime> {
but schemagen.exe generates
<xs:complexType name="xmlAdapter" abstract="true">
<xs:sequence/>
</xs:complexType>
so does't skip the class, which was what I expected. XmlAdapter indeed is an abstract class that my transient class inherits from. What should i do?
The reason I refer in a field to DateTimeXmlAdapter is:
@XmlElement(name="StartDatetime")
@XmlJavaTypeAdapter(DateTimeXmlAdapter.class)
protected DateTime startDatetime;
which is correct I think.