|
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.JspTLDGenerator
public abstract class JspTLDGenerator
Base class for JSP TLD generation.
Nested Class Summary | |
---|---|
protected static class |
JspTLDGenerator.XMLWriter
A simple class to handle the writing of XML documents. |
Field Summary | |
---|---|
protected FacesConfigBean |
configBean
|
protected PropertyManager |
propManager
|
protected JspTLDGenerator.XMLWriter |
writer
|
Constructor Summary | |
---|---|
JspTLDGenerator(PropertyManager propManager)
|
Method Summary | |
---|---|
protected boolean |
attributeShouldBeExcluded(RendererBean renderer,
String attribute)
|
protected void |
endDocument()
|
void |
generate(FacesConfigBean configBean)
Perform whatever generation tasks are necessary using the provided FacesConfigBean as the model. |
protected String |
getBodyContent(String tagName)
Return the tag body content information (if any) for a given tag. |
protected String |
getRtexprvalue(String tagName,
String attributeName)
Return the "rtexprvalue" element value for the tag attribute. |
protected void |
initWriter()
|
protected String |
loadOptionalTags()
Load any additional tag definitions from the specified file. |
protected String |
makeTldTagName(String componentFamily,
String rendererType)
Build the tag name from componentFamily and rendererType. |
protected void |
writeDocument()
|
protected void |
writeProlog()
|
protected abstract void |
writeTags()
|
protected abstract void |
writeTldDescription()
|
protected void |
writeValidators()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected JspTLDGenerator.XMLWriter writer
protected FacesConfigBean configBean
protected PropertyManager propManager
Constructor Detail |
---|
public JspTLDGenerator(PropertyManager propManager)
Method Detail |
---|
public void generate(FacesConfigBean configBean)
Generator
Perform whatever generation tasks are necessary using
the provided FacesConfigBean
as the model.
generate
in interface Generator
configBean
- model dataprotected void writeDocument() throws IOException
IOException
protected void writeProlog() throws IOException
IOException
protected abstract void writeTldDescription() throws IOException
IOException
protected abstract void writeTags() throws IOException
IOException
protected void endDocument() throws IOException
IOException
protected void writeValidators() throws IOException
IOException
protected void initWriter() throws IOException
IOException
protected String makeTldTagName(String componentFamily, String rendererType)
componentFamily
- the component familyrendererType
- the renderer typeprotected boolean attributeShouldBeExcluded(RendererBean renderer, String attribute)
protected String getBodyContent(String tagName)
protected String getRtexprvalue(String tagName, String attributeName)
protected String loadOptionalTags() throws IOException
Load any additional tag definitions from the specified file. This file might include tags such as "column" which have no renderer, but need to be generated into the TLD file.
IOException
|
Mojarra JSF Tools 2.1.28.SP9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |