Package | Description |
---|---|
org.opendaylight.yangtools.yang.data.codec.gson |
Modifier and Type | Method and Description |
---|---|
@NonNull JSONCodecFactory |
JSONCodecFactorySupplier.createLazy(@NonNull SchemaContext context)
Create a new thread-unsafe, lazily-caching
JSONCodecFactory for a SchemaContext. |
static JSONCodecFactory |
JSONCodecFactory.createLazy(SchemaContext context)
Deprecated.
Use
JSONCodecFactorySupplier.createLazy(SchemaContext) instead. |
@NonNull JSONCodecFactory |
JSONCodecFactorySupplier.createSimple(@NonNull SchemaContext context)
Create a simplistic, thread-safe
JSONCodecFactory for a SchemaContext . |
static JSONCodecFactory |
JSONCodecFactory.createSimple(SchemaContext context)
Deprecated.
Use
JSONCodecFactorySupplier.createSimple(SchemaContext) instead. |
@NonNull JSONCodecFactory |
JSONCodecFactorySupplier.getPrecomputed(@NonNull SchemaContext context)
Get a thread-safe, eagerly-caching
JSONCodecFactory for a SchemaContext. |
static JSONCodecFactory |
JSONCodecFactory.getPrecomputed(SchemaContext context)
Deprecated.
|
@NonNull JSONCodecFactory |
JSONCodecFactorySupplier.getShared(@NonNull SchemaContext context)
Get a thread-safe, lazily-caching
JSONCodecFactory for a SchemaContext. |
static JSONCodecFactory |
JSONCodecFactory.getShared(SchemaContext context)
Deprecated.
Use
JSONCodecFactorySupplier.getShared(SchemaContext) instead. |
Modifier and Type | Method and Description |
---|---|
static Optional<JSONCodecFactory> |
JSONCodecFactory.getPrecomputedIfAvailable(SchemaContext context)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static @NonNull JsonParserStream |
JsonParserStream.create(@NonNull NormalizedNodeStreamWriter writer,
@NonNull JSONCodecFactory codecFactory)
|
static @NonNull JsonParserStream |
JsonParserStream.create(@NonNull NormalizedNodeStreamWriter writer,
@NonNull JSONCodecFactory codecFactory,
@NonNull SchemaNode parentNode)
|
static NormalizedNodeStreamWriter |
JSONNormalizedNodeStreamWriter.createExclusiveWriter(JSONCodecFactory codecFactory,
DataNodeContainer rootNode,
URI initialNs,
com.google.gson.stream.JsonWriter jsonWriter)
Create a new stream writer, which writes to the specified output stream.
|
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,
DataNodeContainer rootNode,
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 © 2019 OpenDaylight. All rights reserved.