Class GFCosObject

java.lang.Object
org.verapdf.model.GenericModelObject
org.verapdf.gf.model.impl.cos.GFCosObject
All Implemented Interfaces:
Object, CosObject
Direct Known Subclasses:
GFCosArray, GFCosBool, GFCosDict, GFCosDocument, GFCosIndirect, GFCosName, GFCosNull, GFCosNumber, GFCosString, GFCosXRef

public class GFCosObject extends GenericModelObject implements CosObject
Author:
Timur Kamalov
  • Field Details

    • MAX_NUMBER_OF_ELEMENTS

      public static final int MAX_NUMBER_OF_ELEMENTS
      See Also:
    • cosDocument

      protected final COSDocument cosDocument
    • baseObject

      protected final COSBase baseObject
  • Constructor Details

    • GFCosObject

      protected GFCosObject(String type)
    • GFCosObject

      protected GFCosObject(COSBase baseObject, String type)
    • GFCosObject

      protected GFCosObject(COSDocument cosDocument, String type)
  • Method Details

    • getFromValue

      public static CosObject getFromValue(COSBase base)
      Transform base to corresponding object of abstract model implementation. For transforming using GFCosVisitor.
      Parameters:
      base -
      Returns:
      object of abstract model implementation, transformed from base