Class GFOpMarkedContent

java.lang.Object
org.verapdf.model.GenericModelObject
org.verapdf.gf.model.impl.operator.base.GFOperator
org.verapdf.gf.model.impl.operator.markedcontent.GFOpMarkedContent
All Implemented Interfaces:
Object, Operator, OpMarkedContent
Direct Known Subclasses:
GFOp_BDC, GFOp_BMC, GFOp_DP, GFOp_EMC, GFOp_MP

public abstract class GFOpMarkedContent extends GFOperator implements OpMarkedContent
Author:
Timur Kamalov
  • Field Details

  • Constructor Details

  • Method Details

    • initializePropertiesDict

      protected void initializePropertiesDict(PDResourcesHandler resources)
    • getLinkedObjects

      public List<? extends Object> getLinkedObjects(String link)
      Specified by:
      getLinkedObjects in interface Object
      Overrides:
      getLinkedObjects in class GenericModelObject
      Parameters:
      link - - the name of a link
      Returns:
      List of objects with the given link
    • getLinkTag

      public List<CosName> getLinkTag()
    • getTag

      public COSName getTag()
    • getPropertiesDict

      protected List<CosDict> getPropertiesDict()
    • getLinkLang

      public List<CosLang> getLinkLang()
    • getLang

      public COSString getLang()
    • getParentsTags

      public String getParentsTags()
    • getInheritedLang

      public String getInheritedLang()
    • getStructParentLang

      public String getStructParentLang()
    • getParentStructElem

      public COSObject getParentStructElem()
    • getActualText

      public COSString getActualText()
      Checks if attribute dict contains ActualText key and returns it's value.
      Returns:
      ActualText value or null if it is not present.
    • getE

      public COSString getE()
    • getAlt

      public COSString getAlt()
    • getMCID

      public Long getMCID()
      Checks if attribute dict contains MCID key and returns it's value.
      Returns:
      MCID value or value if it is not present.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getInheritedActualText

      public COSString getInheritedActualText()
    • getInheritedAlt

      public COSString getInheritedAlt()
    • getInheritedStringAttribute

      public COSString getInheritedStringAttribute(ASAtom key)
    • getStringAttribute

      public COSString getStringAttribute(ASAtom key)
    • getInheritedMCID

      public Long getInheritedMCID()
    • isRealContent

      public boolean isRealContent()