Package org.apache.abdera.util
Class AbstractNamedWriter
- java.lang.Object
-
- org.apache.abdera.util.AbstractWriter
-
- org.apache.abdera.util.AbstractNamedWriter
-
- All Implemented Interfaces:
NamedItem
,NamedWriter
,Writer
@Deprecated(since="2021-07-29") public abstract class AbstractNamedWriter extends AbstractWriter implements NamedWriter
Deprecated.This API is deprecated as Apache Abdera is a retired project since 2017.Base abstract implementation of NamedWriter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getName()
Deprecated.java.lang.String[]
getOutputFormats()
Deprecated.Return a listing of MIME Media formats this NamedWriter is capable of outputting.boolean
outputsFormat(java.lang.String mediatype)
Deprecated.Returns true if the format produced by this writer matches the specified media type-
Methods inherited from class org.apache.abdera.util.AbstractWriter
getDefaultWriterOptions, setDefaultWriterOptions, write, writeTo, writeTo, writeTo, writeTo
-
-
-
-
Method Detail
-
getOutputFormats
public java.lang.String[] getOutputFormats()
Deprecated.Description copied from interface:NamedWriter
Return a listing of MIME Media formats this NamedWriter is capable of outputting.- Specified by:
getOutputFormats
in interfaceNamedWriter
-
outputsFormat
public boolean outputsFormat(java.lang.String mediatype)
Deprecated.Description copied from interface:NamedWriter
Returns true if the format produced by this writer matches the specified media type- Specified by:
outputsFormat
in interfaceNamedWriter
-
-