org.activemath.presentation.formats
Class Format_MathML
java.lang.Object
java.io.OutputStream
org.activemath.presentation.formats.Format
org.activemath.presentation.formats.Format_MathML
- All Implemented Interfaces:
- Closeable, Flushable
public class Format_MathML
- extends Format
Output stream specialized to produce MathML.
- Version:
- $Revision: 1.2 $ $Date: 2003/05/13 11:01:50 $
| Fields inherited from class org.activemath.presentation.formats.Format |
log, out |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Format_MathML
public Format_MathML(OutputStream output)
getRequiredInputFormat
public String getRequiredInputFormat()
- Description copied from class:
Format
- Tells the caller in what format it must give input to get the format provided by the class. Depends on what
formats have been implemented in
org.activemath.presentation.Page.
- Specified by:
getRequiredInputFormat in class Format
- Returns:
- Format required on input.
getMimeType
public String getMimeType()
- Description copied from class:
Format
- Gives the mime type for the output format.
- Specified by:
getMimeType in class Format
- Returns:
- MIME type as string.
- See Also:
- IANA MIME types,
RFC 1700,
Thread in RedHat's XDG list,
2002-04-20,
freedesktop.org Shared MIME-Info
specification
write
public void write(int b)
throws IOException
- Overrides:
write in class Format
- Throws:
IOException
write
public void write(byte[] b)
throws IOException
- Overrides:
write in class Format
- Throws:
IOException
write
public void write(byte[] b,
int offset,
int len)
throws IOException
- Overrides:
write in class Format
- Throws:
IOException