org.apache.abdera.parser.stax
Class FOMWriter
java.lang.Object
org.apache.abdera.util.AbstractWriter
org.apache.abdera.parser.stax.FOMWriter
- All Implemented Interfaces:
- NamedItem, NamedWriter, Writer
public class FOMWriter
- extends AbstractWriter
- implements NamedWriter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FOMWriter
public FOMWriter()
FOMWriter
public FOMWriter(Abdera abdera)
writeTo
public void writeTo(Base base,
OutputStream out,
WriterOptions options)
throws IOException
- Description copied from interface:
Writer
- Serialized the given Abdera Base to the given outputstream
- Specified by:
writeTo
in interface Writer
- Throws:
IOException
writeTo
public void writeTo(Base base,
Writer out,
WriterOptions options)
throws IOException
- Description copied from interface:
Writer
- Serialized the given Abdera Base to the given writer
- Specified by:
writeTo
in interface Writer
- Throws:
IOException
write
public Object write(Base base,
WriterOptions options)
throws IOException
- Description copied from interface:
Writer
- Return the serialized form of the Abdera Base
- Specified by:
write
in interface Writer
- Throws:
IOException
getName
public String getName()
- Specified by:
getName
in interface NamedItem
getOutputFormats
public String[] getOutputFormats()
- Description copied from interface:
NamedWriter
- Return a listing of MIME Media formats this NamedWriter is capable of outputting.
- Specified by:
getOutputFormats
in interface NamedWriter
outputsFormat
public boolean outputsFormat(String mediatype)
- Description copied from interface:
NamedWriter
- Returns true if the format produced by this writer matches the specified media type
- Specified by:
outputsFormat
in interface NamedWriter
initDefaultWriterOptions
protected WriterOptions initDefaultWriterOptions()
- Specified by:
initDefaultWriterOptions
in class AbstractWriter
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.