// render as AutocompleteResponse
// render javascript register active style method if is needed
AutocompleteRenderer autocompleteRenderer
= getAutocompleteRenderer(protocol);
if (null != autocompleteRenderer) {
autocompleteRenderer.renderLiClose(
protocol, (ListItemAttributes) protocolAttributes);
}
} else {
// default rendring
protocol.writeCloseListItem((ListItemAttributes) protocolAttributes);