ChainedEncoder (Grails 3.1.1)
Date: 2016-02-04

Package: org.grails.encoder

## [Java] Class ChainedEncoder

- org.grails.encoder.ChainedEncoder

- All Implemented Interfaces and Traits:
    Encoder, StreamingEncoder

      public class ChainedEncoder
      extends java.lang.Object

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `java.lang.Object` | `ChainedEncoder(java.util.List<StreamingEncoder> encoders, boolean safe)`
    `java.lang.Object` | `ChainedEncoder(StreamingEncoder[] encoders, boolean safe)`
    `protected EncodedAppender` | `chainEncodersAndCachePerThread(EncodedAppender appender)`
    `protected CombinedCodecIdentifier` | `createCodecIdentifier(StreamingEncoder[] encoders)`
    `static StreamingEncoder` | `createFor(StreamingEncoder[] encoders)`
    `static StreamingEncoder` | `createFor(java.util.List<StreamingEncoder> encoders)`
    `static StreamingEncoder` | `createFor(java.util.List<StreamingEncoder> encoders, java.lang.Boolean safe)`
    `protected EncodedAppender` | `doChainEncoders(EncodedAppender appender)`
    `java.lang.Object` | `encode(java.lang.Object o)`
    `void` | `encodeToStream(Encoder thisInstance, java.lang.CharSequence source, int offset, int len, EncodedAppender appender, EncodingState encodingState)`
    `CodecIdentifier` | `getCodecIdentifier()`
    `boolean` | `isApplyToSafelyEncoded()`
    `boolean` | `isSafe()`
    `void` | `markEncoded(java.lang.CharSequence string)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class java.lang.Object` | `java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()`

- - ### Method Detail

    - #### public java.lang.Object ChainedEncoder(java.util.List<StreamingEncoder> encoders, boolean safe)

    - #### public java.lang.Object ChainedEncoder(StreamingEncoder[] encoders, boolean safe)

    - #### protected EncodedAppender chainEncodersAndCachePerThread(EncodedAppender appender)

    - #### protected CombinedCodecIdentifier createCodecIdentifier(StreamingEncoder[] encoders)

    - #### public static StreamingEncoder createFor(StreamingEncoder[] encoders)

    - #### public static StreamingEncoder createFor(java.util.List<StreamingEncoder> encoders)

    - #### public static StreamingEncoder createFor(java.util.List<StreamingEncoder> encoders, java.lang.Boolean safe)

    - #### protected EncodedAppender doChainEncoders(EncodedAppender appender)

    - #### @java.lang.Override public java.lang.Object encode(java.lang.Object o)

    - #### @java.lang.Override public void encodeToStream(Encoder thisInstance, java.lang.CharSequence source, int offset, int len, EncodedAppender appender, EncodingState encodingState)

    - #### @java.lang.Override public CodecIdentifier getCodecIdentifier()

    - #### @java.lang.Override public boolean isApplyToSafelyEncoded()

    - #### @java.lang.Override public boolean isSafe()

    - #### @java.lang.Override public void markEncoded(java.lang.CharSequence string)