Package org.verapdf.gf.model.impl.pd
Class GFPDStructElem
java.lang.Object
org.verapdf.model.GenericModelObject
org.verapdf.gf.model.impl.pd.GFPDObject
org.verapdf.gf.model.impl.pd.GFPDStructTreeNode
org.verapdf.gf.model.impl.pd.GFPDStructElem
- All Implemented Interfaces:
Object,PDObject,PDStructElem,PDStructTreeNode
- Direct Known Subclasses:
GFSEAnnot,GFSEArt,GFSEArtifact,GFSEAside,GFSEBibEntry,GFSEBlockQuote,GFSECaption,GFSECode,GFSEDiv,GFSEDocument,GFSEDocumentFragment,GFSEEm,GFSEFENote,GFSEFigure,GFSEForm,GFSEFormula,GFSEH,GFSEHn,GFSEIndex,GFSEL,GFSELbl,GFSELBody,GFSELI,GFSELink,GFSEMathMLStructElem,GFSENonStandard,GFSENonStruct,GFSENote,GFSEP,GFSEPart,GFSEPrivate,GFSEQuote,GFSERB,GFSEReference,GFSERP,GFSERT,GFSERuby,GFSESect,GFSESpan,GFSEStrong,GFSESub,GFSETable,GFSETableCell,GFSETBody,GFSETFoot,GFSETHead,GFSETitle,GFSETOC,GFSETOCI,GFSETR,GFSEWarichu,GFSEWP,GFSEWT
- Author:
- Maksim Bezrukov
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringLink name forActualTextkeystatic final Stringstatic final StringLink name forLangkeystatic final StringType name forGFPDStructElemstatic final StringLink name forSkeyFields inherited from class org.verapdf.gf.model.impl.pd.GFPDStructTreeNode
CHILDRENFields inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
contentStream, document, id, MAX_NUMBER_OF_ELEMENTS, pdcMap, pdFont, simpleCOSObject, simplePDObjectFields inherited from class org.verapdf.model.GenericModelObject
contextDependent -
Constructor Summary
ConstructorsModifierConstructorDescriptionGFPDStructElem(PDStructElem structElemDictionary) Default constructorprotectedGFPDStructElem(PDStructElem structElemDictionary, String standardType, String type) -
Method Summary
Modifier and TypeMethodDescriptionvalue of the /ActualText entrygetAlt()value of the /Alt entrytrue, if circular mapping existtrue if the struct elem dictionary contains P entrygetE()value of the /E entrygetLinkedObjects(String link) value of parent Lang entryparent element type, role mapped to the standard typeremapped standard type valuethe namespace and the tag within a given namespace that is remapped to another tag within the same namespacestandard structure type defined via role mapstructure typeMethods inherited from class org.verapdf.gf.model.impl.pd.GFPDStructTreeNode
getChildrenStandardTypes, gethasContentItems, getkidsStandardTypes, getStructuralSignificanceChildrenMethods inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
getentries, getID, getobjectKeyMethods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentMethods inherited from interface org.verapdf.model.pdlayer.PDObject
getentries, getobjectKeyMethods inherited from interface org.verapdf.model.pdlayer.PDStructTreeNode
gethasContentItems, getkidsStandardTypes
-
Field Details
-
STRUCTURE_ELEMENT_TYPE
Type name forGFPDStructElem- See Also:
-
STRUCTURE_TYPE
Link name forSkey- See Also:
-
LANG
Link name forLangkey- See Also:
-
ACTUAL_TEXT
Link name forActualTextkey- See Also:
-
ALT
- See Also:
-
-
Constructor Details
-
GFPDStructElem
-
GFPDStructElem
Default constructor- Parameters:
structElemDictionary- dictionary of structure element
-
-
Method Details
-
getparentStandardType
Description copied from interface:PDStructElemparent element type, role mapped to the standard type- Specified by:
getparentStandardTypein interfacePDStructElem
-
getcontainsParent
Description copied from interface:PDStructElemtrue if the struct elem dictionary contains P entry- Specified by:
getcontainsParentin interfacePDStructElem
-
getvalueS
Description copied from interface:PDStructElemstructure type- Specified by:
getvalueSin interfacePDStructElem
-
getstandardType
Description copied from interface:PDStructElemstandard structure type defined via role map- Specified by:
getstandardTypein interfacePDStructElem
-
getStandardTypeNamespaceURL
-
getremappedStandardType
Description copied from interface:PDStructElemremapped standard type value- Specified by:
getremappedStandardTypein interfacePDStructElem
-
getAlt
Description copied from interface:PDStructElemvalue of the /Alt entry- Specified by:
getAltin interfacePDStructElem
-
getActualText
Description copied from interface:PDStructElemvalue of the /ActualText entry- Specified by:
getActualTextin interfacePDStructElem
-
getE
Description copied from interface:PDStructElemvalue of the /E entry- Specified by:
getEin interfacePDStructElem
-
getcircularMappingExist
Description copied from interface:PDStructElemtrue, if circular mapping exist- Specified by:
getcircularMappingExistin interfacePDStructElem
-
getroleMapToSameNamespaceTag
Description copied from interface:PDStructElemthe namespace and the tag within a given namespace that is remapped to another tag within the same namespace- Specified by:
getroleMapToSameNamespaceTagin interfacePDStructElem
-
getLinkedObjects
- Specified by:
getLinkedObjectsin interfaceObject- Overrides:
getLinkedObjectsin classGFPDStructTreeNode- Parameters:
link- - the name of a link- Returns:
- List of objects with the given link
-
getparentLang
Description copied from interface:PDStructElemvalue of parent Lang entry- Specified by:
getparentLangin interfacePDStructElem
-