org.eclipse.rdf4j.query.parser.sparql

## Class StringEscapesProcessor

- java.lang.Object
- - org.eclipse.rdf4j.query.parser.sparql.StringEscapesProcessor

-     @InternalUseOnly
      public class StringEscapesProcessor
      extends Object

  Processes escape sequences in strings, replacing the escape sequence with their actual value. Escape sequences for SPARQL strings are documented in section 19.7 Escape sequences in strings.
  Author:
    Arjohn Kampman

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StringEscapesProcessor()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `process(org.eclipse.rdf4j.query.parser.sparql.ast.ASTOperationContainer qc)` Processes escape sequences in ASTString objects.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### StringEscapesProcessor

          public StringEscapesProcessor()

  - ### Method Detail

    - #### process

          public static void process(org.eclipse.rdf4j.query.parser.sparql.ast.ASTOperationContainer qc)
                              throws MalformedQueryException

      Processes escape sequences in ASTString objects.
      Parameters:
        `qc` - The query that needs to be processed.
      Throws:
        `MalformedQueryException` - If an invalid escape sequence was found.

Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.