Home | History | Annotate | Download | only in base

Lines Matching defs:escape

51  * the {@link #escape(int)} method.
56 /** The amount of padding (chars) to use when growing the escape buffer. */
78 * @param cp the Unicode code point to escape if necessary
82 protected abstract char[] escape(int cp);
90 * successive Unicode code points and invokes {@link #escape(int)} for each of
95 * <p>Note however that if your escaper does not escape characters in the
112 if (cp < 0 || escape(cp) != null) {
129 * {@link #escape(Appendable)}) which can cope with arbitrarily split input.
144 public String escape(String string) {
153 * index. This method is called by the {@link #escape(String)} method when it
159 * {@link #escape(String)} method.
185 char[] escaped = escape(cp);
231 * <p>Unlike {@link #escape(String)} it is permitted to append arbitrarily
244 * the escaping behavior is identical to that of {@link #escape(String)} and
246 * {@code escaper.escape(string)}: <pre>{@code
249 * escaper.escape(sb).append(string);
262 public Appendable escape(final Appendable out) {
294 // Escape the subsequence from start to end, which cannot legally
296 out.append(escape(csq.subSequence(start, end).toString()));
314 char[] escaped = escape(c);
335 char[] escaped = escape(