Class MountPointNormalizedNodeWriter
- java.lang.Object
-
- org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeWriter
-
- org.opendaylight.yangtools.rfc8528.data.util.MountPointNormalizedNodeWriter
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
@Beta public abstract class MountPointNormalizedNodeWriter extends NormalizedNodeWriter
AMountPointNode
-aware counterpart toNormalizedNodeWriter
. Based on the backing writer's capability it either forwards or filters MountPointNodes.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NonNull MountPointNormalizedNodeWriter
filteringFor(NormalizedNodeStreamWriter writer)
static @NonNull MountPointNormalizedNodeWriter
forStreamWriter(NormalizedNodeStreamWriter writer)
static @NonNull MountPointNormalizedNodeWriter
forwardingFor(NormalizedNodeStreamWriter writer)
protected boolean
wasProcessedAsCompositeNode(NormalizedNode node)
-
Methods inherited from class org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeWriter
childSizeHint, close, flush, forStreamWriter, getWriter, wasProcessAsSimpleNode, write, writeChildren, writeMapEntryNode
-
-
-
-
Method Detail
-
forStreamWriter
public static @NonNull MountPointNormalizedNodeWriter forStreamWriter(NormalizedNodeStreamWriter writer)
-
filteringFor
public static @NonNull MountPointNormalizedNodeWriter filteringFor(NormalizedNodeStreamWriter writer)
-
forwardingFor
public static @NonNull MountPointNormalizedNodeWriter forwardingFor(NormalizedNodeStreamWriter writer)
-
wasProcessedAsCompositeNode
protected final boolean wasProcessedAsCompositeNode(NormalizedNode node) throws IOException
- Overrides:
wasProcessedAsCompositeNode
in classNormalizedNodeWriter
- Throws:
IOException
-
-