to top
Android APIs
Added in API level 1
public interface

ObjectInputValidation

java.io.ObjectInputValidation

Class Overview

A callback interface for post-deserialization checks on objects. Allows, for example, the validation of a whole graph of objects after all of them have been loaded.

Summary

Public Methods
abstract void validateObject()
Validates this object.

Public Methods

public abstract void validateObject ()

Added in API level 1

Validates this object.

Throws
InvalidObjectException if this object fails to validate itself.
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.