Class 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.
AO Industries, Inc.
See Also: