org.apache.abdera.writer
Interface Writer

All Known Subinterfaces:
NamedWriter

public interface Writer

Writers are used to serialize Abdera objects


Method Summary
 WriterOptions getDefaultWriterOptions()
           
 Writer setDefaultWriterOptions(WriterOptions options)
           
 Object write(Base base)
          Return the serialized form of the Abdera Base
 Object write(Base base, WriterOptions options)
          Return the serialized form of the Abdera Base
 void writeTo(Base base, OutputStream out)
          Serialized the given Abdera Base to the given outputstream
 void writeTo(Base base, OutputStream out, WriterOptions options)
          Serialized the given Abdera Base to the given outputstream
 void writeTo(Base base, WritableByteChannel out)
           
 void writeTo(Base base, WritableByteChannel out, WriterOptions options)
           
 void writeTo(Base base, Writer out)
          Serialized the given Abdera Base to the given writer
 void writeTo(Base base, Writer out, WriterOptions options)
          Serialized the given Abdera Base to the given writer
 

Method Detail

writeTo

void writeTo(Base base,
             OutputStream out)
             throws IOException
Serialized the given Abdera Base to the given outputstream

Throws:
IOException

writeTo

void writeTo(Base base,
             Writer out)
             throws IOException
Serialized the given Abdera Base to the given writer

Throws:
IOException

write

Object write(Base base)
             throws IOException
Return the serialized form of the Abdera Base

Throws:
IOException

writeTo

void writeTo(Base base,
             OutputStream out,
             WriterOptions options)
             throws IOException
Serialized the given Abdera Base to the given outputstream

Throws:
IOException

writeTo

void writeTo(Base base,
             Writer out,
             WriterOptions options)
             throws IOException
Serialized the given Abdera Base to the given writer

Throws:
IOException

write

Object write(Base base,
             WriterOptions options)
             throws IOException
Return the serialized form of the Abdera Base

Throws:
IOException

writeTo

void writeTo(Base base,
             WritableByteChannel out)
             throws IOException
Throws:
IOException

writeTo

void writeTo(Base base,
             WritableByteChannel out,
             WriterOptions options)
             throws IOException
Throws:
IOException

getDefaultWriterOptions

WriterOptions getDefaultWriterOptions()

setDefaultWriterOptions

Writer setDefaultWriterOptions(WriterOptions options)


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.