SerializerFactory.
| Modifier and Type | Field and Description |
|---|---|
| private final javax. | |
| private final ImmutableList | |
| private final AtomicInteger |
| Access | Constructor and Description |
|---|---|
| public | SerializerFactoryImpl(ImmutableList<SerializerExtension> extensions, javax.
|
| Modifier and Type | Method and Description |
|---|---|
| public Serializer | getSerializer(javax.
Implements com. Returns a |
| public CodeBlock | newIdentifier(String prefix)
Overrides default com. Returns an identifier beginning with the given prefix and that is distinct from any identifier returned by another call to this method. |
| env | back to summary |
|---|---|
| private final javax. | |
| extensions | back to summary |
|---|---|
| private final ImmutableList<SerializerExtension> extensions | |
| idCount | back to summary |
|---|---|
| private final AtomicInteger idCount | |
| SerializerFactoryImpl | back to summary |
|---|---|
| public SerializerFactoryImpl(ImmutableList<SerializerExtension> extensions, javax. | |
| getSerializer | back to summary |
|---|---|
| public Serializer getSerializer(javax. Implements com. Doc from com. Returns a
| |
| newIdentifier | back to summary |
|---|---|
| public CodeBlock newIdentifier(String prefix) Overrides default com. Doc from com. Returns an identifier beginning with the given prefix and that is distinct from any identifier
returned by another call to this method. The returned identifier will contain a The default implementation of this method throws
| |