Interface UrlQueryParametersBinderProvider
- All Known Implementing Classes:
AbstractUrlQueryParametersBinderProvider
,DataGridFilterUrlQueryParametersBinderProvider
,FullCalendarUrlQueryParametersBinderProvider
,GenericFilterUrlQueryParametersBinderProvider
,PaginationUrlQueryParametersBinderProvider
,PropertyFilterUrlQueryParametersBinderProvider
public interface UrlQueryParametersBinderProvider
Interface to be implemented by Spring beans that should load binder for specific component from
UrlQueryParametersFacet
XML description.-
Method Summary
Modifier and TypeMethodDescriptionvoid
load
(UrlQueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Loads parameters from XML to create a binder that binds the parameters of the URL query and the state of the component.boolean
supports
(org.dom4j.Element element) Checks whether the provided element can be loaded by provider.
-
Method Details
-
supports
boolean supports(org.dom4j.Element element) Checks whether the provided element can be loaded by provider.- Parameters:
element
- element to check- Returns:
true
if element is supported
-
load
void load(UrlQueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Loads parameters from XML to create a binder that binds the parameters of the URL query and the state of the component.See example:
PaginationUrlQueryParametersBinderProvider
.- Parameters:
facet
- the facetelement
- element to loadcontext
- loader context
-