public class FOMWriter extends AbstractWriter implements NamedWriter
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
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
|
java.lang.Object |
write(Base base,
WriterOptions options)
Return the serialized form of the Abdera Base
|
void |
writeTo(Base base,
java.io.OutputStream out,
WriterOptions options)
Serialized the given Abdera Base to the given outputstream
|
void |
writeTo(Base base,
java.io.Writer out,
WriterOptions options)
Serialized the given Abdera Base to the given writer
|
getDefaultWriterOptions, setDefaultWriterOptions, write, writeTo, writeTo, writeTo, writeToequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultWriterOptions, setDefaultWriterOptions, write, writeTo, writeTo, writeTo, writeTopublic FOMWriter()
public FOMWriter(Abdera abdera)
public void writeTo(Base base, java.io.OutputStream out, WriterOptions options) throws java.io.IOException
Writerpublic void writeTo(Base base, java.io.Writer out, WriterOptions options) throws java.io.IOException
Writerpublic java.lang.Object write(Base base, WriterOptions options) throws java.io.IOException
Writerpublic java.lang.String[] getOutputFormats()
NamedWritergetOutputFormats in interface NamedWriterpublic boolean outputsFormat(java.lang.String mediatype)
NamedWriteroutputsFormat in interface NamedWriterCopyright © 2010 - 2019 Adobe. All Rights Reserved