Class TagHandlerUtils
java.lang.Object
org.apache.myfaces.view.facelets.tag.TagHandlerUtils
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 Summary
Modifier and TypeMethodDescriptionstatic <T> T
findFirstNextByType
(FaceletHandler nextHandler, Class<T> type) Find the first occurence of a tag handler that is instanceof Tstatic ArrayList<FaceletHandler>
findNextByType
(FaceletHandler nextHandler, Class<?>... type1) static ArrayList<FaceletHandler>
findNextByType
(FaceletHandler nextHandler, Class<?> type1, Class<?> type2) static <T> ArrayList<T>
findNextByType
(FaceletHandler nextHandler, Class<T> type) From TagHandler: protected final <T> Iterator<T> findNextByType(Class<T> type)
-
Method Details
-
findFirstNextByType
Find the first occurence of a tag handler that is instanceof T- Type Parameters:
T
-- Parameters:
nextHandler
-type
-- Returns:
- Since:
- 2.0.1
-
findNextByType
From TagHandler: protected final <T> Iterator<T> findNextByType(Class<T> type)- Parameters:
nextHandler
-type
-- Returns:
-
findNextByType
public static ArrayList<FaceletHandler> findNextByType(FaceletHandler nextHandler, Class<?>... type1) -
findNextByType
public static ArrayList<FaceletHandler> findNextByType(FaceletHandler nextHandler, Class<?> type1, Class<?> type2)
-