Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.jasper.compiler
Class BeanGenerator

    java.lang.Object
      |
      +--org.apache.jasper.compiler.GeneratorBase
            |
            +--org.apache.jasper.compiler.BeanGenerator

public class BeanGenerator
extends org.apache.jasper.compiler.GeneratorBase
implements ServiceMethodPhase, ClassDeclarationPhase

Generate code for useBean.

Author:
  Mandar Raje, Danno Ferrin

Fields inherited from class org.apache.jasper.compiler.GeneratorBase
`ctxt`

Constructor Summary
`BeanGenerator(Mark start, org.xml.sax.Attributes attrs, BeanRepository beanInfo, boolean genSession, boolean isXml)`

Method Summary
`void` | `checkSyntax(ServletWriter writer, java.lang.Class phase)`
`void` | `generate(ServletWriter writer, java.lang.Class phase)`
`protected void` | `generateBeanCreate(ServletWriter writer, java.lang.String varname, java.lang.String clsname, java.lang.String beanName, java.lang.String type)`
`void` | `generateMethod(ServletWriter writer, java.lang.Class phase)`
`java.lang.String` | `getAttribute(java.lang.String name)`

Methods inherited from class org.apache.jasper.compiler.GeneratorBase
`generateCoordinates, init`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### BeanGenerator

    public BeanGenerator(Mark start,
                         org.xml.sax.Attributes attrs,
                         BeanRepository beanInfo,
                         boolean genSession,
                         boolean isXml)

Method Detail

### generate

    public void generate(ServletWriter writer,
                         java.lang.Class phase)
                  throws JasperException

### checkSyntax

    public void checkSyntax(ServletWriter writer,
                            java.lang.Class phase)
                     throws JasperException

### generateMethod

    public void generateMethod(ServletWriter writer,
                               java.lang.Class phase)
                        throws 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)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000 Apache Software Foundation. All Rights Reserved.