Class MessageComponent

  • All Implemented Interfaces:
    org.apache.struts2.components.Param.UnnamedParametric

    public class MessageComponent
    extends org.apache.struts2.components.ContextBean
    implements org.apache.struts2.components.Param.UnnamedParametric
    • Field Summary

      • Fields inherited from class org.apache.struts2.components.ContextBean

        var
      • Fields inherited from class org.apache.struts2.components.Component

        actionMapper, COMPONENT_STACK, devMode, parameters, stack, standardAttributesMap, throwExceptionOnELFailure
    • Constructor Summary

      Constructors 
      Constructor Description
      MessageComponent​(com.opensymphony.xwork2.util.ValueStack stack)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addParameter​(Object value)
      Param.UnnamedParametric Interface
      boolean end​(Writer writer, String body)  
      void setKey​(String key)  
      • Methods inherited from class org.apache.struts2.components.ContextBean

        getVar, putInContext, setVar
      • Methods inherited from class org.apache.struts2.components.Component

        addAllParameters, addParameter, altSyntax, completeExpressionIfAltSyntax, copyParams, determineActionURL, determineNamespace, end, fieldError, findAncestor, findString, findString, findStringIfAltSyntax, findValue, findValue, findValue, getComponentStack, getParameters, getStack, getStandardAttributes, isAcceptableExpression, isValidTagAttribute, popComponentStack, setActionMapper, setDevMode, setNotExcludedAcceptedPatterns, setThrowExceptionsOnELFailure, setUrlHelper, start, stripExpressionIfAltSyntax, toString, usesBody
    • Constructor Detail

      • MessageComponent

        public MessageComponent​(com.opensymphony.xwork2.util.ValueStack stack)
    • Method Detail

      • setKey

        public void setKey​(String key)
      • addParameter

        public void addParameter​(Object value)
        Param.UnnamedParametric Interface
        Specified by:
        addParameter in interface org.apache.struts2.components.Param.UnnamedParametric
      • end

        public boolean end​(Writer writer,
                           String body)
        Overrides:
        end in class org.apache.struts2.components.Component