Class YAMLAnchorReplayingFactory
java.lang.Object
com.fasterxml.jackson.core.TokenStreamFactory
com.fasterxml.jackson.core.JsonFactory
com.fasterxml.jackson.dataformat.yaml.YAMLFactory
com.fasterxml.jackson.dataformat.yaml.YAMLAnchorReplayingFactory
- All Implemented Interfaces:
com.fasterxml.jackson.core.Versioned,Serializable
A subclass of YAMLFactory with the only purpose to replace the YAMLParser by
the YAMLAnchorReplayingParser subclass.
- Since:
- 2.19
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.core.JsonFactory
com.fasterxml.jackson.core.JsonFactory.Feature -
Field Summary
FieldsFields inherited from class com.fasterxml.jackson.dataformat.yaml.YAMLFactory
_dumperOptions, _loaderOptions, _quotingChecker, _version, _yamlGeneratorFeatures, _yamlParserFeatures, DEFAULT_YAML_GENERATOR_FEATURE_FLAGS, DEFAULT_YAML_PARSER_FEATURE_FLAGS, FORMAT_NAME_YAMLFields inherited from class com.fasterxml.jackson.core.JsonFactory
_byteSymbolCanonicalizer, _characterEscapes, _errorReportConfiguration, _factoryFeatures, _generatorDecorators, _generatorFeatures, _inputDecorator, _maximumNonEscapedChar, _objectCodec, _outputDecorator, _parserFeatures, _quoteChar, _recyclerPool, _rootCharSymbols, _rootValueSeparator, _streamReadConstraints, _streamWriteConstraints, DEFAULT_FACTORY_FEATURE_FLAGS, DEFAULT_GENERATOR_FEATURE_FLAGS, DEFAULT_PARSER_FEATURE_FLAGS, DEFAULT_QUOTE_CHAR, DEFAULT_ROOT_VALUE_SEPARATOR, FORMAT_NAME_JSON -
Constructor Summary
ConstructorsModifierConstructorDescriptionYAMLAnchorReplayingFactory(com.fasterxml.jackson.core.ObjectCodec oc) protectedYAMLAnchorReplayingFactory(YAMLFactory src, com.fasterxml.jackson.core.ObjectCodec oc) -
Method Summary
Modifier and TypeMethodDescriptionprotected YAMLParser_createParser(byte[] data, int offset, int len, com.fasterxml.jackson.core.io.IOContext ctxt) protected YAMLParser_createParser(char[] data, int offset, int len, com.fasterxml.jackson.core.io.IOContext ctxt, boolean recyclable) protected YAMLParser_createParser(InputStream input, com.fasterxml.jackson.core.io.IOContext ctxt) protected YAMLParser_createParser(Reader r, com.fasterxml.jackson.core.io.IOContext ctxt) copy()protected ObjectMethod that we need to override to actually make restoration go through constructors etc.Methods inherited from class com.fasterxml.jackson.dataformat.yaml.YAMLFactory
_createGenerator, _createReader, _createReader, _createUTF8Generator, _createWriter, builder, canUseCharArrays, configure, configure, createGenerator, createGenerator, createGenerator, createGenerator, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, disable, disable, enable, enable, getFormatGeneratorFeatures, getFormatName, getFormatParserFeatures, getFormatReadFeatureType, getFormatWriteFeatureType, hasFormat, isEnabled, isEnabled, rebuild, versionMethods inherited from class com.fasterxml.jackson.core.JsonFactory
_checkInvalidCopy, _copy, _createContentReference, _createContentReference, _createContext, _createContext, _createNonBlockingContext, _createParser, _decorate, _decorate, _decorate, _decorate, _decorate, _decorate, _getBufferRecycler, _getRecyclerPool, canHandleBinaryNatively, canParseAsync, canUseSchema, configure, configure, configure, createGenerator, createGenerator, createJsonGenerator, createJsonGenerator, createJsonGenerator, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createNonBlockingByteArrayParser, createNonBlockingByteBufferParser, createParser, disable, disable, disable, enable, enable, enable, getCharacterEscapes, getCodec, getFactoryFeatures, getGeneratorFeatures, getInputDecorator, getOutputDecorator, getParserFeatures, getRootValueSeparator, hasJSONFormat, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, requiresCustomCodec, requiresPropertyOrdering, setCharacterEscapes, setCodec, setErrorReportConfiguration, setInputDecorator, setOutputDecorator, setRecyclerPool, setRootValueSeparator, setStreamReadConstraints, setStreamWriteConstraints, streamReadConstraints, streamWriteConstraintsMethods inherited from class com.fasterxml.jackson.core.TokenStreamFactory
_checkRangeBoundsForByteArray, _checkRangeBoundsForCharArray, _createDataOutputWrapper, _fileInputStream, _fileOutputStream, _optimizedStreamFromURL, _reportRangeError
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
YAMLAnchorReplayingFactory
public YAMLAnchorReplayingFactory() -
YAMLAnchorReplayingFactory
public YAMLAnchorReplayingFactory(com.fasterxml.jackson.core.ObjectCodec oc) -
YAMLAnchorReplayingFactory
-
YAMLAnchorReplayingFactory
-
-
Method Details
-
copy
- Overrides:
copyin classYAMLFactory
-
readResolve
Description copied from class:YAMLFactoryMethod that we need to override to actually make restoration go through constructors etc. Also: must be overridden by sub-classes as well.- Overrides:
readResolvein classYAMLFactory
-
_createParser
protected YAMLParser _createParser(InputStream input, com.fasterxml.jackson.core.io.IOContext ctxt) throws IOException - Overrides:
_createParserin classYAMLFactory- Throws:
IOException
-
_createParser
protected YAMLParser _createParser(Reader r, com.fasterxml.jackson.core.io.IOContext ctxt) throws IOException - Overrides:
_createParserin classYAMLFactory- Throws:
IOException
-
_createParser
protected YAMLParser _createParser(char[] data, int offset, int len, com.fasterxml.jackson.core.io.IOContext ctxt, boolean recyclable) throws IOException - Overrides:
_createParserin classYAMLFactory- Throws:
IOException
-
_createParser
protected YAMLParser _createParser(byte[] data, int offset, int len, com.fasterxml.jackson.core.io.IOContext ctxt) throws IOException - Overrides:
_createParserin classYAMLFactory- Throws:
IOException
-