Uses of Interface
org.barracudamvc.core.forms.FormElement

Packages that use FormElement
org.barracudamvc.contrib.dbroggisch.repopulation   
org.barracudamvc.contrib.sam.data   
org.barracudamvc.contrib.sam.xmlform   
org.barracudamvc.core.forms   
org.barracudamvc.core.forms.validators   
 

Uses of FormElement in org.barracudamvc.contrib.dbroggisch.repopulation
 

Classes in org.barracudamvc.contrib.dbroggisch.repopulation that implement FormElement
 class CheckboxFormElement
           
 class GroupFormElement
           
 class SelectFormElement
          Use this FormElement to repopulate the request value into a select box created by the <select>-tag.
 class TextAreaFormElement
           
 

Methods in org.barracudamvc.contrib.dbroggisch.repopulation that return FormElement
 FormElement RepopulationFormMap.defineElement(FormElement element)
           
 FormElement RepopulationFormMap.defineElement(String key, FormElement element)
           
 

Methods in org.barracudamvc.contrib.dbroggisch.repopulation with parameters of type FormElement
 void SelectFormValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
           
 FormElement RepopulationFormMap.defineElement(FormElement element)
           
 FormElement RepopulationFormMap.defineElement(String key, FormElement element)
           
 

Uses of FormElement in org.barracudamvc.contrib.sam.data
 

Classes in org.barracudamvc.contrib.sam.data that implement FormElement
 class UploadElement
           
 class UploadLinkElement
           
 

Methods in org.barracudamvc.contrib.sam.data that return FormElement
 FormElement UploadElement.setOrigVal(Object iorigVal)
          since File Upload elements don't support preset values, this method does nothing
 

Methods in org.barracudamvc.contrib.sam.data with parameters of type FormElement
 void UploadLinkElement.setIdFormElement(FormElement idEle)
           
 void RegexValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make sure a given pattern is matched Validation is only supported for FormType.STRING
 

Uses of FormElement in org.barracudamvc.contrib.sam.xmlform
 

Methods in org.barracudamvc.contrib.sam.xmlform with parameters of type FormElement
protected  void XmlFormMap.initFormElement(DataObject dataObject, Element ele, FormElement fe)
          set the orig value of a formelement by retrieving
 

Uses of FormElement in org.barracudamvc.core.forms
 

Classes in org.barracudamvc.core.forms that implement FormElement
 class DefaultFormElement
          A FormElement defines how an element in a FormMap should be mapped to a first class java object.
 

Methods in org.barracudamvc.core.forms that return FormElement
protected  FormElement UIDFormMapper.getElementForMapping(FormMap fm, String paramKey)
           
 FormElement UIDFormMapper.getElementByUID(FormMap fm, String subKey, String uid)
           
 FormElement PrefixFormMapper.mapElement(FormMap fm, String key, Object origVal)
          Map an individual element
protected  FormElement PrefixFormMapper.getElementForMapping(FormMap fm, String paramKey)
           
 FormElement FormMapper.mapElement(FormMap fm, String key, Object origVal)
           
 FormElement FormMap.defineElement(FormElement element)
           
 FormElement FormMap.defineElement(String key, FormElement element)
           
 FormElement FormMap.mapElement(String key, Object origVal)
           
 FormElement FormMap.getElement(String key)
           
 FormElement FormElement.setKey(String key)
           
 FormElement FormElement.setName(String name)
           
 FormElement FormElement.setType(FormType type)
           
 FormElement FormElement.setDefaultVal(Object defaultVal)
           
 FormElement FormElement.setAllowMultiples(boolean val)
           
 FormElement FormElement.setValidator(FormValidator validator)
           
 FormElement FormElement.setOrigVal(Object iorigVal)
           
 FormElement FormElement.setVal(Object ival)
           
 FormElement FormElement.setParseException(ParseException pe)
           
 FormElement FormElement.setFormat(Format iformat)
           
 FormElement FormElement.setParentForm(FormMap iparent)
           
 FormElement DefaultFormMapper.mapElement(FormMap fm, String key, Object origVal)
          Map an individual element
protected  FormElement DefaultFormMapper.getElementForMapping(FormMap fm, String paramKey)
          This method is used by the mapping process to look up FormElements.
 FormElement DefaultFormMap.defineElement(FormElement element)
          This defines an element to be mapped by this form, using the key from the FormElement.
 FormElement DefaultFormMap.defineElement(String key, FormElement element)
          This defines an element to be mapped by this form, using a manually specified key.
 FormElement DefaultFormMap.mapElement(String key, Object origVal)
          Map an individual element by specifiying the key and origVal.
 FormElement DefaultFormMap.getElement(String key)
          Get an element by key
 FormElement DefaultFormElement.setKey(String ikey)
          Set the key value for this form element
 FormElement DefaultFormElement.setName(String iname)
          Set the name of this form element
 FormElement DefaultFormElement.setType(FormType itype)
          Set the FormType for this form element
 FormElement DefaultFormElement.setDefaultVal(Object idefaultVal)
          Set the default value for this form element
 FormElement DefaultFormElement.setAllowMultiples(boolean val)
          Set whether or not this element allows multiple values
 FormElement DefaultFormElement.setValidator(FormValidator ivalidator)
          Set the FormValidator for this form element
 FormElement DefaultFormElement.setOrigVal(Object iorigVal)
          Set the original value for this element
 FormElement DefaultFormElement.setVal(Object ival)
          Set the value for this element
 FormElement DefaultFormElement.setParseException(ParseException ipe)
          Set the parse exception associated with this element
 FormElement DefaultFormElement.setFormat(Format iformat)
          Set the Format object for this element (null indicates default formatting)
 FormElement DefaultFormElement.setParentForm(FormMap iparent)
          Set the parent form map
 

Methods in org.barracudamvc.core.forms with parameters of type FormElement
 void Or.validate(FormElement element, FormMap map, boolean deferExceptions)
          Rather than calling all the sub validate methods, we make sure at least one of the sub-validators is valid
 void Not.validate(FormElement element, FormMap map, boolean deferExceptions)
          Rather than calling all the sub validate methods, we instead validate the validator we contain--because this validator is effectively doing a "NOT", we expect to receive a ValidationException; if we dont, then we will throw a ValidationException
 void FormValidator.validate(FormElement element, FormMap formMap, boolean deferExceptions)
          Validate a FormElement locally and allow any child validators a chance to validate as well.
 boolean FormValidator.isNull(Object val, FormElement element)
          Check if val passed is null in a consistant manner.
static String FormUtil.formatForOutput(Object val, FormElement el)
          Convenience method to format form values in a friendly manner (based on their data type) that will allow for later reparsing
 FormElement FormMap.defineElement(FormElement element)
           
 FormElement FormMap.defineElement(String key, FormElement element)
           
 void DefaultFormValidator.validate(FormElement element, FormMap map, boolean deferExceptions)
          Validate a FormElement locally and allow any child validators a chance to validate as well.
 void DefaultFormValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement.
 void DefaultFormValidator.validateFormElement(Object val, FormElement element, FormMap map, boolean deferExceptions)
          Validate a FormElement.
protected  Object DefaultFormMapper._mapElement(FormMap fm, FormElement element, Object origVal)
          Actually map a value to a form element.
 FormElement DefaultFormMap.defineElement(FormElement element)
          This defines an element to be mapped by this form, using the key from the FormElement.
 FormElement DefaultFormMap.defineElement(String key, FormElement element)
          This defines an element to be mapped by this form, using a manually specified key.
 void And.validate(FormElement element, FormMap map, boolean deferExceptions)
          Rather than calling all the sub validate methods, we make sure at least one of the sub-validators is valid
 boolean AbstractFormValidator.isNull(Object val, FormElement element)
          Check if val passed is null in a consistant manner.
 

Constructors in org.barracudamvc.core.forms with parameters of type FormElement
DefaultFormElement(FormElement feSource)
          Public constructor
 

Uses of FormElement in org.barracudamvc.core.forms.validators
 

Methods in org.barracudamvc.core.forms.validators with parameters of type FormElement
 void ValidatorListValidator.validate(FormElement element, FormMap map, boolean deferExceptions)
           
 void ValidTypeValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make sure that the non-null orig values are valid for the specified element type
 void RegularExpressionValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
           
 void RangeValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make see if the element equals() a given object
 void NotNullValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make sure that it is not Null or blanks.
 void MinLengthValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make sure the length of element is not less than a Min length.
 void MaxLengthValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make sure the length of element does not exceed a Max length.
 void ListValidator.validate(FormElement element, FormMap formMap, boolean deferExceptions)
          Will check origVal's type and loop through all the values calling the subValidator.
 void FriendlyValidTypeValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
           
 void EqualsValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make see if the element equals() a given object
 void EmailValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
           
 void DigitValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make see if the element equals() a given object
 void DateValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make sure the value is a valid date Validation is not supported for FormType.BOOLEAN FormType,INTEGER FormType.LONG FormType.SHORT FormType.DOUBLE FormType.FLOAT
 void DateRangeValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make see if the element equals() a given object
 void CardinalityValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make sure the number of values is in the specified range
 



Copyright © 2004 BarracudaMVC.org All Rights Reserved.