Package org.apache.sling.scripting.sightly.compiler.commands
@Version("1.1.0")
package org.apache.sling.scripting.sightly.compiler.commands
The
org.apache.sling.scripting.sightly.compiler.commands package defines the API for
Command processing.-
ClassDescriptionThis class can be extended by
CommandVisitorimplementations that don't provide support for all the availableCommands.ACommandrepresents the type of instruction a certain HTL expression or block element should execute.TheCommandHandleris the mechanism through which aCommandStreamcan be processed synchronously, as the stream is written.This interface defines a stream to whichCommands are pushed during the compilation of a HTL script by theSightlyCompiler.TheCommandVisitoris the mechanism through which aCommandcan be processed.ThisCommandimposes a condition on the next rendering commands.ThisCommandrenders a sequence of commands repeatedly.ThisCommandrenders a variable's value.ThisCommandrenders a text fragment.ThisCommandallows defining a HTL template - the only functional construct of the language.ThisCommandVisitorallows storing states forCommandevaluation.ThisCommandmarks the binding of a variable.