if (param == null) {
return null;
}
// TODO We need to give the user the ability to specify if MTOM 1.0 or MTOM 1.1 should be used.
MTOMAssertion mtom10;
if (Constants.VALUE_TRUE.equals(param.getValue())) {
mtom10 = new MTOM10Assertion();
} else if (Constants.VALUE_OPTIONAL.equals(param.getValue())) {
mtom10 = new MTOM10Assertion();
mtom10.setOptional(true);
} else {
return null;
}
Policy policy = new Policy();