/** * Convenience method, equivalent to: *<pre> * getJsonFactory().isEnabled(f); *</pre> * * @since 1.9 */ public boolean isEnabled(JsonParser.Feature f) { return _jsonFactory.isEnabled(f); }
/** * Convenience method, equivalent to: *<pre> * getJsonFactory().isEnabled(f); *</pre> * * @since 1.9 */ public boolean isEnabled(JsonGenerator.Feature f) { return _jsonFactory.isEnabled(f); }
/** * @deprecated Use {@link #isEnabled(JsonGenerator.Feature)} instead */ @Deprecated public final boolean isGeneratorFeatureEnabled(JsonGenerator.Feature f) { return isEnabled(f); }
/** * Overridable factory method that actually instantiates parser * using given {@link Reader} object for reading content. *<p> * This method is specifically designed to remain * compatible between minor versions so that sub-classes can count * on it being called as expected. That is, it is part of official * interface from sub-class perspective, although not a public * method available to users of factory implementations. */ protected JsonParser _createJsonParser(Reader r, IOContext ctxt) throws IOException, JsonParseException { return new ReaderBasedParser(ctxt, _parserFeatures, r, _objectCodec, _rootCharSymbols.makeChild(isEnabled(JsonParser.Feature.CANONICALIZE_FIELD_NAMES), isEnabled(JsonParser.Feature.INTERN_FIELD_NAMES))); }
/** * Convenience method, equivalent to: *<pre> * getJsonFactory().isEnabled(f); *</pre> * * @since 1.9 */ public boolean isEnabled(JsonGenerator.Feature f) { return _jsonFactory.isEnabled(f); }
/** * Convenience method, equivalent to: *<pre> * getJsonFactory().isEnabled(f); *</pre> * * @since 1.9 */ public boolean isEnabled(JsonParser.Feature f) { return _jsonFactory.isEnabled(f); }
/** * @deprecated Use {@link #isEnabled(JsonGenerator.Feature)} instead */ @Deprecated public final boolean isGeneratorFeatureEnabled(JsonGenerator.Feature f) { return isEnabled(f); }
/** * Overridable factory method that actually instantiates parser * using given {@link Reader} object for reading content. *<p> * This method is specifically designed to remain * compatible between minor versions so that sub-classes can count * on it being called as expected. That is, it is part of official * interface from sub-class perspective, although not a public * method available to users of factory implementations. */ protected JsonParser _createJsonParser(Reader r, IOContext ctxt) throws IOException, JsonParseException { return new ReaderBasedParser(ctxt, _parserFeatures, r, _objectCodec, _rootCharSymbols.makeChild(isEnabled(JsonParser.Feature.CANONICALIZE_FIELD_NAMES), isEnabled(JsonParser.Feature.INTERN_FIELD_NAMES))); }
/** * Convenience method, equivalent to: *<pre> * getJsonFactory().isEnabled(f); *</pre> * * @since 1.9 */ public boolean isEnabled(JsonGenerator.Feature f) { return _jsonFactory.isEnabled(f); }
/** * Convenience method, equivalent to: *<pre> * getJsonFactory().isEnabled(f); *</pre> * * @since 1.9 */ public boolean isEnabled(JsonParser.Feature f) { return _jsonFactory.isEnabled(f); }
/** * Convenience method, equivalent to: *<pre> * getJsonFactory().isEnabled(f); *</pre> * * @since 1.9 */ public boolean isEnabled(JsonGenerator.Feature f) { return _jsonFactory.isEnabled(f); }
/** * Convenience method, equivalent to: *<pre> * getJsonFactory().isEnabled(f); *</pre> * * @since 1.9 */ public boolean isEnabled(JsonParser.Feature f) { return _jsonFactory.isEnabled(f); }
/** * @deprecated Use {@link #isEnabled(JsonGenerator.Feature)} instead */ @Deprecated public final boolean isGeneratorFeatureEnabled(JsonGenerator.Feature f) { return isEnabled(f); }
/** * @deprecated Use {@link #isEnabled(JsonGenerator.Feature)} instead */ @Deprecated public final boolean isGeneratorFeatureEnabled(JsonGenerator.Feature f) { return isEnabled(f); }
/** * Overridable factory method that actually instantiates parser * using given {@link Reader} object for reading content. *<p> * This method is specifically designed to remain * compatible between minor versions so that sub-classes can count * on it being called as expected. That is, it is part of official * interface from sub-class perspective, although not a public * method available to users of factory implementations. */ protected JsonParser _createJsonParser(Reader r, IOContext ctxt) throws IOException, JsonParseException { return new ReaderBasedParser(ctxt, _parserFeatures, r, _objectCodec, _rootCharSymbols.makeChild(isEnabled(JsonParser.Feature.CANONICALIZE_FIELD_NAMES), isEnabled(JsonParser.Feature.INTERN_FIELD_NAMES))); }
/** * Overridable factory method that actually instantiates parser * using given {@link Reader} object for reading content. *<p> * This method is specifically designed to remain * compatible between minor versions so that sub-classes can count * on it being called as expected. That is, it is part of official * interface from sub-class perspective, although not a public * method available to users of factory implementations. */ protected JsonParser _createJsonParser(Reader r, IOContext ctxt) throws IOException, JsonParseException { return new ReaderBasedParser(ctxt, _parserFeatures, r, _objectCodec, _rootCharSymbols.makeChild(isEnabled(JsonParser.Feature.CANONICALIZE_FIELD_NAMES), isEnabled(JsonParser.Feature.INTERN_FIELD_NAMES))); }