Jaxb@xmlements可以使用@XmlJavaTypeAdapter吗

Jaxb@xmlements可以使用@XmlJavaTypeAdapter吗,jaxb,Jaxb,我必须为Timestamp类编写解组器。如何在这里添加@XmlJavaTypeAdapter(TimestampUnmarshaller.class) @XmlElements( { @XmlElement( name = "valueNew", type = String.class ), @XmlElement( name = "valueNew", type = Integer.class ),

我必须为Timestamp类编写解组器。如何在这里添加@XmlJavaTypeAdapter(TimestampUnmarshaller.class)

@XmlElements( { @XmlElement( name = "valueNew", type = String.class ),
                  @XmlElement( name = "valueNew", type = Integer.class ),
                  @XmlElement( name = "valueNew", type = Long.class ),
                  @XmlElement( name = "valueNew", type = Object.class ),
                  @XmlElement( name = "valueNew", type = Timestamp.class ),
                  @XmlElement( name = "valueNew", type = XMLList.class ),
                  @XmlElement( name = "valueNew", type = EntityItemReference.class ) } )
  private Object                        valueNew;