org.openrdf.query.parser.sparql
Class StringEscapesProcessor

java.lang.Object
  extended by org.openrdf.query.parser.sparql.StringEscapesProcessor

public class StringEscapesProcessor
extends Object

Processes escape sequences in strings, replacing the escape sequence with their actual value. Escape sequences for SPARQL are documented in section A.7 Escape sequences in strings.

Author:
Arjohn Kampman

Constructor Summary
StringEscapesProcessor()
           
 
Method Summary
static void process(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(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 © 2001-2012 Aduna. All Rights Reserved.