Class DateComponent


  • public class DateComponent
    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
      DateComponent​(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 setDateStyle​(String dateStyle)  
      void setFormat​(String format)  
      void setTimeStyle​(String timeStyle)  
      void setTimeZone​(String timeZone)  
      void setValue​(String value)  
      boolean usesBody()  
      • 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
    • Constructor Detail

      • DateComponent

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

      • setFormat

        public void setFormat​(String format)
      • setDateStyle

        public void setDateStyle​(String dateStyle)
      • setTimeStyle

        public void setTimeStyle​(String timeStyle)
      • setValue

        public void setValue​(String value)
      • setTimeZone

        public void setTimeZone​(String timeZone)
      • usesBody

        public boolean usesBody()
        Overrides:
        usesBody in class org.apache.struts2.components.Component
      • end

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