org.araneaframework.uilib.form.control
Class AutoCompleteTextControl.DefaultResponseBuilder
java.lang.Object
org.araneaframework.uilib.form.control.AutoCompleteTextControl.DefaultResponseBuilder
- All Implemented Interfaces:
- AutoCompleteTextControl.ResponseBuilder, Serializable
- Enclosing class:
- AutoCompleteTextControl
- public static class AutoCompleteTextControl.DefaultResponseBuilder
- extends Object
- implements AutoCompleteTextControl.ResponseBuilder
Default AutoCompleteTextControl.ResponseBuilder used when AutoCompleteTextControl does not have
its AutoCompleteTextControl.ResponseBuilder set and ConfigurationContext.AUTO_COMPLETE_RESPONSE_BUILDER
does not specify application-wide AutoCompleteTextControl.ResponseBuilder.
- Author:
- Steven Jentson (steven@webmedia.ee)
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutoCompleteTextControl.DefaultResponseBuilder
public AutoCompleteTextControl.DefaultResponseBuilder()
getResponseContent
public String getResponseContent(List suggestions)
- Description copied from interface:
AutoCompleteTextControl.ResponseBuilder
- Returns response content with
suggestions appropriately set.
- Specified by:
getResponseContent in interface AutoCompleteTextControl.ResponseBuilder
- Parameters:
suggestions - suggested completions that should be included in response
- Returns:
- appropriate response content
getResponseContentType
public String getResponseContentType()
- Description copied from interface:
AutoCompleteTextControl.ResponseBuilder
- Returns response content type.
- Specified by:
getResponseContentType in interface AutoCompleteTextControl.ResponseBuilder
- Returns:
- response content type