org.apache.wicket.util.objects.checker
Interface IObjectChecker
- All Known Implementing Classes:
- AbstractObjectChecker, NotDetachedModelChecker, OrphanComponentChecker, SerializableChecker.ObjectSerializationChecker
public interface IObjectChecker
IObjectChecker can be used to check whether an object has/has not given state
before serializing it. The serialization will be stopped if the object doesn't pass
the #check(Object) check
.
check
IObjectChecker.Result check(Object object)
- Checks an object that it meets some requirements before serializing it
- Parameters:
object
- the object to check
- Returns:
- a Result object describing whether the check is successful or not
getExclusions
List<Class<?>> getExclusions()
- Returns:
- A list of types which should not be checked by this checker
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.