|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.view.facelets.TagHandler
org.primefaces.extensions.component.importconstants.ImportConstantsTagHandler
public class ImportConstantsTagHandler
TagHandler for the ImportConstants component.
| Field Summary |
|---|
| Fields inherited from class javax.faces.view.facelets.TagHandler |
|---|
nextHandler, tag, tagId |
| Constructor Summary | |
|---|---|
ImportConstantsTagHandler(javax.faces.view.facelets.TagConfig config)
Default constructor. |
|
| Method Summary | |
|---|---|
void |
apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
|
protected java.util.Map<java.lang.String,java.lang.Object> |
collectConstants(java.lang.Class<?> clazz)
Collects all constants of the given Class. |
protected java.lang.Class<?> |
getClassFromAttribute(javax.faces.view.facelets.TagAttribute attribute,
javax.faces.view.facelets.FaceletContext ctx)
Gets the Class from the TagAttribute. |
protected java.util.Map<java.lang.String,java.lang.Object> |
getConstants(java.lang.Class<?> clazz)
Get all constants of the given Class. |
| Methods inherited from class javax.faces.view.facelets.TagHandler |
|---|
getAttribute, getRequiredAttribute, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ImportConstantsTagHandler(javax.faces.view.facelets.TagConfig config)
config - The TagConfig.| Method Detail |
|---|
public void apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
throws java.io.IOException
java.io.IOException
protected java.lang.Class<?> getClassFromAttribute(javax.faces.view.facelets.TagAttribute attribute,
javax.faces.view.facelets.FaceletContext ctx)
Class from the TagAttribute.
attribute - The TagAttribute.ctx - The FaceletContext.
Class.protected java.util.Map<java.lang.String,java.lang.Object> getConstants(java.lang.Class<?> clazz)
Class.
clazz - The class which includes the constants.
Map with the constants.protected java.util.Map<java.lang.String,java.lang.Object> collectConstants(java.lang.Class<?> clazz)
Class.
clazz - The class which includes the constants.
Map with the found constants.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||