Package org.apache.struts2.validator
Interface ValidatorContext
- All Superinterfaces:
- LocaleProvider,- TextProvider,- ValidationAware
- All Known Implementing Classes:
- DelegatingValidatorContext,- VisitorFieldValidator.AppendingValidatorContext
The context for validation. This interface extends others to provide methods for reporting
 errors and messages as well as looking up error messages in a resource bundle using a specific locale.
- Author:
- Jason Carreira
- 
Method SummaryModifier and TypeMethodDescriptiongetFullFieldName(String fieldName) Translates a simple field name into a full field name in OGNL syntax.Methods inherited from interface org.apache.struts2.locale.LocaleProvidergetLocale, isValidLocale, isValidLocaleString, toLocaleMethods inherited from interface org.apache.struts2.text.TextProvidergetText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasKeyMethods inherited from interface org.apache.struts2.interceptor.ValidationAwareaddActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getFieldErrors, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
- 
Method Details- 
getFullFieldNameTranslates a simple field name into a full field name in OGNL syntax.- Parameters:
- fieldName- the field name to lookup.
- Returns:
- the full field name in OGNL syntax.
 
 
-