Searched defs:escape (Results 1 - 8 of 8) sorted by relevance

/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/parser/
H A DEscapeQuerySyntax.java24 * to escape the queries, when the toQueryString method is called.
37 * - select the type of escape operation to use
40 CharSequence escape(CharSequence text, Locale locale, Type type); method in interface:EscapeQuerySyntax
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/
H A DQueryParserUtil.java190 public static String escape(String s) { method in class:QueryParserUtil
H A DQueryParserWrapper.java79 public static String escape(String s) { method in class:QueryParserWrapper
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/common/util/
H A DXML.java32 // only have to escape quotes in attribute values, and don't really have to escape '>'
44 #Simple python script used to generate the escape table above. -YCS
55 #a real XML escape would cause many strict XML parsers to choke.
79 escape(str, out, chardata_escapes);
83 escape(str, out, attribute_escapes);
87 escape(chars, start, length, out, attribute_escapes);
107 /** does NOT escape character data in val, must already be valid XML */
182 private static void escape(char [] chars, int offset, int length, Writer out, String [] escapes) throws IOException{ method in class:XML
196 private static void escape(Strin method in class:XML
[all...]
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/parser/
H A DEscapeQuerySyntaxImpl.java165 * escape all tokens that are part of the parser syntax on a given string
187 public CharSequence escape(CharSequence text, Locale locale, Type type) { method in class:EscapeQuerySyntaxImpl
191 // escape wildcards and the escape char (this has to be perform before
193 // since we need to preserve the UnescapedCharSequence and escape the
194 // original escape chars
209 * Returns a String where the escape char has been removed, or kept only once
210 * if there was a double escape.
223 // due to discarded escape chars. This variable holds
228 // an escape characte
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/internal/csv/
H A DCSVStrategy.java31 private char escape; field in class:CSVStrategy
76 char escape,
85 setEscape(escape);
115 public void setEscape(char escape) { this.escape = escape; } argument
116 public char getEscape() { return this.escape; }
72 CSVStrategy( char delimiter, char encapsulator, char commentStart, char escape, boolean ignoreLeadingWhitespace, boolean ignoreTrailingWhitespace, boolean interpretUnicodeEscapes, boolean ignoreEmptyLines) argument
/lucene-3.6.0/solr/core/src/java/org/apache/solr/response/
H A DXMLWriter.java196 public void writeAttr(String name, String val, boolean escape) throws IOException{ argument
201 if(escape){
215 * @param escape
218 public void startTag(String tag, Map<String,String> attributes, boolean closeTag, boolean escape) throws IOException { argument
224 writeAttr(entry.getKey(), entry.getValue(), escape);
761 public void writePrim(String tag, String name, String val, boolean escape) throws IOException { argument
763 // size was small enough to fit (if escape==false we can calc exact size)
783 if (escape) {
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/queryParser/
H A DQueryParser.java1053 * Returns a String where the escape char has been
1054 * removed, or kept only once if there was a double escape.
1065 // due to discarded escape chars. This variable holds
1070 // an escape character
1110 throw new ParseException("Truncated unicode escape sequence.");
1114 throw new ParseException("Term can not end with escape character.");
1129 throw new ParseException("None-hex character in unicode escape sequence: " + c);
1137 public static String escape(String s) { method in class:QueryParser

Completed in 23 milliseconds