Class PdfContentStreamProcessor.ResourceDictionary
java.lang.Object
com.itextpdf.text.pdf.PdfObject
com.itextpdf.text.pdf.PdfDictionary
com.itextpdf.text.pdf.parser.PdfContentStreamProcessor.ResourceDictionary
- All Implemented Interfaces:
Serializable
- Enclosing class:
PdfContentStreamProcessor
A resource dictionary that allows stack-like behavior to support resource dictionary inheritance
- Since:
- 2.1.4
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDirectObject(PdfName key) Returns thePdfObjectassociated to the specified key, resolving a possible indirect reference to a direct object.voidpop()voidpush(PdfDictionary resources) Methods inherited from class PdfDictionary
checkType, clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toStringMethods inherited from class PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
-
Field Details
-
resourcesStack
-
-
Constructor Details
-
ResourceDictionary
public ResourceDictionary()
-
-
Method Details
-
push
-
pop
public void pop() -
getDirectObject
Description copied from class:PdfDictionaryReturns thePdfObjectassociated to the specified key, resolving a possible indirect reference to a direct object. This method will never return aPdfIndirectReferenceobject.- Overrides:
getDirectObjectin classPdfDictionary- Parameters:
key- A key for thePdfObjectto be returned- Returns:
- A direct
PdfObjectornull
-