Interface ConverterPlugin
- All Known Implementing Classes:
BatikConverter,ImageIOConverter
public interface ConverterPlugin
Describes an Image converter.
- Version:
- $Revision: 70597ba9d706 $
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classInternal class describing an XML document and the dimensions of its default view. -
Method Summary
Modifier and TypeMethodDescriptionconvert(Node doc, LayoutContext context) Convert from the given Math Object to an XML DOM Document.convert(Node doc, LayoutContext context, OutputStream outStream) Write the given MathBase object with its rendering parameters into the given output stream.
-
Method Details
-
convert
Write the given MathBase object with its rendering parameters into the given output stream.- Parameters:
doc- A JEuclid DocumentElementcontext- LayoutContext to use.outStream- Target output stream.- Returns:
- Rendering's dimension based on the spefic plugin's Graphics2D implementation.
- Throws:
IOException- if an I/O error occurred during write.
-
convert
Convert from the given Math Object to an XML DOM Document.- Parameters:
doc- A JEuclid DocumentElementcontext- LayoutContext to use.- Returns:
- an instance of DocumentWithDimension, containing a Document of the appropriate subtype for this format (e.g. SVGDocument), if available. If conversion is not supported by this plugin, it may return null.
-