Class 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
    • 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

      • readResolve

        protected java.lang.Object readResolve()
        Description copied from class: YAMLFactory
        Method that we need to override to actually make restoration go through constructors etc. Also: must be overridden by sub-classes as well.
        Overrides:
        readResolve in class YAMLFactory
      • _createParser

        protected YAMLParser _createParser​(java.io.InputStream input,
                                           com.fasterxml.jackson.core.io.IOContext ctxt)
                                    throws java.io.IOException
        Overrides:
        _createParser in class YAMLFactory
        Throws:
        java.io.IOException
      • _createParser

        protected YAMLParser _createParser​(java.io.Reader r,
                                           com.fasterxml.jackson.core.io.IOContext ctxt)
                                    throws java.io.IOException
        Overrides:
        _createParser in class YAMLFactory
        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:
        _createParser in class YAMLFactory
        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:
        _createParser in class YAMLFactory
        Throws:
        java.io.IOException