All Superinterfaces:
AutoCloseable, DataOutput, QNameAwareDataOutput

@NonNullByDefault public interface NormalizedNodeDataOutput extends AutoCloseable, QNameAwareDataOutput
Interface for emitting NormalizedNodes, YangInstanceIdentifiers, YangInstanceIdentifier.PathArguments and SchemaNodeIdentifiers.
  • Method Details

    • writeNormalizedNode

      void writeNormalizedNode(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode normalizedNode) throws IOException
      Write a NormalizedNode.
      Parameters:
      normalizedNode - NormalizedNode to write
      Throws:
      IOException - if an error occurs
      NullPointerException - if normalizedNode is null
    • writePathArgument

      void writePathArgument(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument pathArgument) throws IOException
      Write a YangInstanceIdentifier.PathArgument.
      Parameters:
      pathArgument - PathArgument to write
      Throws:
      IOException - if an error occurs
      NullPointerException - if pathArgument is null
    • writeYangInstanceIdentifier

      void writeYangInstanceIdentifier(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier identifier) throws IOException
      Write a YangInstanceIdentifier.
      Parameters:
      identifier - YangInstanceIdentifier to write
      Throws:
      IOException - if an error occurs
      NullPointerException - if identifier is null
    • writeSchemaNodeIdentifier

      void writeSchemaNodeIdentifier(SchemaNodeIdentifier path) throws IOException
      Parameters:
      path - SchemaNodeIdentifier to write
      Throws:
      IOException - if an error occurs
      NullPointerException - if path is null
    • writeOptionalNormalizedNode

      default void writeOptionalNormalizedNode(@Nullable org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode normalizedNode) throws IOException
      Write a NormalizedNode or null value.
      Parameters:
      normalizedNode - NormalizedNode to write, perhapss null, which will be restored on read.
      Throws:
      IOException - if an error occurs
      NullPointerException - if normalizedNode is null
    • close

      void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Throws:
      IOException - if an error occurs