Class ValueEncoderFactory

java.lang.Object
org.codehaus.stax2.ri.typed.ValueEncoderFactory

public final class ValueEncoderFactory extends Object
Factory class used to construct all AsciiValueEncoder instances needed by a single stream writer instance. Simple encoders are also recycled (for the lifetime of an encoder, which is same as its owners, i.e. stream reader or writer's) to minimize overhead. More complex ones (array based, long string) are not recycled.

Since encoders are recycled, instances are not thread-safe.

Since:
3.0