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

private static class PdfContentStreamProcessor.ResourceDictionary extends PdfDictionary
A resource dictionary that allows stack-like behavior to support resource dictionary inheritance
  • Field Details

  • Constructor Details

    • ResourceDictionary

      public ResourceDictionary()
  • Method Details

    • push

      public void push(PdfDictionary resources)
    • pop

      public void pop()
    • getDirectObject

      public PdfObject getDirectObject(PdfName key)
      Description copied from class: PdfDictionary
      Returns the PdfObject associated to the specified key, resolving a possible indirect reference to a direct object. This method will never return a PdfIndirectReference object.
      Overrides:
      getDirectObject in class PdfDictionary
      Parameters:
      key - A key for the PdfObject to be returned
      Returns:
      A direct PdfObject or null