Package | Description |
---|---|
org.opendaylight.yangtools.yang.data.codec.gson |
Modifier and Type | Method and Description |
---|---|
static JSONCodecFactory |
JSONCodecFactory.create(SchemaContext context)
Deprecated.
Use
getShared(SchemaContext) instead. |
static JSONCodecFactory |
JSONCodecFactory.createLazy(SchemaContext context)
Create a new thread-unsafe, lazily-caching
JSONCodecFactory for a SchemaContext. |
static JSONCodecFactory |
JSONCodecFactory.createSimple(SchemaContext context)
Create a simplistic, thread-safe
JSONCodecFactory for a SchemaContext . |
static JSONCodecFactory |
JSONCodecFactory.getPrecomputed(SchemaContext context)
Get a thread-safe, eagerly-caching
JSONCodecFactory for a SchemaContext. |
static JSONCodecFactory |
JSONCodecFactory.getShared(SchemaContext context)
Get a thread-safe, lazily-caching
JSONCodecFactory for a SchemaContext. |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Optional<JSONCodecFactory> |
JSONCodecFactory.getPrecomputedIfAvailable(SchemaContext context)
Get a thread-safe, eagerly-caching
JSONCodecFactory for a SchemaContext, if it is available. |
Modifier and Type | Method and Description |
---|---|
static NormalizedNodeStreamWriter |
JSONNormalizedNodeStreamWriter.createExclusiveWriter(JSONCodecFactory codecFactory,
SchemaPath path,
URI initialNs,
com.google.gson.stream.JsonWriter jsonWriter)
Create a new stream writer, which writes to the specified output stream.
|
static NormalizedNodeStreamWriter |
JSONNormalizedNodeStreamWriter.createNestedWriter(JSONCodecFactory codecFactory,
SchemaPath path,
URI initialNs,
com.google.gson.stream.JsonWriter jsonWriter)
Create a new stream writer, which writes to the specified output stream.
|
Copyright © 2018 OpenDaylight. All rights reserved.