Class HtmlTagSupport

java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
nablarch.common.web.tag.CustomTagSupport
nablarch.common.web.tag.HtmlTagSupport
All Implemented Interfaces:
jakarta.servlet.jsp.tagext.DynamicAttributes, jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, jakarta.servlet.jsp.tagext.TryCatchFinally, Serializable
Direct Known Subclasses:
CodeTag, CspNonceTag, GenericAttributesTagSupport, ScriptTag

@Published(tag="architect") public abstract class HtmlTagSupport extends CustomTagSupport implements jakarta.servlet.jsp.tagext.DynamicAttributes
HTMLのタグを出力するクラスの実装をサポートするクラス。
See Also:
  • Field Summary

    Fields inherited from class jakarta.servlet.jsp.tagext.TagSupport

    id, pageContext

    Fields inherited from interface jakarta.servlet.jsp.tagext.IterationTag

    EVAL_BODY_AGAIN

    Fields inherited from interface jakarta.servlet.jsp.tagext.Tag

    EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void

    例外をINFOレベルでログ出力する。
    void

    HTMLの属性をクリアする。
    protected HtmlAttributes
    HTMLの属性を取得する。
    void
    setDynamicAttribute(String uri, String localName, Object value)
     

    Methods inherited from class jakarta.servlet.jsp.tagext.TagSupport

    doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HtmlTagSupport

      public HtmlTagSupport()
  • Method Details

    • getAttributes

      protected HtmlAttributes getAttributes()
      HTMLの属性を取得する。
      Returns:
      XHTMLの属性
    • doCatch

      public void doCatch(Throwable e) throws Throwable

      例外をINFOレベルでログ出力する。
      何もしない。
      Specified by:
      doCatch in interface jakarta.servlet.jsp.tagext.TryCatchFinally
      Overrides:
      doCatch in class CustomTagSupport
      Throws:
      Throwable
    • doFinally

      public void doFinally()

      HTMLの属性をクリアする。
      Specified by:
      doFinally in interface jakarta.servlet.jsp.tagext.TryCatchFinally
      Overrides:
      doFinally in class CustomTagSupport
    • setDynamicAttribute

      public void setDynamicAttribute(String uri, String localName, Object value)
      Specified by:
      setDynamicAttribute in interface jakarta.servlet.jsp.tagext.DynamicAttributes