Class MessageEmitSvlt

  • All Implemented Interfaces:
    Serializable, org.bedework.util.logging.Logged, MessageEmit

    public class MessageEmitSvlt
    extends ErrorEmitSvlt
    This class allows informational message generation in the struts world.
    Version:
    1.0
    Author:
    Mike Douglass douglm@rpi.edu
    See Also:
    Serialized Form
    • Constructor Detail

      • MessageEmitSvlt

        public MessageEmitSvlt()
    • Method Detail

      • reinit

        public void reinit​(String id,
                           Object caller,
                           org.apache.struts.util.MessageResources messages,
                           org.apache.struts.action.ActionMessages msgs,
                           String exceptionPname,
                           boolean clear)
        Generation of errors in the servlet world means adding them to the errors object. We need to call this routine on every entry to the application
        Parameters:
        id - An identifying name
        caller - Used for log identification
        messages - Resources
        msgs - Error message will be appended on failure.
        exceptionPname - Property name for exceptions
        clear - clear list if true
      • getMessages

        public org.apache.struts.action.ActionMessages getMessages()
        Returns:
        messages