Interface Writer

  • All Known Subinterfaces:
    NamedWriter
    All Known Implementing Classes:
    AbstractNamedWriter, AbstractWriter

    @Deprecated(since="2021-07-29")
    public interface Writer
    Deprecated.
    This API is deprecated as Apache Abdera is a retired project since 2017.
    Writers are used to serialize Abdera objects
    • Method Detail

      • writeTo

        void writeTo​(Base base,
                     java.io.OutputStream out)
              throws java.io.IOException
        Deprecated.
        Serialized the given Abdera Base to the given outputstream
        Throws:
        java.io.IOException
      • writeTo

        void writeTo​(Base base,
                     java.io.Writer out)
              throws java.io.IOException
        Deprecated.
        Serialized the given Abdera Base to the given writer
        Throws:
        java.io.IOException
      • write

        java.lang.Object write​(Base base)
                        throws java.io.IOException
        Deprecated.
        Return the serialized form of the Abdera Base
        Throws:
        java.io.IOException
      • writeTo

        void writeTo​(Base base,
                     java.io.OutputStream out,
                     WriterOptions options)
              throws java.io.IOException
        Deprecated.
        Serialized the given Abdera Base to the given outputstream
        Throws:
        java.io.IOException
      • writeTo

        void writeTo​(Base base,
                     java.io.Writer out,
                     WriterOptions options)
              throws java.io.IOException
        Deprecated.
        Serialized the given Abdera Base to the given writer
        Throws:
        java.io.IOException
      • write

        java.lang.Object write​(Base base,
                               WriterOptions options)
                        throws java.io.IOException
        Deprecated.
        Return the serialized form of the Abdera Base
        Throws:
        java.io.IOException
      • writeTo

        void writeTo​(Base base,
                     java.nio.channels.WritableByteChannel out)
              throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • writeTo

        void writeTo​(Base base,
                     java.nio.channels.WritableByteChannel out,
                     WriterOptions options)
              throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • getDefaultWriterOptions

        WriterOptions getDefaultWriterOptions()
        Deprecated.
      • setDefaultWriterOptions

        Writer setDefaultWriterOptions​(WriterOptions options)
        Deprecated.