public void processFields(final FieldHandler fieldHandler) {
        this.fieldHandler = Require.notNull(fieldHandler);
        boolean continuedField = false;
        directoryEntry.rewind();
        while (!directoryEntry.endOfDirectoryReached()) {
            if (continuedField) {
                fieldHandler.additionalImplDefinedPart(
                        directoryEntry.getImplDefinedPart());
            } else {
                processField();
            }
            continuedField = directoryEntry.isContinuedField();
            directoryEntry.gotoNext();
        }
        this.fieldHandler = null;
    }
public void processFields ( final FieldHandler fieldHandler ) { this . fieldHandler = Require . notNull ( fieldHandler ) ; boolean continuedField = false ; directoryEntry . rewind ( ) ; while ( ! directoryEntry . endOfDirectoryReached ( ) ) { if ( continuedField ) { fieldHandler . additionalImplDefinedPart ( directoryEntry . getImplDefinedPart ( ) ) ; } else { processField ( ) ; } continuedField = directoryEntry . isContinuedField ( ) ; directoryEntry . gotoNext ( ) ; } this . fieldHandler = null ; }
Iterates through all fields in the record and calls the appropriate method
on the supplied {@link FieldHandler} instance.

@param fieldHandler instance of field handler. Must not be null.