code: public final void validate() throws ValidationException {
  
          /*
           * ; the following is optional, ; but MUST NOT occur more than once (";" fmttypeparam) /
           */
          ParameterValidator.getInstance().assertOneOrLess(Parameter.FMTTYPE,
                  getParameters());
  
          /*
           * ; the following is optional, ; and MAY occur more than once (";" xparam)
           */
  
          /*
           * If the value type parameter is ";VALUE=BINARY", then the inline encoding parameter MUST be specified with the
           * value ";ENCODING=BASE64".
           */
          if (Value.BINARY.equals(getParameter(Parameter.VALUE))) {
              ParameterValidator.getInstance().assertOne(Parameter.ENCODING,
                      getParameters());
              if (!Encoding.BASE64.equals(getParameter(Parameter.ENCODING))) {
                  throw new ValidationException(
                          "If the value type parameter is [BINARY], the inline"
                                  + "encoding parameter MUST be specified with the value [BASE64]"
                  );
              }
          }
      }
docs: {@inheritDoc}