Examples of VelocimacroProxy


Examples of org.apache.flex.forks.velocity.runtime.directive.VelocimacroProxy

            return sourcetemplate;
        }

        VelocimacroProxy createVelocimacro(String namespace)
        {
            VelocimacroProxy vp = new VelocimacroProxy();
            vp.setName(this.macroname);
            vp.setArgArray(this.argarray);
            vp.setNodeTree(this.nodeTree);
            vp.setNamespace(namespace);
            return vp;
        }
View Full Code Here

Examples of org.apache.flex.forks.velocity.runtime.directive.VelocimacroProxy

     *  behave correctly wrt getting the framework to
     *  dig out the correct # of args
     */
    public Directive getVelocimacro( String vmName, String sourceTemplate )
    {
        VelocimacroProxy vp = null;

        synchronized( this )
        {
            /*
             *  don't ask - do
View Full Code Here

Examples of org.apache.velocity.runtime.directive.VelocimacroProxy

     *  behave correctly wrt getting the framework to
     *  dig out the correct # of args
     */
    public Directive getVelocimacro( String vmName, String sourceTemplate )
    {
        VelocimacroProxy vp = null;

        synchronized( this )
        {
            /*
             *  don't ask - do
View Full Code Here

Examples of org.apache.velocity.runtime.directive.VelocimacroProxy

            return sourcetemplate;
        }

        VelocimacroProxy createVelocimacro(String namespace)
        {
            VelocimacroProxy vp = new VelocimacroProxy();
            vp.setName(this.macroname);
            vp.setArgArray(this.argarray);
            vp.setMacrobody(this.macrobody);
            vp.setNodeTree(this.nodeTree);
            vp.setNamespace(namespace);
            return vp;
        }
View Full Code Here

Examples of org.apache.velocity.runtime.directive.VelocimacroProxy

            return sourcetemplate;
        }

        VelocimacroProxy createVelocimacro(String namespace)
        {
            VelocimacroProxy vp = new VelocimacroProxy();
            vp.setName(this.macroname);
            vp.setArgArray(this.argarray);
            vp.setMacrobody(this.macrobody);
            vp.setNodeTree(this.nodeTree);
            vp.setNamespace(namespace);
            return vp;
        }
View Full Code Here

Examples of org.apache.velocity.runtime.directive.VelocimacroProxy

     *  behave correctly wrt getting the framework to
     *  dig out the correct # of args
     */
    public Directive getVelocimacro( String vmName, String sourceTemplate )
    {
        VelocimacroProxy vp = null;

        synchronized( this )
        {
            /*
             *  don't ask - do
View Full Code Here

Examples of org.apache.velocity.runtime.directive.VelocimacroProxy

     * @param sourceTemplate Source template from which the macro should be loaded.
     * @return A directive representing the Macro.
     */
    public Directive getVelocimacro(String vmName, String sourceTemplate)
    {
        VelocimacroProxy vp = null;

        synchronized(this)
        {
            /*
             *  don't ask - do
View Full Code Here

Examples of org.apache.velocity.runtime.directive.VelocimacroProxy

            return sourceTemplate;
        }

        VelocimacroProxy createVelocimacro(final String namespace)
        {
            VelocimacroProxy vp = new VelocimacroProxy();
            vp.setName(this.vmName);
            vp.setArgArray(this.argArray);
            vp.setMacrobody(this.macroBody);
            vp.setNodeTree(this.nodeTree);
            vp.setNamespace(namespace);
            return vp;
        }
View Full Code Here

Examples of org.apache.velocity.runtime.directive.VelocimacroProxy

     /**
      * @since 1.6
      */
     public Directive getVelocimacro(String vmName, String sourceTemplate, String renderingTemplate)
     {
        VelocimacroProxy vp = null;

        vp = vmManager.get(vmName, sourceTemplate, renderingTemplate);

        /*
         * if this exists, and autoload is on, we need to check where this VM came from
View Full Code Here

Examples of org.apache.velocity.runtime.directive.VelocimacroProxy

            this.vmName = vmName;
            this.argArray = argArray;
            this.nodeTree = (SimpleNode)macro;
            this.sourceTemplate = sourceTemplate;

            vp = new VelocimacroProxy();
            vp.setName(this.vmName);
            vp.setArgArray(this.argArray);
            vp.setNodeTree(this.nodeTree);
            vp.setLocation(macro.getLine(), macro.getColumn(), macro.getTemplateName());
            vp.init(rsvc);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.