Interface FormBindingVisitor


public interface FormBindingVisitor
An object that visits form bindings.

Usage:

class Visitor implements FormBindingVisitor {
    public boolean visit(FormBinding binding) {
        // do something
        return true;
    }
}

FormModel model = ...;
model.accept(new Visitor());
Since:
5.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    visit(FormBinding binding)
    Visits the given form binding.
  • Method Details

    • visit

      boolean visit(FormBinding binding)
      Visits the given form binding.
      Parameters:
      binding - The form binding.
      Returns:
      true to continue visiting following form bindings or false to cancel visiting.