Interface NormalizedNodeDataInput

    • Method Detail

      • streamNormalizedNode

        void streamNormalizedNode​(NormalizedNodeStreamWriter writer)
                           throws IOException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Interpret current stream position as a NormalizedNode, stream its events into a NormalizedNodeStreamWriter.
        Parameters:
        writer - Writer to emit events to
        Throws:
        IOException - if an error occurs
        IllegalStateException - if the dictionary has been detached
        NullPointerException - if writer is null
      • readNormalizedNode

        default NormalizedNode<?,​?> readNormalizedNode()
                                                      throws IOException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Read a normalized node from the reader.
        Returns:
        Next node from the stream, or null if end of stream has been reached.
        Throws:
        IOException - if an error occurs
        IllegalStateException - if the dictionary has been detached
      • readNormalizedNode

        default NormalizedNode<?,​?> readNormalizedNode​(ReusableStreamReceiver receiver)
                                                      throws IOException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Read a normalized node from the reader, using specified writer to construct the result.
        Parameters:
        receiver - Reusable receiver to, expected to be reset
        Returns:
        Next node from the stream, or null if end of stream has been reached.
        Throws:
        IOException - if an error occurs
        IllegalStateException - if the dictionary has been detached
      • readQName

        @NonNull QName readQName()
                          throws IOException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Throws:
        IOException
      • readSchemaPath

        SchemaPath readSchemaPath()
                           throws IOException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Throws:
        IOException
      • getVersion

        NormalizedNodeStreamVersion getVersion()
                                        throws IOException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Return the version of the underlying input stream.
        Returns:
        Stream version
        Throws:
        IOException - if the version cannot be ascertained
      • readOptionalNormalizedNode

        default Optional<NormalizedNode<?,​?>> readOptionalNormalizedNode()
                                                                        throws IOException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Throws:
        IOException