fop 1.0

org.apache.fop.area.inline
Class Image

java.lang.Object
  extended by org.apache.fop.area.AreaTreeObject
      extended by org.apache.fop.area.Area
          extended by org.apache.fop.area.inline.Image
All Implemented Interfaces:
java.io.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.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.fop.area.Area
bpd, BT, CLASS_ABSOLUTE, CLASS_BEFORE_FLOAT, CLASS_FIXED, CLASS_FOOTNOTE, CLASS_MAX, CLASS_NORMAL, CLASS_SIDE_FLOAT, ipd, log, LR, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, props, RL, TB
 
Fields inherited from class org.apache.fop.area.AreaTreeObject
extensionAttachments, foreignAttributes
 
Constructor Summary
Image(java.lang.String url)
          Create a new image with the given url.
 
Method Summary
 java.lang.String getURL()
          Get the url of this image.
 
Methods inherited from class org.apache.fop.area.Area
addChildArea, addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsBoolean, getTraitAsInteger, getTraits, hasTrait, hasTraits, setAreaClass, setBPD, setIPD, toString
 
Methods inherited from class org.apache.fop.area.AreaTreeObject
addExtensionAttachment, getExtensionAttachments, getForeignAttributes, getForeignAttributeValue, hasExtensionAttachments, setExtensionAttachments, setForeignAttribute, setForeignAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Image

public Image(java.lang.String url)
Create a new image with the given url.

Parameters:
url - the url of the image
Method Detail

getURL

public java.lang.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

fop 1.0

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