org.apache.fop.image

Class XMLImage

Implemented Interfaces:
FopImage

public class XMLImage
extends AbstractFopImage

This is an implementation for XML-based images such as SVG.
See Also:
AbstractFopImage, FopImage

Field Summary

Fields inherited from class org.apache.fop.image.AbstractFopImage

bitmaps, bitsPerPixel, colorSpace, dpiHorizontal, dpiVertical, height, imageInfo, inputStream, invertImage, isTransparent, loaded, log, raw, transparentColor, width

Fields inherited from interface org.apache.fop.image.FopImage

BITMAP, DIMENSIONS, ORIGINAL_DATA

Constructor Summary

XMLImage(FopImage.ImageInfo imgInfo)

Method Summary

Document
getDocument()
Returns the XML document as a DOM document.
String
getNameSpace()
Returns the namespace of the XML document.
static String
getParserName()
Returns the fully qualified classname of an XML parser for Batik classes that apparently need it (error messages, perhaps)

Methods inherited from class org.apache.fop.image.AbstractFopImage

getBitmaps, getBitmapsSize, getBitsPerPixel, getColorSpace, getHeight, getHorizontalResolution, getICCProfile, getIntrinsicAlignmentAdjust, getIntrinsicHeight, getIntrinsicWidth, getMimeType, getOriginalURI, getRessourceBytes, getRessourceBytesSize, getSoftMask, getTransparentColor, getVerticalResolution, getWidth, hasSoftMask, isInverted, isTransparent, load, loadBitmap, loadDefaultOriginalData, loadDimensions, loadOriginalData

Constructor Details

XMLImage

public XMLImage(FopImage.ImageInfo imgInfo)

Method Details

getDocument

public Document getDocument()
Returns the XML document as a DOM document.
Returns:
the DOM document

getNameSpace

public String getNameSpace()
Returns the namespace of the XML document.
Returns:
the namespace

getParserName

public static String getParserName()
Returns the fully qualified classname of an XML parser for Batik classes that apparently need it (error messages, perhaps)
Returns:
an XML parser classname

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.