Class JsonPointer.Serialization

  • All Implemented Interfaces:
    java.io.Externalizable, java.io.Serializable
    Enclosing class:
    JsonPointer

    static class JsonPointer.Serialization
    extends java.lang.Object
    implements java.io.Externalizable
    This must only exist to allow both final properties and implementation of Externalizable/Serializable for JsonPointer. Note that here we do not store offset but simply use (and expect use) full path, from which we need to decode actual structure.
    Since:
    2.14
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String _fullPath  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void readExternal​(java.io.ObjectInput in)  
      private java.lang.Object readResolve()  
      void writeExternal​(java.io.ObjectOutput out)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • _fullPath

        private java.lang.String _fullPath
    • Constructor Detail

      • Serialization

        public Serialization()
      • Serialization

        Serialization​(java.lang.String fullPath)
    • Method Detail

      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Specified by:
        writeExternal in interface java.io.Externalizable
        Throws:
        java.io.IOException
      • readExternal

        public void readExternal​(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Specified by:
        readExternal in interface java.io.Externalizable
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • readResolve

        private java.lang.Object readResolve()
                                      throws java.io.ObjectStreamException
        Throws:
        java.io.ObjectStreamException