@ Pure public static Object parseObject ( String xmlSerializedObject ) throws IOException , ClassNotFoundException { assert xmlSerializedObject != null : AssertMessages . notNullParameter ( 0 ) ; try ( ByteArrayInputStream bais = new ByteArrayInputStream ( Base64 . getDecoder ( ) . decode ( xmlSerializedObject ) ) ) { final ObjectInputStream ois = new ObjectInputStream ( bais ) ; return ois . readObject ( ) ; } }
Deserialize an object from the given XML string .