/** * Required. The reason for which the XML elements or attributes were sanitized. * * @param reason * Required. The reason for which the XML elements or attributes were sanitized. * @return Returns a reference to this object so that method calls can be chained together. * @see SanitizationWarningReason */ public SanitizationWarning withReason(String reason) { setReason(reason); return this; }
sanitizationWarning.setReason(context.getUnmarshaller(String.class).unmarshall(context));
/** * Required. The reason for which the XML elements or attributes were sanitized. * * @param reason * Required. The reason for which the XML elements or attributes were sanitized. * @return Returns a reference to this object so that method calls can be chained together. * @see SanitizationWarningReason */ public SanitizationWarning withReason(String reason) { setReason(reason); return this; }
sanitizationWarning.setReason(context.getUnmarshaller(String.class).unmarshall(context));