java.lang.Object
org.apache.sling.scripting.sightly.impl.compiler.Patterns

public final class Patterns extends Object
The Patterns class provides various static methods that implement commonly used stream processing commands.
  • Constructor Details

    • Patterns

      public Patterns()
  • Method Details

    • beginStreamIgnore

      public static void beginStreamIgnore(PushStream stream)
      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

      public static void endStreamIgnore(PushStream stream)
      Inserts a sequence of commands that cancels stream ignore
      Parameters:
      stream - - the input stream