Class JstlFmtTLV

  • Direct Known Subclasses:
    JstlELFmtTLV, JstlELFmtTLV

    public class JstlFmtTLV
    extends JstlBaseTLV

    A SAX-based TagLibraryValidator for the JSTL i18n-capable formatting library. Currently implements the following checks:

    • Expression syntax validation.
    • Tag bodies that must either be empty or non-empty given particular attributes.
    • Constructor Detail

      • JstlFmtTLV

        public JstlFmtTLV()
    • Method Detail

      • validate

        public javax.servlet.jsp.tagext.ValidationMessage[] validate​(java.lang.String prefix,
                                                                     java.lang.String uri,
                                                                     javax.servlet.jsp.tagext.PageData page)
        Overrides:
        validate in class javax.servlet.jsp.tagext.TagLibraryValidator
      • getHandler

        protected org.xml.sax.helpers.DefaultHandler getHandler()
        Specified by:
        getHandler in class JstlBaseTLV