Interface FacetProvider<T extends Facet>

Type Parameters:
T - type of facet
All Known Implementing Classes:
DataLoadCoordinatorFacetProvider, QueryParametersFacetProvider

public interface FacetProvider<T extends Facet>
Interface for Spring Beans providing non-visual components for views.
See Also:
  • Method Details

    • getFacetClass

      Class<T> getFacetClass()
      Returns:
      facet interface
    • create

      T create()
      Returns:
      new instance of the facet class
    • getFacetTag

      String getFacetTag()
      Returns:
      facet XML tag
    • loadFromXml

      void loadFromXml(T facet, org.dom4j.Element element, ComponentLoader.ComponentContext context)
      Loads properties of the facet from XML.
      Parameters:
      facet - facet
      element - XML element
      context - loading context