org.icepdf.core.tag
Class TaggedImage

java.lang.Object
  extended by org.icepdf.core.tag.TaggedImage
All Implemented Interfaces:
java.io.Serializable

public class TaggedImage
extends java.lang.Object
implements java.io.Serializable

Since:
4.0
Author:
mcollette
See Also:
Serialized Form

Method Summary
 java.lang.String describePages()
           
 java.util.List getPages()
          If pages.size() == 1, then pages.get(0) is the page index, if pages.size() == 2, then pages.get(0) is the inclusive starting page index and pages.get(1) is the inclusive ending index.
 Reference getReference()
           
 java.util.List getTags()
           
 boolean isInlineImage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getReference

public Reference getReference()

isInlineImage

public boolean isInlineImage()

getPages

public java.util.List getPages()
If pages.size() == 1, then pages.get(0) is the page index, if pages.size() == 2, then pages.get(0) is the inclusive starting page index and pages.get(1) is the inclusive ending index. If there is an even size, then they are all index ranges, and if there is an odd size, then the last entry is a page index by itself.

Returns:
List of page indexes in the document where the image is found

describePages

public java.lang.String describePages()

getTags

public java.util.List getTags()