Class JsonComponent


  • public class JsonComponent
    extends org.apache.struts2.components.ContextBean
    • 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
      JsonComponent​(com.opensymphony.xwork2.util.ValueStack stack)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean end​(Writer writer, String body)  
      void setEscapeJavaScript​(boolean escapeJavaScript)  
      void setExcludeNullProperties​(boolean excludeNullProperties)  
      void setIgnoreHierarchy​(boolean ignoreHiearchy)  
      void setValue​(String value)  
      • 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

      • JsonComponent

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

      • setValue

        public void setValue​(String value)
      • setEscapeJavaScript

        public void setEscapeJavaScript​(boolean escapeJavaScript)
      • setIgnoreHierarchy

        public void setIgnoreHierarchy​(boolean ignoreHiearchy)
      • setExcludeNullProperties

        public void setExcludeNullProperties​(boolean excludeNullProperties)
      • end

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