Package org.verapdf.gf.model.impl.pd
Class GFPDFormField
- java.lang.Object
-
- org.verapdf.model.GenericModelObject
-
- org.verapdf.gf.model.impl.pd.GFPDObject
-
- org.verapdf.gf.model.impl.pd.GFPDFormField
-
- All Implemented Interfaces:
Object,PDFormField,PDObject
- Direct Known Subclasses:
GFPDSignatureField
public class GFPDFormField extends GFPDObject implements PDFormField
- Author:
- Maksim Bezrukov
-
-
Field Summary
Fields Modifier and Type Field Description static StringADDITIONAL_ACTIONstatic StringFORM_FIELD_TYPEstatic StringLANG-
Fields inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
contentStream, document, id, MAX_NUMBER_OF_ELEMENTS, pdcMap, pdFont, simpleCOSObject, simplePDObject
-
Fields inherited from class org.verapdf.model.GenericModelObject
contextDependent
-
-
Constructor Summary
Constructors Modifier Constructor Description GFPDFormField(PDFormField simplePDObject)protectedGFPDFormField(PDFormField field, String type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GFPDFormFieldcreateTypedFormField(PDFormField field)BooleangetcontainsAA()true if the form field dictionary contains the AA entryStringgetFT()Field typeList<? extends Object>getLinkedObjects(String link)StringgetTU()value of the TU entry-
Methods inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
getentries, getID
-
Methods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Methods inherited from interface org.verapdf.model.pdlayer.PDObject
getentries
-
-
-
-
Field Detail
-
FORM_FIELD_TYPE
public static final String FORM_FIELD_TYPE
- See Also:
- Constant Field Values
-
ADDITIONAL_ACTION
public static final String ADDITIONAL_ACTION
- See Also:
- Constant Field Values
-
LANG
public static final String LANG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GFPDFormField
public GFPDFormField(PDFormField simplePDObject)
-
GFPDFormField
protected GFPDFormField(PDFormField field, String type)
-
-
Method Detail
-
createTypedFormField
public static GFPDFormField createTypedFormField(PDFormField field)
-
getFT
public String getFT()
Description copied from interface:PDFormFieldField type- Specified by:
getFTin interfacePDFormField
-
getcontainsAA
public Boolean getcontainsAA()
Description copied from interface:PDFormFieldtrue if the form field dictionary contains the AA entry- Specified by:
getcontainsAAin interfacePDFormField
-
getTU
public String getTU()
Description copied from interface:PDFormFieldvalue of the TU entry- Specified by:
getTUin interfacePDFormField
-
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
-
-