org.apache.abdera.writer
Interface NamedWriter

All Superinterfaces:
Writer
All Known Implementing Classes:
AbstractNamedWriter

public interface NamedWriter
extends Writer

Named Writers provide a means of extending Abdera's built in serialization.


Method Summary
 java.lang.String getName()
          Return the name used to acquire an instance of this Writer (case insensitive)
 java.lang.String[] getOutputFormats()
          Return a listing of MIME Media formats this NamedWriter is capable of outputting.
 boolean outputsFormat(java.lang.String mediatype)
          Returns true if the format produced by this writer matches the specified media type
 
Methods inherited from interface org.apache.abdera.writer.Writer
getDefaultWriterOptions, write, write, writeTo, writeTo, writeTo, writeTo
 

Method Detail

getName

java.lang.String getName()
Return the name used to acquire an instance of this Writer (case insensitive)


getOutputFormats

java.lang.String[] getOutputFormats()
Return a listing of MIME Media formats this NamedWriter is capable of outputting.


outputsFormat

boolean outputsFormat(java.lang.String mediatype)
Returns true if the format produced by this writer matches the specified media type