Modifier and Type | Class and Description |
---|---|
class |
QNameTransformingStreamWriter
Stateless Normalized Node Stream Writer decorator, which performs QName translation.
|
Modifier and Type | Method and Description |
---|---|
static NormalizedNodeStreamWriter |
QNameTransformingStreamWriter.createQNameModuleReplacing(NormalizedNodeStreamWriter delegate,
Map<QNameModule,QNameModule> mapping)
Returns decorator, which uses supplied map to transform QNameModules.
|
static NormalizedNodeStreamWriter |
QNameTransformingStreamWriter.createQNameReplacing(NormalizedNodeStreamWriter delegate,
Map<QName,QName> mapping)
Returns decorator, which uses supplied map to transform QNames.
|
protected abstract NormalizedNodeStreamWriter |
QNameTransformingStreamWriter.delegate() |
static NormalizedNodeStreamWriter |
QNameTransformingStreamWriter.fromFunction(NormalizedNodeStreamWriter delegate,
com.google.common.base.Function<QName,QName> transformation)
Returns decorator, which uses supplied function to transform QNames.
|
Modifier and Type | Method and Description |
---|---|
static NormalizedNodeStreamWriter |
QNameTransformingStreamWriter.createQNameModuleReplacing(NormalizedNodeStreamWriter delegate,
Map<QNameModule,QNameModule> mapping)
Returns decorator, which uses supplied map to transform QNameModules.
|
static NormalizedNodeStreamWriter |
QNameTransformingStreamWriter.createQNameReplacing(NormalizedNodeStreamWriter delegate,
Map<QName,QName> mapping)
Returns decorator, which uses supplied map to transform QNames.
|
static NormalizedNodeStreamWriter |
QNameTransformingStreamWriter.fromFunction(NormalizedNodeStreamWriter delegate,
com.google.common.base.Function<QName,QName> transformation)
Returns decorator, which uses supplied function to transform QNames.
|
Modifier and Type | Interface and Description |
---|---|
interface |
NormalizedNodeStreamAttributeWriter
Extension to the NormalizedNodeStreamWriter with attribute support
|
interface |
SchemaAwareNormalizedNodeStreamAttributeWriter
Marker interface for
SchemaAwareNormalizedNodeStreamAttributeWriter s which can take advantage of
DataSchemaNode information when writing the nodes. |
interface |
SchemaAwareNormalizedNodeStreamWriter
Marker interface for
NormalizedNodeStreamWriter s which can take advantage of DataSchemaNode
information when writing the nodes. |
Modifier and Type | Class and Description |
---|---|
class |
ForwardingNormalizedNodeStreamAttributeWriter |
class |
ForwardingNormalizedNodeStreamWriter |
class |
LoggingNormalizedNodeStreamWriter
A
NormalizedNodeStreamWriter which logs the events into a Logger . |
Modifier and Type | Method and Description |
---|---|
protected abstract NormalizedNodeStreamWriter |
ForwardingNormalizedNodeStreamWriter.delegate() |
protected NormalizedNodeStreamWriter |
NormalizedNodeWriter.getWriter() |
Modifier and Type | Method and Description |
---|---|
static NormalizedNodeWriter |
NormalizedNodeWriter.forStreamWriter(NormalizedNodeStreamWriter writer)
Create a new writer backed by a
NormalizedNodeStreamWriter . |
static NormalizedNodeWriter |
NormalizedNodeWriter.forStreamWriter(NormalizedNodeStreamWriter writer,
boolean orderKeyLeaves)
Create a new writer backed by a
NormalizedNodeStreamWriter . |
static SchemaAwareNormalizedNodeStreamWriter |
DataSchemaNodeAwareAdaptor.forWriter(NormalizedNodeStreamWriter writer) |
Modifier and Type | Class and Description |
---|---|
class |
JSONNormalizedNodeStreamWriter
This implementation will create JSON output as output stream.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static JsonParserStream |
JsonParserStream.create(NormalizedNodeStreamWriter writer,
SchemaContext schemaContext) |
static JsonParserStream |
JsonParserStream.create(NormalizedNodeStreamWriter writer,
SchemaContext schemaContext,
SchemaNode parentNode) |
Modifier and Type | Class and Description |
---|---|
class |
XMLStreamNormalizedNodeStreamWriter
A
NormalizedNodeStreamWriter which translates the events into an
XMLStreamWriter , resulting in a RFC 6020 XML encoding. |
Modifier and Type | Method and Description |
---|---|
static NormalizedNodeStreamWriter |
XMLStreamNormalizedNodeStreamWriter.create(XMLStreamWriter writer,
SchemaContext context)
Create a new writer with the specified context as its root.
|
static NormalizedNodeStreamWriter |
XMLStreamNormalizedNodeStreamWriter.create(XMLStreamWriter writer,
SchemaContext context,
SchemaPath path)
Create a new writer with the specified context and rooted in the specified schema path
|
Modifier and Type | Class and Description |
---|---|
class |
ImmutableNormalizedNodeStreamWriter
Implementation of
NormalizedNodeStreamWriter , which constructs
immutable instances of NormalizedNode s. |
Modifier and Type | Method and Description |
---|---|
static NormalizedNodeStreamWriter |
ImmutableNormalizedNodeStreamWriter.from(NormalizedNodeContainerBuilder<?,?,?,?> builder)
Creates a
NormalizedNodeStreamWriter which creates instances of supplied
NormalizedNode s and writes them to supplied builder as child nodes. |
static NormalizedNodeStreamWriter |
ImmutableNormalizedNodeStreamWriter.from(NormalizedNodeResult result)
Creates a
NormalizedNodeStreamWriter which creates one instance of top
level NormalizedNode (type of NormalizedNode) is determined by first
start event. |
Copyright © 2017 OpenDaylight. All rights reserved.