org.apache.fop.area.inline

Class Image

Implemented Interfaces:
Serializable

public class Image
extends Area

Image area for external-graphic. This area holds information for rendering an image. The url of the image is used as a key to reference the image cache.

Field Summary

Fields inherited from class org.apache.fop.area.Area

BT, CLASS_ABSOLUTE, CLASS_BEFORE_FLOAT, CLASS_FIXED, CLASS_FOOTNOTE, CLASS_MAX, CLASS_NORMAL, CLASS_SIDE_FLOAT, LR, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, RL, TB, bpd, ipd, log, props

Fields inherited from class org.apache.fop.area.AreaTreeObject

foreignAttributes

Constructor Summary

Image(String u)
Create a new image with the given url.

Method Summary

String
getURL()
Get the url of this image.

Methods inherited from class org.apache.fop.area.Area

addChildArea, addTrait, addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBPD, getBooleanTrait, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsInteger, getTraits, hasTrait, hasTraits, setAreaClass, setBPD, setIPD, toString

Methods inherited from class org.apache.fop.area.AreaTreeObject

getForeignAttributeValue, getForeignAttributes, setForeignAttribute, setForeignAttributes

Constructor Details

Image

public Image(String u)
Create a new image with the given url.
Parameters:
u - the url of the image

Method Details

getURL

public String getURL()
Get the url of this image. This url is used as a key to locate the actual image data.
Returns:
the url of this image

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