com.lowagie.text.pdf
Class PdfXObjectDictionary
java.lang.Object
|
+--com.lowagie.text.pdf.PdfObject
|
+--com.lowagie.text.pdf.PdfDictionary
|
+--com.lowagie.text.pdf.PdfXObjectDictionary
- All Implemented Interfaces:
- PdfResource
- class PdfXObjectDictionary
- extends PdfDictionary
- implements PdfResource
PdfXObjectDictionary is a PdfResource, containing a dictionary of XObjects.
- See Also:
PdfResource,
PdfResources
| Fields inherited from class com.lowagie.text.pdf.PdfObject |
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type |
|
Method Summary |
(package private) boolean |
contains(PdfImage image)
Checks if the XObjectDictionary already contains a
PdfImage with this name. |
(package private) boolean |
containsXObject()
Checks if the PdfXObjectDictionary contains at least
one object. |
PdfName |
key()
Returns the name of a resource. |
PdfObject |
value()
Returns the object that represents the resource. |
| Methods inherited from class com.lowagie.text.pdf.PdfDictionary |
get, getKeys, isCatalog, isDictionaryType, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putDel, putEx, remove, toPdf |
| Methods inherited from class com.lowagie.text.pdf.PdfObject |
getBytes, isArray, isBoolean, isDictionary, isName, isNull, isNumber, isStream, isString, length, setContent, toString, type |
PdfXObjectDictionary
PdfXObjectDictionary()
- Constructs a new
PdfFontDictionary.
key
public PdfName key()
- Returns the name of a resource.
- Specified by:
key in interface PdfResource
- Returns:
- a
PdfName.
value
public PdfObject value()
- Returns the object that represents the resource.
- Specified by:
value in interface PdfResource
- Returns:
- a
PdfObject
contains
boolean contains(PdfImage image)
- Checks if the
XObjectDictionary already contains a
PdfImage with this name.
- Returns:
true if a font with this name already exists,
false otherwise
containsXObject
boolean containsXObject()
- Checks if the
PdfXObjectDictionary contains at least
one object.
- Returns:
true if an object was found
false otherwise