Class TagHandlerUtils


  • public final class TagHandlerUtils
    extends Object
    This class was created to gather some code from latest Facelets not existing in latest Faces 2.0 spec. Also, since it was created on the fly while converting, it's highly possible that methods in this class should be moved in a more logical location and/or removed.
    Since:
    2.0
    Version:
    $Revision$ $Date$
    Author:
    Simon Lessard (latest modification by $Author$)
    • Method Detail

      • findFirstNextByType

        public static <T> T findFirstNextByType​(FaceletHandler nextHandler,
                                                Class<T> type)
        Find the first occurence of a tag handler that is instanceof T
        Type Parameters:
        T -
        Parameters:
        nextHandler -
        type -
        Returns:
        Since:
        2.0.1
      • findNextByType

        public static <T> ArrayList<T> findNextByType​(FaceletHandler nextHandler,
                                                      Class<T> type)
        From TagHandler: protected final <T> Iterator<T> findNextByType(Class<T> type)
        Parameters:
        nextHandler -
        type -
        Returns: