Package org.apache.velocity.util.introspection

Examples of org.apache.velocity.util.introspection.Info


    {
        super.init(context, data);

        identifier = getFirstToken().image;

        uberInfo = new Info(context.getCurrentTemplateName(),
                getLine(), getColumn());

        return data;
    }
View Full Code Here


        /*
         * make an uberinfo - saves new's later on
         */

        uberInfo = new Info(context.getCurrentTemplateName(),
                getLine(),getColumn());
    }
View Full Code Here

              // mainly check the number of arguments
                vmProxy.init(rsvc, this.context, this.node);
            }
            catch (TemplateInitException die)
            {
                Info info = new Info(sourceTemplate, node.getLine(), node.getColumn());

                throw new ParseErrorException(die.getMessage(), info);
            }
            return vmProxy.render(context, writer, node);
        }
View Full Code Here

             *  init the tree correctly
             */
   
            super.init( context, data );
   
            uberInfo = new Info(context.getCurrentTemplateName(),
                    getLine(), getColumn());
   
            right = getRightHandSide();
            left = getLeftHandSide();
   
View Full Code Here

        /*
         * make an uberinfo - saves new's later on
         */

        uberInfo = new Info(context.getCurrentTemplateName(),
                getLine(),getColumn());
        /*
         *  this is about all we can do
         */

 
View Full Code Here

                /*
                 *  otherwise, do the introspection, and then
                 *  cache it
                 */

                method = rsvc.getUberspect().getMethod(o, methodName, params, new Info(context.getCurrentTemplateName(), getLine(), getColumn()));

                if ((method != null) && (o != null))
                {
                    icd = new IntrospectionCacheData();
                    icd.contextData = o.getClass();
View Full Code Here

        /*
         * make an uberinfo - saves new's later on
         */

        uberInfo = new Info(context.getCurrentTemplateName(),
                getLine(),getColumn());

        /*
         * track whether we log invalid references
         */
 
View Full Code Here

    {
        super.init(context, data);

        identifier = getFirstToken().image;

        uberInfo = new Info(context.getCurrentTemplateName(),
                getLine(), getColumn());

        strictRef = rsvc.getBoolean(RuntimeConstants.RUNTIME_REFERENCES_STRICT, false);
       
        return data;
View Full Code Here

      {
        /*
         * otherwise, do the introspection, and then cache it
         */
        method = VelocityUtil.getEngine().getRuntimeServices().getUberspect().getMethod(o, methodName, params,
           new Info(node.getTemplateName(), node.getLine(), node.getColumn()));

        if ((method != null) && (o != null))
        {
          icd = new IntrospectionCacheData();
          icd.contextData = o.getClass();
View Full Code Here

        /*
         * make an uberinfo - saves new's later on
         */

        uberInfo = new Info(this.getTemplateName(),
                getLine(),getColumn());
    }
View Full Code Here

TOP

Related Classes of org.apache.velocity.util.introspection.Info

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.