public JsonGenerator setCharacterEscapes(CharacterEscapes paramCharacterEscapes) { this._characterEscapes = paramCharacterEscapes; if (paramCharacterEscapes == null) { this._outputEscapes = sOutputEscapes; return this; } this._outputEscapes = paramCharacterEscapes.getEscapeCodesForAscii(); return this; }
public HTMLCharacterEscapes() { htmlEscapes = standardAsciiEscapesForJSON(); for (int i = 0; i < HTML_CHARS.length(); i++) { char c = HTML_CHARS.charAt(i); htmlEscapes[c] = CharacterEscapes.ESCAPE_STANDARD; } }
public final JsonGenerator setCharacterEscapes(CharacterEscapes paramCharacterEscapes) { this._characterEscapes = paramCharacterEscapes; if (paramCharacterEscapes == null) { this._outputEscapes = sOutputEscapes; return this; } this._outputEscapes = paramCharacterEscapes.getEscapeCodesForAscii(); return this; }
public CharacterEscapes getCharacterEscapes() { return this._characterEscapes; }
public JsonFactory setCharacterEscapes(CharacterEscapes paramCharacterEscapes) { this._characterEscapes = paramCharacterEscapes; return this; }
public CharacterEscapes getCharacterEscapes() { return null; }
public JsonGenerator setCharacterEscapes(CharacterEscapes paramCharacterEscapes) { return this; }