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 String
ADDITIONAL_ACTION
static String
FORM_FIELD_TYPE
static String
LANG
-
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)
protected
GFPDFormField(PDFormField field, String type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GFPDFormField
createTypedFormField(PDFormField field)
Boolean
getcontainsAA()
true if the form field dictionary contains the AA entryString
getFT()
Field typeList<? extends Object>
getLinkedObjects(String link)
String
getTU()
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:PDFormField
Field type- Specified by:
getFT
in interfacePDFormField
-
getcontainsAA
public Boolean getcontainsAA()
Description copied from interface:PDFormField
true if the form field dictionary contains the AA entry- Specified by:
getcontainsAA
in interfacePDFormField
-
getTU
public String getTU()
Description copied from interface:PDFormField
value of the TU entry- Specified by:
getTU
in interfacePDFormField
-
getLinkedObjects
public List<? extends Object> getLinkedObjects(String link)
- Specified by:
getLinkedObjects
in interfaceObject
- Overrides:
getLinkedObjects
in classGenericModelObject
- Parameters:
link
- - the name of a link- Returns:
- List of objects with the given link
-
-