Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.search.api.client.querymodel
Interface Escaper

All Known Implementing Classes:
LuceneMinimalEscaper

public interface Escaper

An interface for special character escaping in queries for easy configuration of this matter.

This is meant for the contents of string literals in where clauses, once they have been extracted. It's therefore not necessary to escape single quotes, unless of course they have some meaning to the search backend.

Author:
Georges Racinet

Method Summary
 String escape(String s)
          Escapes the provided string
 

Method Detail

escape

String escape(String s)
Escapes the provided string

Parameters:
s -
Returns:
the escaped string

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.