org.apache.jasper.compiler
Class BeanGenerator
java.lang.Object
|
+--org.apache.jasper.compiler.GeneratorBase
|
+--org.apache.jasper.compiler.BeanGenerator
- All Implemented Interfaces:
- ClassDeclarationPhase, Generator, ServiceMethodPhase
- public class BeanGenerator
- extends org.apache.jasper.compiler.GeneratorBase
- implements ServiceMethodPhase, ClassDeclarationPhase
Generate code for useBean.
- Author:
- Mandar Raje, Danno Ferrin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ctxt
protected JspCompilationContext ctxt
BeanGenerator
public BeanGenerator(Mark start,
org.xml.sax.Attributes attrs,
BeanRepository beanInfo,
boolean genSession,
boolean isXml)
generate
public void generate(ServletWriter writer,
java.lang.Class phase)
throws JasperException
- Specified by:
generate
in interface Generator
JasperException
checkSyntax
public void checkSyntax(ServletWriter writer,
java.lang.Class phase)
throws JasperException
JasperException
generateMethod
public void generateMethod(ServletWriter writer,
java.lang.Class phase)
throws JasperException
JasperException
generateBeanCreate
protected void generateBeanCreate(ServletWriter writer,
java.lang.String varname,
java.lang.String clsname,
java.lang.String beanName,
java.lang.String type)
getAttribute
public java.lang.String getAttribute(java.lang.String name)
init
public void init(JspCompilationContext ctxt)
throws JasperException
- Specified by:
init
in interface Generator
JasperException
generateCoordinates
public boolean generateCoordinates(java.lang.Class phase)
- Specified by:
generateCoordinates
in interface Generator
Copyright © 2000 Apache Software Foundation. All Rights Reserved.