|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.foray.graphic.output.GraphicOutputFactory
public abstract class GraphicOutputFactory
Abstract superclass for the FOray GraphicOutputFactory implementations.
| Constructor Summary | |
|---|---|
GraphicOutputFactory()
Constructor. |
|
| Method Summary | |
|---|---|
abstract org.axsl.graphic.output.GraphicOutput |
createGraphicOutput(org.axsl.graphic.Graphic graphic)
Create a GraphicOutput implementation. |
Graphic4a |
getGraphic4a(org.axsl.graphic.Graphic graphic)
Returns the Graphic instance, cast as a Graphic4a. |
abstract String |
getMimeType()
Returns the mime-type for this factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GraphicOutputFactory()
| Method Detail |
|---|
public abstract String getMimeType()
GraphicOutput instances for
use with PDF (Portable Document Format) should return "application/pdf".
public abstract org.axsl.graphic.output.GraphicOutput createGraphicOutput(org.axsl.graphic.Graphic graphic)
throws org.axsl.graphic.GraphicException
Graphic.getGraphicOutput(String).
graphic - The Graphic instance for which the GraphicOutput
instance should be created.
org.axsl.graphic.GraphicException - For errors during creation of the GraphicOutput
instance.FontUse.getFontOutput(String)
public Graphic4a getGraphic4a(org.axsl.graphic.Graphic graphic)
throws org.axsl.graphic.GraphicException
Graphic instance, cast as a Graphic4a.
graphic - The Graphic instance to be recast.
graphic recast.
org.axsl.graphic.GraphicException - If graphic is not an instanceof Graphic4a.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||