Jacson

de.spieleck.helper
Class FopAdapter

java.lang.Object
  extended byde.spieleck.helper.FopAdapter

public class FopAdapter
extends java.lang.Object

Utility class to provide JAXP Results which route XML into Apache-FOP.

Author:
fsn

Method Summary
static java.util.Set getFopMimes()
          Get a Set of available Fop mime types.
static javax.xml.transform.Result getFopResult(java.lang.String mime, java.io.OutputStream out)
          Return a Result when Fop can handle that particular mimetype
static boolean isFopAvailable()
          Check the availabilty of fop at load time.
static boolean isFopEnabled(java.lang.String mime)
          Check weather Fop will handle this mime type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isFopAvailable

public static boolean isFopAvailable()
Check the availabilty of fop at load time.


isFopEnabled

public static boolean isFopEnabled(java.lang.String mime)
Check weather Fop will handle this mime type.


getFopMimes

public static java.util.Set getFopMimes()
Get a Set of available Fop mime types.


getFopResult

public static javax.xml.transform.Result getFopResult(java.lang.String mime,
                                                      java.io.OutputStream out)
Return a Result when Fop can handle that particular mimetype


Spieleck

Copyleft 2002 spieleck.de.