Interface MountPointChild


  • @Beta
    @NonNullByDefault
    public interface MountPointChild
    An unresolved child within a mount point. This is similar in functionality to NormalizableAnydata, but rather than normalizing, the data is fed into a combination of a EffectiveModelContext and NormalizedNodeStreamWriter.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,​?> normalizeTo​(org.opendaylight.yangtools.yang.model.api.EffectiveModelContext schemaContext)
      Normalized this child to a particular EffectiveModelContext.
      void writeTo​(org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeStreamWriter writer, MountPointContext mountCtx)
      Stream this child into a writer, with the help of a SchemaContext.
    • Method Detail

      • writeTo

        void writeTo​(org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeStreamWriter writer,
                     MountPointContext mountCtx)
              throws IOException
        Stream this child into a writer, with the help of a SchemaContext.
        Parameters:
        writer - Writer to emit the child into
        mountCtx - MountPointContext for normalization purposes
        Throws:
        IOException - if an underlying error occurs
        NullPointerException - if any of the arguments is null
      • normalizeTo

        org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,​?> normalizeTo​(org.opendaylight.yangtools.yang.model.api.EffectiveModelContext schemaContext)
                                                                                       throws IOException
        Normalized this child to a particular EffectiveModelContext.
        Parameters:
        schemaContext - SchemaContext for normalization purposes
        Returns:
        A NormalizedNode representation of this child
        Throws:
        IOException - if an underlying error occurs
        NullPointerException - if any of the arguments is null