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