Class EncodingBufferedBodyTag

java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.aoapps.encoding.taglib.legacy.EncodingBufferedBodyTag
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag, TryCatchFinally

public abstract class EncodingBufferedBodyTag extends BodyTagSupport implements TryCatchFinally

The exhibits all of the behavior of EncodingFilteredBodyTag 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.
See Also: