Class ChangeRecordVisitor<R,P,E extends Exception>

java.lang.Object
org.forgerock.opendj.ldap.messages.AbstractRequestVisitor<R,P,E>
org.forgerock.opendj.ldif.ChangeRecordVisitor<R,P,E>
Type Parameters:
R - The return type of this visitor's methods. Use Void for visitors that do not need to return results.
P - The type of the additional parameter to this visitor's methods. Use Void for visitors that do not need an additional parameter.
E - The type of the exception thrown by the visitor method if it fails, or NeverThrowsException if the visitor cannot fail.
All Implemented Interfaces:
RequestVisitor<R,P,E>

public abstract class ChangeRecordVisitor<R,P,E extends Exception> extends AbstractRequestVisitor<R,P,E>
A visitor of ChangeRecords, in the style of the visitor design pattern.

Classes implementing this interface can query change records in a type-safe manner. When a visitor is passed to a change record's accept method, the corresponding visit method most applicable to that change record is invoked.