/** * Invoked by JAXB at marshalling time for getting the actual metadata to write * inside the {@code <mrd:MD_Distributor>} XML element. * This is the value or a copy of the value given in argument to the {@code wrap} method. * * @return the metadata to be marshalled. */ @XmlElementRef public DefaultDistributor getElement() { return DefaultDistributor.castOrCopy(metadata); }
/** * Invoked by JAXB at marshalling time for getting the actual metadata to write * inside the {@code <gmd:MD_Distributor>} XML element. * This is the value or a copy of the value given in argument to the {@code wrap} method. * * @return the metadata to be marshalled. */ @XmlElementRef public DefaultDistributor getElement() { return DefaultDistributor.castOrCopy(metadata); }