code: @Override
    protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
  
      MetadataLocation mdl = (MetadataLocation) xmlObject;
  
      if (mdl.getLocation() != null) {
        domElement.setAttributeNS(null, MetadataLocation.LOCATION_ATTR_NAME, mdl.getLocation());
      }
      this.marshallUnknownAttributes(mdl, domElement);
    }
docs: {@inheritDoc}