



public class RegistryObjectListType {

    @XmlElement(name = "RegistryObject")
    protected List<RegistryObjectType> registryObject;

    ....

}







public class RegistryObjectListType {

    @XmlElementRef(name = "RegistryObject", namespace = "http://oasis.org/ebxml/regrep/rim-alt/4.0", type = JAXBElement.class)
    protected List<JAXBElement<? extends RegistryObjectType>> registryObject;

    ....

}