Class StringEscapesProcessor
java.lang.Object
org.eclipse.rdf4j.query.parser.sparql.StringEscapesProcessor
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
process
(org.eclipse.rdf4j.query.parser.sparql.ast.ASTOperationContainer qc) Processes escape sequences in ASTString objects.
-
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.
-