openSearchDescriptor.setTags(TAGS);
openSearchDescriptor.addInputEncoding(ENCODING);
openSearchDescriptor.addOutputEncoding(ENCODING);
// set OpenSearch URL parameters
OpenSearchParameter severityParameter =
new OpenSearchParameter(SEVERIIY, URN_SEVERIIY, false);
OpenSearchParameter ftsParameter =
new OpenSearchParameter(FTS, OpenSearchParameter.OpenSearchParams.searchTerms
.toString(), false);
OpenSearchParameter assignedToParameter = new OpenSearchParameter();
assignedToParameter.setMandatory(false);
assignedToParameter.setParameterKey(ASSIGNED_TO);
assignedToParameter.setParameter(URN_ASSIGNED_TO);
// create Search URL & populate search parameters for browsers
OpenSearchUrl openSearchUrlForBrowsers = new OpenSearchUrl();
openSearchUrlForBrowsers.addOpenSearchParameter(ftsParameter);
openSearchUrlForBrowsers.setType(MediaType.TEXT_HTML);