AttributesImpl sldAtts = new AttributesImpl();
WMS config = request.getWMS();
String supportsSLD = config.supportsSLD() ? "1" : "0";
String supportsUserLayer = config.supportsUserLayer() ? "1" : "0";
String supportsUserStyle = config.supportsUserStyle() ? "1" : "0";
String supportsRemoteWFS = config.supportsRemoteWFS() ? "1" : "0";
sldAtts.addAttribute("", "SupportSLD", "SupportSLD", "", supportsSLD);
sldAtts.addAttribute("", "UserLayer", "UserLayer", "",
supportsUserLayer);
sldAtts.addAttribute("", "UserStyle", "UserStyle", "",
supportsUserStyle);