Class HelperRepository<T extends Helper>


  • public class HelperRepository<T extends Helper>
    extends java.lang.Object
    • Constructor Detail

      • HelperRepository

        public HelperRepository()
    • Method Detail

      • addHelper

        public void addHelper​(T aHelper)
        Add a helper to the repository.
        Parameters:
        aHelper - The helper to add.
      • findHelper

        public T findHelper​(java.lang.Class aClass)
        Lookup a helper in the repository.
        Parameters:
        aClass - The class for which a helper is wanted.
        Returns:
        The corresponding helper. There is always a general fallback helper which uses introspection to serialize the properties of a JavaBean. This property helper is always returned as a last possibility. So this method always returns a helper.
      • prettyPrint

        public java.lang.String prettyPrint()