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
public abstract class GFOpMarkedContent extends GFOperator implements OpMarkedContent
- Author:
- Timur Kamalov
-
-
Field Summary
Fields Modifier and Type Field Description static StringACTUAL_TEXTName of link to ActualText value from the properties dictionarystatic StringLANGName of link to Lang value from the properties dictionarystatic StringPROPERTIESName of link to the properties dictionarystatic StringTAGName of link to the tag name-
Fields inherited from class org.verapdf.gf.model.impl.operator.base.GFOperator
arguments, MAX_NUMBER_OF_ELEMENTS
-
Fields inherited from class org.verapdf.model.GenericModelObject
contextDependent
-
-
Constructor Summary
Constructors Constructor Description GFOpMarkedContent(List<COSBase> arguments, String opType, GFOpMarkedContent markedContent, String parentsTags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description COSStringgetActualText()Checks if attribute dict contains ActualText key and returns it's value.COSStringgetAlt()COSStringgetE()COSStringgetInheritedActualText()LonggetInheritedMCID()List<CosLang>getLang()List<? extends Object>getLinkedObjects(String link)LonggetMCID()Checks if attribute dict contains MCID key and returns it's value.StringgetParentLang()StringgetParentsTags()StringgetParentStructureTag()protected List<CosDict>getPropertiesDict()List<CosName>getTag()inthashCode()protected voidinitializePropertiesDict(PDResourcesHandler resources)-
Methods inherited from class org.verapdf.gf.model.impl.operator.base.GFOperator
getLastInteger, getLastNumber, getListOfNumbers
-
Methods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
-
-
-
Field Detail
-
TAG
public static final String TAG
Name of link to the tag name- See Also:
- Constant Field Values
-
PROPERTIES
public static final String PROPERTIES
Name of link to the properties dictionary- See Also:
- Constant Field Values
-
LANG
public static final String LANG
Name of link to Lang value from the properties dictionary- See Also:
- Constant Field Values
-
ACTUAL_TEXT
public static final String ACTUAL_TEXT
Name of link to ActualText value from the properties dictionary- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GFOpMarkedContent
public GFOpMarkedContent(List<COSBase> arguments, String opType, GFOpMarkedContent markedContent, String parentsTags)
-
-
Method Detail
-
initializePropertiesDict
protected void initializePropertiesDict(PDResourcesHandler resources)
-
getLinkedObjects
public List<? extends Object> getLinkedObjects(String link)
- Specified by:
getLinkedObjectsin interfaceObject- Overrides:
getLinkedObjectsin classGenericModelObject- Parameters:
link- - the name of a link- Returns:
- List of objects with the given link
-
getParentsTags
public String getParentsTags()
-
getParentLang
public String getParentLang()
-
getParentStructureTag
public String getParentStructureTag()
-
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.
-
getInheritedActualText
public COSString getInheritedActualText()
-
getInheritedMCID
public Long getInheritedMCID()
-
-