Class EncodingBufferedTag

  • All Implemented Interfaces:
    JspTag, SimpleTag

    public abstract class EncodingBufferedTag
    extends SimpleTagSupport

    The exhibits all of the behavior of EncodingFilteredTag with the only exception being that it buffers its content instead of using filters. This allows the tag to capture its body. Character validation is performed as the data goes into the buffer to ensure the captured data is correct for its content type.

    The tag also has the addition of a separate output type. Thus, we have three types involved:

    1. contentType - The characters are validated to this type as they go into the buffer.
    2. outputType - Our output characters are validated to this type as they are written.
    3. containerType - Our output characters are encoded to this type as they are written.
    Author:
    AO Industries, Inc.