| java.lang.Object org.apache.cocoon.forms.validation.ValidationError
ValidationError | public class ValidationError (Code) | | An object that holds a validation error message. The error message can
be a simple string or a piece of XML.
version: $Id: ValidationError.java 449149 2006-09-23 03:58:05Z crossley $ |
ValidationError | public ValidationError(String errorMessage, boolean i18n)(Code) | | Parameters: i18n - should the errorMessage be interpreted as an i18n key? |
ValidationError | public ValidationError(XMLizable errorMessage)(Code) | | Parameters: errorMessage - the errormessages in the form of something that is "XMLizable",i.e. can produce SAX events. It should however not produce start/endDocument calls,only a piece of embeddable, stand-alone SAX events. Helpful implementations areorg.apache.cocoon.xml.SaxBuffer SaxBuffer, I18nMessage or StringMessage. |
generateSaxFragment | public void generateSaxFragment(ContentHandler contentHandler) throws SAXException(Code) | | Generates SAX events for this ValidationError. In case of the constructors where
a String error message key was supplied, the necessary I18n tags will be generated.
|
|
|