Class Out

  • All Implemented Interfaces:
    TagPlugin

    public final class Out
    extends java.lang.Object
    implements TagPlugin
    Tag plugin for the JSTL out tag.
    • Constructor Summary

      Constructors 
      Constructor Description
      Out()
      Constructs an Out tag plugin.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doTag​(TagPluginContext ctxt)
      Generate codes for a custom tag.
      static boolean output​(JspWriter out, java.lang.Object input, java.lang.String value, java.lang.String defaultValue, boolean escapeXml)
      Performs output of a value to the JspWriter.
      • Methods inherited from class java.lang.Object

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

      • Out

        public Out()
        Constructs an Out tag plugin.
    • Method Detail

      • doTag

        public void doTag​(TagPluginContext ctxt)
        Description copied from interface: TagPlugin
        Generate codes for a custom tag.
        Specified by:
        doTag in interface TagPlugin
        Parameters:
        ctxt - a TagPluginContext for accessing Jasper functions
      • output

        public static boolean output​(JspWriter out,
                                     java.lang.Object input,
                                     java.lang.String value,
                                     java.lang.String defaultValue,
                                     boolean escapeXml)
                              throws java.io.IOException
        Performs output of a value to the JspWriter.
        Parameters:
        out - The JspWriter to write to
        input - The input object
        value - The value to output
        defaultValue - The default value
        escapeXml - Whether to escape XML
        Returns:
        true if output was performed
        Throws:
        java.io.IOException - if an I/O error occurs