|
fop 0.93 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fop.image.analyser.XMLReader
ImageReader object for XML document image type.
| Nested Class Summary | |
static interface |
XMLReader.Converter
This interface is to be implemented for XML to image converters. |
| Constructor Summary | |
XMLReader()
|
|
| Method Summary | |
FopImage.ImageInfo |
createDocument(java.io.InputStream is,
FOUserAgent ua)
Creates an ImageInfo object from an XML image read from a stream. |
java.lang.String |
getMimeType()
Returns the MIME type supported by this implementation. |
protected FopImage.ImageInfo |
loadImage(java.lang.String uri,
java.io.InputStream bis,
FOUserAgent ua)
Creates an ImageInfo object from an XML image read from a stream. |
static void |
setConverter(java.lang.String ns,
XMLReader.Converter conv)
Registers a Converter implementation with XMLReader. |
FopImage.ImageInfo |
verifySignature(java.lang.String uri,
java.io.InputStream fis,
FOUserAgent ua)
Verify image type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLReader()
| Method Detail |
public static void setConverter(java.lang.String ns,
XMLReader.Converter conv)
ns - The namespace to associate with this converterconv - The actual Converter implementation
public FopImage.ImageInfo verifySignature(java.lang.String uri,
java.io.InputStream fis,
FOUserAgent ua)
throws java.io.IOException
ImageReader
verifySignature in interface ImageReaderfis - Image buffered input streamuri - URI to the imageua - The user agent
true if image type is the handled one
java.io.IOException - if an I/O error occursImageReaderpublic java.lang.String getMimeType()
protected FopImage.ImageInfo loadImage(java.lang.String uri,
java.io.InputStream bis,
FOUserAgent ua)
uri - The URI to the imagebis - The InputStreamua - The user agent
public FopImage.ImageInfo createDocument(java.io.InputStream is,
FOUserAgent ua)
is - The InputStreamua - The user agent
|
fop 0.93 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||