Class PropertyTag

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String defaultValue  
      private java.lang.String propertyName  
      private boolean writeEntireProperty  
      • Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport

        bodyContent
      • Fields inherited from class javax.servlet.jsp.tagext.TagSupport

        id
      • Fields inherited from interface javax.servlet.jsp.tagext.BodyTag

        EVAL_BODY_BUFFERED, EVAL_BODY_TAG
      • Fields inherited from interface javax.servlet.jsp.tagext.IterationTag

        EVAL_BODY_AGAIN
      • Fields inherited from interface javax.servlet.jsp.tagext.Tag

        EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertyTag()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int doEndTag()
      To be implemented by all empty tags.
      void setDefault​(java.lang.String defaultValue)
      Value to write if no property matching key is found (optional).
      void setProperty​(java.lang.String propertyName)
      Key of property to write.
      void setWriteEntireProperty​(java.lang.String writeEntireProperty)
      When begins with y, t or 1, the full attribute (name + value) is written.
      • Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport

        doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
      • Methods inherited from class javax.servlet.jsp.tagext.TagSupport

        findAncestorWithClass, getId, getValue, getValues, removeValue, setId, setValue
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • propertyName

        private java.lang.String propertyName
      • defaultValue

        private java.lang.String defaultValue
      • writeEntireProperty

        private boolean writeEntireProperty
    • Constructor Detail

      • PropertyTag

        public PropertyTag()
    • Method Detail

      • setProperty

        public void setProperty​(java.lang.String propertyName)
        Key of property to write.
      • setDefault

        public void setDefault​(java.lang.String defaultValue)
        Value to write if no property matching key is found (optional).
      • setWriteEntireProperty

        public final void setWriteEntireProperty​(java.lang.String writeEntireProperty)
        When begins with y, t or 1, the full attribute (name + value) is written.
      • doEndTag

        public final int doEndTag()
        Description copied from class: AbstractTag
        To be implemented by all empty tags.
        Specified by:
        doEndTag in interface javax.servlet.jsp.tagext.Tag
        Specified by:
        doEndTag in class AbstractTag