| |
|
| com.caucho.jsp.java.JavaJspGenerator com.caucho.jsp.java.JavaTagGenerator
JavaTagGenerator | public class JavaTagGenerator extends JavaJspGenerator (Code) | | Generates JSP code. JavaGenerator, JavaScriptGenerator, and
StaticGenerator specialize the JspGenerator for language-specific
requirements.
JspParser parses the JSP file into an XML-DOM tree. JspGenerator
generates code from that tree.
|
Field Summary | |
final static L10N | L | final static Logger | log |
generatePrologue | protected void generatePrologue(JspJavaWriter out) throws Exception(Code) | | Generates prologue stuff
Parameters: out - the writer to the .java source |
getBodyContent | public String getBodyContent()(Code) | | Gets the body content.
|
getDynamicAttributes | public String getDynamicAttributes()(Code) | | Gets the body content.
|
isStaticDoTag | protected boolean isStaticDoTag()(Code) | | |
isTag | public boolean isTag()(Code) | | |
isXml | boolean isXml()(Code) | | Returns true for XML.
|
setBodyContent | public void setBodyContent(String bodyContent)(Code) | | Sets the body content.
|
setDescription | public void setDescription(String description)(Code) | | Returns true if the XML declaration should be ignored.
|
setDisplayName | public void setDisplayName(String displayName)(Code) | | |
setDynamicAttributes | public void setDynamicAttributes(String dynamicAttributes)(Code) | | Sets the name of the dynamic attributes map
|
setLargeIcon | public void setLargeIcon(String largeIcon)(Code) | | |
setSmallIcon | public void setSmallIcon(String smallIcon)(Code) | | |
Methods inherited from com.caucho.jsp.java.JavaJspGenerator | public void addBeanClass(String id, String typeName) throws Exception(Code)(Java Doc) public void addDeclaration(JspDeclaration decl)(Code)(Java Doc) public void addDeclared(String var)(Code)(Java Doc) public void addDepend(Path path)(Code)(Java Doc) public void addDepend(Class cl)(Code)(Java Doc) public void addDepend(PersistentDependency depend)(Code)(Java Doc) public int addExpr(String expr) throws JspParseException, ELException(Code)(Java Doc) public int addFragment(JspFragmentNode node)(Code)(Java Doc) protected void addImport(String name)(Code)(Java Doc) public int addMethodExpr(String value, String sigString) throws JspParseException, ELException(Code)(Java Doc) public void addOptionalTaglib(String prefix, String uri) throws JspParseException(Code)(Java Doc) public int addString(String string)(Code)(Java Doc) void addTagFileClass(String cl)(Code)(Java Doc) public void addTaglib(String prefix, String uri) throws JspParseException(Code)(Java Doc) public Taglib addTaglib(String prefix, String uri, boolean isOptional) throws JspParseException(Code)(Java Doc) public Taglib addTaglib(QName qname) throws JspParseException(Code)(Java Doc) public void addTaglibDir(String prefix, String tagdir) throws JspParseException(Code)(Java Doc) public int addValueExpr(String value, String type) throws JspParseException, ELException(Code)(Java Doc) public String addXPathExpr(String value, NamespaceContext ns) throws JspParseException, XPathParseException(Code)(Java Doc) public String addXPathExpr(com.caucho.xpath.Expr expr) throws JspParseException(Code)(Java Doc) public JspParseException error(String message)(Code)(Java Doc) public JspParseException error(Exception e)(Code)(Java Doc) protected void fillSingleTaglibImports() throws JspParseException(Code)(Java Doc) public com.caucho.el.Expr genExpr(String value) throws JspParseException, ELException(Code)(Java Doc) protected void generate(Path path, String className) throws Exception(Code)(Java Doc) protected void generate(JspJavaWriter out) throws Exception(Code)(Java Doc) protected void generateClassFooter(JspJavaWriter out) throws Exception(Code)(Java Doc) protected void generateClassHeader(JspJavaWriter out) throws IOException, JspParseException(Code)(Java Doc) public int generateJspId()(Code)(Java Doc) protected void generatePageFooter(JspJavaWriter out) throws IOException(Code)(Java Doc) protected void generatePageHeader(JspJavaWriter out) throws Exception(Code)(Java Doc) protected void generateStatic() throws Exception(Code)(Java Doc) Path getAppDir()(Code)(Java Doc) public Class getBeanClass(String typeName) throws ClassNotFoundException(Code)(Java Doc) String getCharacterEncoding()(Code)(Java Doc) public Class getClass(String id)(Code)(Java Doc) Path getClassDir()(Code)(Java Doc) public JspPageConfig getConfig()(Code)(Java Doc) public ArrayList<PersistentDependency> getDependList()(Code)(Java Doc) String getDoctypePublic()(Code)(Java Doc) String getDoctypeRootElement()(Code)(Java Doc) String getDoctypeSystem()(Code)(Java Doc) public ELContext getELContext()(Code)(Java Doc) public JspFragmentNode getFragment(int index)(Code)(Java Doc) Path getGeneratedPath() throws IOException(Code)(Java Doc) String getPackagePrefix()(Code)(Java Doc) public PageData getPageData() throws IOException(Code)(Java Doc) public ParseState getParseState()(Code)(Java Doc) public boolean getRecycleTags()(Code)(Java Doc) public TagInstance getRootTag()(Code)(Java Doc) public String getSourceLines(Path source, int errorLine)(Code)(Java Doc) public TagInfo getTag(QName qname) throws JspParseException(Code)(Java Doc) public Class getTagClass(QName qname) throws Exception(Code)(Java Doc) public ParseTagManager getTagManager()(Code)(Java Doc) public boolean hasScripting()(Code)(Java Doc) boolean hasTags()(Code)(Java Doc) public void init()(Code)(Java Doc) protected void init(String className)(Code)(Java Doc) public boolean isDeclared(String var)(Code)(Java Doc) public boolean isJsfPrologueInit()(Code)(Java Doc) boolean isOmitXmlDeclaration()(Code)(Java Doc) public boolean isStatic()(Code)(Java Doc) public boolean isStaticEncoding()(Code)(Java Doc) public boolean isTag()(Code)(Java Doc) boolean isXml()(Code)(Java Doc) Class loadBeanClass(String typeName)(Code)(Java Doc) WriteStream openWriteStream() throws IOException(Code)(Java Doc) Method resolveFunction(String prefix, String localName)(Code)(Java Doc) void setDoctypePublic(String doctypePublic)(Code)(Java Doc) void setDoctypeRootElement(String doctypeRootElement)(Code)(Java Doc) void setDoctypeSystem(String doctypeSystem)(Code)(Java Doc) void setIdeHack(boolean ideHack)(Code)(Java Doc) public void setJsfPrologueInit(boolean isInit)(Code)(Java Doc) void setOmitXmlDeclaration(boolean omitXml)(Code)(Java Doc) public void setPageConfig(JspPageConfig pageConfig)(Code)(Java Doc) protected void setParseState(ParseState parseState)(Code)(Java Doc) void setRequireSource(boolean requireSource)(Code)(Java Doc) public void setRootNode(JspNode node)(Code)(Java Doc) void setStaticEncoding(boolean staticEncoding)(Code)(Java Doc) public void setTagManager(ParseTagManager tagManager)(Code)(Java Doc) public int uniqueId()(Code)(Java Doc) public void validate() throws Exception(Code)(Java Doc)
|
|
|
|