public List<GeneratorOutput> getCheckOutput(Filer filer) throws IOException
    {
        HashMap<String,Object> map = new HashMap<String,Object>();

        map.put("intf", this);                  // the control interface
        map.put("bean", _bean);

        ArrayList<GeneratorOutput> genList = new ArrayList<GeneratorOutput>();

        //
        // the ControlBean class
        //
        Writer beanWriter = new IndentingWriter(filer.createSourceFile(_bean.getClassName()));
        GeneratorOutput beanSource =
            new GeneratorOutput(beanWriter,
                               "org/apache/beehive/controls/runtime/generator/ControlBean.vm", map);
        genList.add(beanSource);

        //
        // the ControlBean BeanInfo class
        //
        Writer beanInfoWriter = new IndentingWriter(filer.createSourceFile(_bean.getBeanInfoName()));
        GeneratorOutput beanInfoSource =
            new GeneratorOutput(beanInfoWriter,
                "org/apache/beehive/controls/runtime/generator/ControlBeanInfo.vm", map);
        genList.add(beanInfoSource);

        return genList;
    }
public List < GeneratorOutput > getCheckOutput ( Filer filer ) throws IOException { HashMap < String , Object > map = new HashMap < String , Object > ( ) ; map . put ( "intf" , this ) ; map . put ( "bean" , _bean ) ; ArrayList < GeneratorOutput > genList = new ArrayList < GeneratorOutput > ( ) ; Writer beanWriter = new IndentingWriter ( filer . createSourceFile ( _bean . getClassName ( ) ) ) ; GeneratorOutput beanSource = new GeneratorOutput ( beanWriter , "org/apache/beehive/controls/runtime/generator/ControlBean.vm" , map ) ; genList . add ( beanSource ) ; Writer beanInfoWriter = new IndentingWriter ( filer . createSourceFile ( _bean . getBeanInfoName ( ) ) ) ; GeneratorOutput beanInfoSource = new GeneratorOutput ( beanInfoWriter , "org/apache/beehive/controls/runtime/generator/ControlBeanInfo.vm" , map ) ; genList . add ( beanInfoSource ) ; return genList ; }
Returns the information necessary to generate a ControlBean from this AptControlInterface