super();
}
/** {@inheritDoc} */
protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
IdReferenceType idReferenceType = (IdReferenceType)xmlObject;
if(!DatatypeHelper.isEmpty(idReferenceType.getEarliestVersion())){
domElement.setAttribute(IdReferenceType.EARLIEST_VERSION_ATTRIB_NAME,
idReferenceType.getEarliestVersion());
}else if(!DatatypeHelper.isEmpty(idReferenceType.getLatestVersion())){
domElement.setAttribute(IdReferenceType.LATEST_VERSION_ATTRIB_NAME,
idReferenceType.getLatestVersion());
}else if(!DatatypeHelper.isEmpty(idReferenceType.getVersion())){
domElement.setAttribute(IdReferenceType.VERSION_ATTRIB_NAME,
idReferenceType.getVersion());
}
}