@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);
  }
@ 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 ) ; }
{@inheritDoc}