@Version(value="1.0.0")
org.apache.sling.scripting.sightly.compiler.commands
package defines the API for
Command
processing.See: Description
Interface | Description |
---|---|
Command |
A
Command represents the type of instruction a certain HTL expression or block element should execute. |
CommandHandler |
The
CommandHandler is the mechanism through which a CommandStream can be processed synchronously, as the stream is
written. |
CommandStream |
This interface defines a stream to which
Command s are pushed during the compilation of a HTL script by the SightlyCompiler . |
CommandVisitor |
The
CommandVisitor is the mechanism through which a Command can be processed. |
Class | Description |
---|---|
AbstractCommandVisitor |
This class can be extended by
CommandVisitor implementations that don't provide support for all the available Command s. |
Conditional |
This
Command imposes a condition on the next rendering commands. |
Conditional.End | |
Conditional.Start | |
Loop |
This
Command renders a sequence of commands repeatedly. |
Loop.End | |
Loop.Start | |
OutputVariable |
This
Command renders a variable's value. |
OutText |
This
Command renders a text fragment. |
Procedure |
This
Command allows defining a HTL template - the only functional construct of the language. |
Procedure.Call | |
Procedure.End | |
Procedure.Start | |
StatefulVisitor |
This
CommandVisitor allows storing states for Command evaluation. |
VariableBinding |
This
Command marks the binding of a variable. |
VariableBinding.End | |
VariableBinding.Global | |
VariableBinding.Start |
org.apache.sling.scripting.sightly.compiler.commands
package defines the API for
Command
processing.Copyright © 2018 The Apache Software Foundation. All rights reserved.