lightbulb_outline Please take our October 2018 developer survey. Start survey
added in API level 1

ObjectInputValidation

public interface ObjectInputValidation

java.io.ObjectInputValidation


Callback interface to allow validation of objects within a graph. Allows an object to be called when a complete graph of objects has been deserialized.

Summary

Public methods

abstract void validateObject()

Validates the object.

Public methods

validateObject

added in API level 1
public abstract void validateObject ()

Validates the object.

Throws
InvalidObjectException If the object cannot validate itself.