|
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.AbstractGenerator
com.sun.faces.generate.HtmlTaglib12Generator
public class HtmlTaglib12Generator
This class generates tag handler class code that is special to the "html_basic" package.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.sun.faces.generate.AbstractGenerator |
---|
AbstractGenerator.CodeWriter |
Field Summary | |
---|---|
protected ComponentBean |
component
|
protected FacesConfigBean |
configBean
|
protected PropertyManager |
propManager
|
protected RendererBean |
renderer
|
protected String |
tagClassName
|
protected AbstractGenerator.CodeWriter |
writer
|
Fields inherited from class com.sun.faces.generate.AbstractGenerator |
---|
JAVA_KEYWORDS, TYPE_DEFAULTS |
Constructor Summary | |
---|---|
HtmlTaglib12Generator(PropertyManager propManager)
|
Method Summary | |
---|---|
protected void |
addImport(String fullyQualClassName)
|
void |
generate(FacesConfigBean configBean)
Perform whatever generation tasks are necessary using the provided FacesConfigBean as the model. |
protected static boolean |
isValueHolder(String componentClass)
|
static void |
main(String[] args)
|
protected void |
setTldGenerator(JspTLDGenerator tldGenerator)
Set the JspTLDGenerator to be used by the taglib
generator. |
protected void |
tagHanderSetPropertiesMethod()
|
protected void |
tagHandlerClassicSupportMethods()
Generate Tag Handler support methods |
protected void |
tagHandlerGeneralMethods()
Generate Tag Handler general methods from component properties and renderer attributes. |
protected void |
tagHandlerPrefix()
Generate copyright, package declaration, import statements, class declaration. |
protected void |
tagHandlerReleaseMethod()
|
protected void |
tagHandlerSetterMethods()
Generate Tag Handler setter methods from component properties and renderer attributes. |
protected void |
tagHandlerSuffix()
Generate remaining Tag Handler methods |
protected void |
writeClassDeclaration()
|
protected void |
writeClassDocumentation()
|
protected void |
writeCopyright()
|
protected void |
writeImports()
|
protected void |
writePackage()
|
protected void |
writeSuperTagCallBody(String method,
boolean hasReturn)
Convience method to generate code for a super call to a JSP tag lifecycle method. |
Methods inherited from class com.sun.faces.generate.AbstractGenerator |
---|
capitalize, mangle, options, primitive, shortName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected AbstractGenerator.CodeWriter writer
protected ComponentBean component
protected RendererBean renderer
protected String tagClassName
protected FacesConfigBean configBean
protected PropertyManager propManager
Constructor Detail |
---|
public HtmlTaglib12Generator(PropertyManager propManager)
Method Detail |
---|
public void generate(FacesConfigBean configBean)
Generator
Perform whatever generation tasks are necessary using
the provided FacesConfigBean
as the model.
configBean
- model datapublic static void main(String[] args)
protected void setTldGenerator(JspTLDGenerator tldGenerator)
Set the JspTLDGenerator
to be used by the taglib
generator.
tldGenerator
- JspTLDGenerator
instanceprotected void addImport(String fullyQualClassName)
protected void writeImports() throws Exception
Exception
protected void writeCopyright() throws Exception
Exception
protected void writePackage() throws Exception
Exception
protected void writeClassDocumentation() throws Exception
Exception
protected void writeClassDeclaration() throws Exception
Exception
protected void tagHandlerPrefix() throws Exception
Exception
protected void tagHandlerReleaseMethod() throws Exception
Exception
protected void tagHandlerSetterMethods() throws Exception
Exception
protected void tagHanderSetPropertiesMethod() throws Exception
Exception
protected void tagHandlerGeneralMethods() throws Exception
Exception
protected static boolean isValueHolder(String componentClass)
protected void tagHandlerClassicSupportMethods() throws Exception
Exception
protected void writeSuperTagCallBody(String method, boolean hasReturn) throws IOException
Convience method to generate code for a super call to a JSP tag lifecycle method.
method
- JSP tag lifecycle method name
IOException
protected void tagHandlerSuffix() 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 |