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.GFPDStructElem
- All Implemented Interfaces:
Object,PDObject,PDStructElem
- 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,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 StringLink name forKkeystatic final StringLink name forLangkeystatic final StringType name forGFPDStructElemstatic final StringLink name forSkeyFields 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 existgetE()value of the /E entrytrue if the structure element contains content items as its childrentrue if type is standard but remappedampersand separated list of child element types, role mapped to the standard typesgetLinkedObjects(String link) value of parent Lang entryparent element type, role mapped to the standard typestandard structure type defined via role mapgetType()the value of the Type entrystructure typeMethods inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
getentries, getIDMethods 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
-
Field Details
-
STRUCTURE_ELEMENT_TYPE
Type name forGFPDStructElem- See Also:
-
CHILDREN
Link name forKkey- See Also:
-
STRUCTURE_TYPE
Link name forSkey- See Also:
-
LANG
Link name forLangkey- See Also:
-
ACTUAL_TEXT
Link name forActualTextkey- See Also:
-
-
Constructor Details
-
GFPDStructElem
-
GFPDStructElem
Default constructor- Parameters:
structElemDictionary- dictionary of structure element
-
-
Method Details
-
getType
Description copied from interface:PDStructElemthe value of the Type entry- Specified by:
getTypein interfacePDStructElem- Returns:
- Type entry of current structure element
-
getkidsStandardTypes
Description copied from interface:PDStructElemampersand separated list of child element types, role mapped to the standard types- Specified by:
getkidsStandardTypesin interfacePDStructElem
-
getparentStandardType
Description copied from interface:PDStructElemparent element type, role mapped to the standard type- Specified by:
getparentStandardTypein interfacePDStructElem
-
gethasContentItems
Description copied from interface:PDStructElemtrue if the structure element contains content items as its children- Specified by:
gethasContentItemsin 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
-
getisRemappedStandardType
Description copied from interface:PDStructElemtrue if type is standard but remapped- Specified by:
getisRemappedStandardTypein 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
-
getLinkedObjects
- Specified by:
getLinkedObjectsin interfaceObject- Overrides:
getLinkedObjectsin classGenericModelObject- Parameters:
link- - the name of a link- Returns:
- List of objects with the given link
-
getChildren
-
getparentLang
Description copied from interface:PDStructElemvalue of parent Lang entry- Specified by:
getparentLangin interfacePDStructElem
-