Class CollectionResourceDTO


  • public class CollectionResourceDTO
    extends Object
    The @XmlJavaTypeAdapter annotation doesn't work properly when using the @XmlElements annotation unless we explicitly declare the types using @XmlElement. These are defined bellow as variables named workaround_*. For further details, see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=419310 http://stackoverflow.com/questions/19266097/jaxb-moxy-using-xmlelements-with-xmladapter
    Author:
    jwhite
    • Constructor Detail

      • CollectionResourceDTO

        public CollectionResourceDTO()
      • CollectionResourceDTO

        public CollectionResourceDTO​(Resource resource,
                                     List<Attribute<?>> attributes)