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
- Author:
- Timur Kamalov
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName of link to ActualText value from the properties dictionarystatic final Stringstatic final StringName of link to Lang value from the properties dictionarystatic final StringName of link to the properties dictionarystatic final StringName of link to the tag nameFields inherited from class org.verapdf.gf.model.impl.operator.base.GFOperator
arguments, MAX_NUMBER_OF_ELEMENTSFields inherited from class org.verapdf.model.GenericModelObject
contextDependent -
Constructor Summary
ConstructorsConstructorDescriptionGFOpMarkedContent(List<COSBase> arguments, String opType, GFOpMarkedContent markedContent, String parentsTags, boolean isRealContent) -
Method Summary
Modifier and TypeMethodDescriptionChecks if attribute dict contains ActualText key and returns it's value.getAlt()getE()getLang()getLinkedObjects(String link) getMCID()Checks if attribute dict contains MCID key and returns it's value.getStringAttribute(ASAtom key) getTag()inthashCode()protected voidinitializePropertiesDict(PDResourcesHandler resources) booleanMethods inherited from class org.verapdf.gf.model.impl.operator.base.GFOperator
getLastInteger, getLastNumber, getListOfNumbersMethods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Field Details
-
TAG
Name of link to the tag name- See Also:
-
PROPERTIES
Name of link to the properties dictionary- See Also:
-
LANG
Name of link to Lang value from the properties dictionary- See Also:
-
ACTUAL_TEXT
Name of link to ActualText value from the properties dictionary- See Also:
-
ALT
- See Also:
-
-
Constructor Details
-
GFOpMarkedContent
public GFOpMarkedContent(List<COSBase> arguments, String opType, GFOpMarkedContent markedContent, String parentsTags, boolean isRealContent)
-
-
Method Details
-
initializePropertiesDict
-
getLinkedObjects
- Specified by:
getLinkedObjectsin interfaceObject- Overrides:
getLinkedObjectsin classGenericModelObject- Parameters:
link- - the name of a link- Returns:
- List of objects with the given link
-
getLinkTag
-
getTag
-
getPropertiesDict
-
getLinkLang
-
getLang
-
getParentsTags
-
getInheritedLang
-
getStructParentLang
-
getParentStructElem
-
getActualText
Checks if attribute dict contains ActualText key and returns it's value.- Returns:
- ActualText value or null if it is not present.
-
getE
-
getAlt
-
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() -
getInheritedActualText
-
getInheritedAlt
-
getInheritedStringAttribute
-
getStringAttribute
-
getInheritedMCID
-
isRealContent
public boolean isRealContent()
-