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,java.io.Serializable
public class YAMLAnchorReplayingFactory extends YAMLFactory
A subclass of YAMLFactory with the only purpose to replace the YAMLParser by the YAMLAnchorReplayingParser subclass.- Since:
- 2.19
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID-
Fields 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_YAML
-
Fields 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
Constructors Modifier Constructor Description YAMLAnchorReplayingFactory()YAMLAnchorReplayingFactory(com.fasterxml.jackson.core.ObjectCodec oc)protectedYAMLAnchorReplayingFactory(YAMLFactoryBuilder b)YAMLAnchorReplayingFactory(YAMLFactory src, com.fasterxml.jackson.core.ObjectCodec oc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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(java.io.InputStream input, com.fasterxml.jackson.core.io.IOContext ctxt)protected YAMLParser_createParser(java.io.Reader r, com.fasterxml.jackson.core.io.IOContext ctxt)YAMLAnchorReplayingFactorycopy()protected java.lang.ObjectreadResolve()Method 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, version
-
Methods 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, streamWriteConstraints
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
YAMLAnchorReplayingFactory
public YAMLAnchorReplayingFactory()
-
YAMLAnchorReplayingFactory
public YAMLAnchorReplayingFactory(com.fasterxml.jackson.core.ObjectCodec oc)
-
YAMLAnchorReplayingFactory
public YAMLAnchorReplayingFactory(YAMLFactory src, com.fasterxml.jackson.core.ObjectCodec oc)
-
YAMLAnchorReplayingFactory
protected YAMLAnchorReplayingFactory(YAMLFactoryBuilder b)
-
-
Method Detail
-
copy
public YAMLAnchorReplayingFactory copy()
- Overrides:
copyin classYAMLFactory
-
readResolve
protected java.lang.Object 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(java.io.InputStream input, com.fasterxml.jackson.core.io.IOContext ctxt) throws java.io.IOException
- Overrides:
_createParserin classYAMLFactory- Throws:
java.io.IOException
-
_createParser
protected YAMLParser _createParser(java.io.Reader r, com.fasterxml.jackson.core.io.IOContext ctxt) throws java.io.IOException
- Overrides:
_createParserin classYAMLFactory- Throws:
java.io.IOException
-
_createParser
protected YAMLParser _createParser(char[] data, int offset, int len, com.fasterxml.jackson.core.io.IOContext ctxt, boolean recyclable) throws java.io.IOException
- Overrides:
_createParserin classYAMLFactory- Throws:
java.io.IOException
-
_createParser
protected YAMLParser _createParser(byte[] data, int offset, int len, com.fasterxml.jackson.core.io.IOContext ctxt) throws java.io.IOException
- Overrides:
_createParserin classYAMLFactory- Throws:
java.io.IOException
-
-