|
Mojarra JSF Tools 2.1.28.SP9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.faces.generate.GeneratorUtil
public class GeneratorUtil
Utility methods that may be useful to all Generators
.
Constructor Summary | |
---|---|
GeneratorUtil()
|
Method Summary | |
---|---|
static String |
convertToObject(String primitiveType)
|
static String |
convertToPrimitive(String objectType)
|
static Map<String,ComponentBean> |
getComponentFamilyComponentMap(FacesConfigBean configBean)
|
static Map<String,ArrayList<RendererBean>> |
getComponentFamilyRendererMap(FacesConfigBean configBean,
String renderKitId)
|
static FacesConfigBean |
getConfigBean(String facesConfig)
|
static String |
getFirstDivFromString(String toParse,
int[] out)
|
static String |
getFirstSpanFromString(String toParse,
int[] out)
|
static JspTLDGenerator |
getTldGenerator(PropertyManager propManager)
Obtain an instance of JspTldGenerator based on the JSP version provided. |
static String |
makeTagClassName(String componentFamily,
String rendererType)
Build the tag handler class name from componentFamily and rendererType. |
static String |
stripJavaxFacesPrefix(String identifier)
Strip any "javax.faces." prefix from the beginning of the specified identifier, and return it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeneratorUtil()
Method Detail |
---|
public static String convertToPrimitive(String objectType)
public static String convertToObject(String primitiveType)
public static JspTLDGenerator getTldGenerator(PropertyManager propManager)
public static String stripJavaxFacesPrefix(String identifier)
Strip any "javax.faces." prefix from the beginning of the specified identifier, and return it.
identifier
- Identifier to be strippedpublic static String makeTagClassName(String componentFamily, String rendererType)
componentFamily
- the component familyrendererType
- the renderer typepublic static Map<String,ComponentBean> getComponentFamilyComponentMap(FacesConfigBean configBean)
ComponentBean
instances Only include components that do not have a base
component type.public static Map<String,ArrayList<RendererBean>> getComponentFamilyRendererMap(FacesConfigBean configBean, String renderKitId)
public static String getFirstDivFromString(String toParse, int[] out)
public static String getFirstSpanFromString(String toParse, int[] out)
public static FacesConfigBean getConfigBean(String facesConfig) throws Exception
Exception
|
Mojarra JSF Tools 2.1.28.SP9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |