org.apache.abdera.writer
Interface NamedWriter

All Superinterfaces:
org.apache.abdera.util.NamedItem, Writer

public interface NamedWriter
extends Writer, org.apache.abdera.util.NamedItem

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


Method Summary
 String[] getOutputFormats()
          Return a listing of MIME Media formats this NamedWriter is capable of outputting.
 boolean outputsFormat(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, setDefaultWriterOptions, write, write, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo
 
Methods inherited from interface org.apache.abdera.util.NamedItem
getName
 

Method Detail

getOutputFormats

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


outputsFormat

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



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