Class Patterns
java.lang.Object
org.apache.sling.scripting.sightly.impl.compiler.Patterns
The
Patterns
class provides various static methods that implement commonly used stream processing commands.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
beginStreamIgnore
(PushStream stream) Inserts a sequence of commands that will ignore the rest of the stream until the end stream sequence is insertedstatic void
endStreamIgnore
(PushStream stream) Inserts a sequence of commands that cancels stream ignore
-
Constructor Details
-
Patterns
public Patterns()
-
-
Method Details
-
beginStreamIgnore
Inserts a sequence of commands that will ignore the rest of the stream until the end stream sequence is inserted- Parameters:
stream
- - the stream
-
endStreamIgnore
Inserts a sequence of commands that cancels stream ignore- Parameters:
stream
- - the input stream
-