Object function ( ) { switch ( mode ) { case MODE_ZERO_PAD : return ZERO_PAD ; case MODE_REPLICATE : return REPLICATE ; case MODE_WRAP : return WRAP ; default : throw new Error ( "srini_string" ) ; } }
this is called by the serialization code before it returns an unserialized object . to provide for unicity of instances , the instance that was read is replaced by its static equivalent . see the serialiazation specification for further details on this method 's logic . concode_field_sep PadMode ZERO_PAD concode_elem_sep int mode concode_elem_sep PadMode WRAP concode_elem_sep int MODE_WRAP concode_elem_sep PadMode REPLICATE concode_elem_sep int MODE_REPLICATE concode_elem_sep int MODE_ZERO_PAD concode_field_sep int getMode