1 15 package org.apache.tapestry.form.validator; 16 17 import java.util.List ; 18 19 import org.apache.hivemind.Location; 20 import org.apache.hivemind.util.Defense; 21 import org.apache.tapestry.binding.AbstractBinding; 22 import org.apache.tapestry.coerce.ValueConverter; 23 24 30 public class ValidatorsBinding extends AbstractBinding 31 { 32 private final List _validators; 33 34 public ValidatorsBinding(String description, ValueConverter valueConverter, Location location, 35 List validators) 36 { 37 super(description, valueConverter, location); 38 39 Defense.notNull(validators, "validator"); 40 41 _validators = validators; 42 } 43 44 public Object getObject() 45 { 46 return _validators; 47 } 48 49 } 50 | Popular Tags |