Block.Reference (Velocity 1.7 API)
Keywords: org.apache.velocity.runtime.directive.Block.Reference class

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

## org.apache.velocity.runtime.directive
Class Block.Reference

    java.lang.Object
      org.apache.velocity.runtime.directive.Block.Reference

All Implemented Interfaces:
  Renderable

Enclosing class:
  Block

public static class Block.Reference
extends Object
implements Renderable

actual class placed in the context, holds the context being used for the render, as well as the parent (which already holds everything else we need).

Constructor Summary
`Block.Reference(InternalContextAdapter context, Block parent)`

Method Summary
`boolean` | `render(InternalContextAdapter context, Writer writer)` Render the AST of this block into the writer using the context.
`String` | `toString()`

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

Constructor Detail

### Block.Reference

    public Block.Reference(InternalContextAdapter context,
                           Block parent)

Method Detail

### render

    public boolean render(InternalContextAdapter context,
                          Writer writer)

  Render the AST of this block into the writer using the context.

  Specified by:
    `render` in interface `Renderable`

### toString

    public String toString()

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

Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.