@Deprecated public abstract class BaseRenderUnit extends Object implements RenderUnit
This abstract class was previsouly used as the base class for Sightly templates translated to Java classes. With the move from Sightly to Apache Sling this class is not used any longer. Non-Sightly implementations of this class are ignored.
Constructor and Description |
---|
BaseRenderUnit()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
RenderUnit |
get(String name)
Deprecated.
Get the value of the specified property
|
Set<String> |
properties()
Deprecated.
Get the set of properties for this record
|
void |
render(RenderContext renderContext,
javax.script.Bindings arguments)
Deprecated.
Render the main script template
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProperty, getPropertyNames
public final void render(RenderContext renderContext, javax.script.Bindings arguments)
RenderUnit
render
in interface RenderUnit
renderContext
- - the rendering contextarguments
- - the arguments for this unitpublic RenderUnit get(String name)
Record
name
- the name of the property"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"