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 Details

    • StringEscapesProcessor

      public StringEscapesProcessor()
  • Method Details

    • 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.