public static class Block.Reference extends Object implements Renderable
Constructor and Description |
---|
Reference(InternalContextAdapter context,
Block parent) |
Modifier and Type | Method and Description |
---|---|
boolean |
getAsBoolean()
Makes #if( $blockRef ) true without rendering, so long as we aren't beyond max depth.
|
boolean |
render(InternalContextAdapter context,
Writer writer)
Render the AST of this block into the writer using the context.
|
String |
toString() |
public Reference(InternalContextAdapter context, Block parent)
context
- parent
- public boolean render(InternalContextAdapter context, Writer writer)
render
in interface Renderable
context
- writer
- public boolean getAsBoolean()
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.