java.lang.Object
org.sejda.sambox.pdmodel.common.PDDictionaryWrapper
org.sejda.sambox.pdmodel.interactive.form.PDField
org.sejda.sambox.pdmodel.interactive.form.PDTerminalField
org.sejda.sambox.pdmodel.interactive.form.PDSignatureField
- All Implemented Interfaces:
COSObjectable
A signature field is a form field that contains a digital signature.
- Author:
- Ben Litchfield, Thomas Chojecki
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a string representation of the "V" entry, or an empty string.voidSets the value of this field.Methods inherited from class org.sejda.sambox.pdmodel.interactive.form.PDTerminalField
addWidgetIfMissing, applyChange, getFieldFlags, getFieldType, getWidgets, isTerminal, removeWidget, setActions, setWidgetsMethods inherited from class org.sejda.sambox.pdmodel.interactive.form.PDField
getAcroForm, getActions, getAlternateFieldName, getFullyQualifiedName, getInheritableAttribute, getMappingName, getParent, getPartialName, isNoExport, isReadonly, isRequired, setAlternateFieldName, setFieldFlags, setMappingName, setNoExport, setPartialName, setReadonly, setRequired, toStringMethods inherited from class org.sejda.sambox.pdmodel.common.PDDictionaryWrapper
equals, getCOSObject, hashCode
-
Constructor Details
-
PDSignatureField
- Parameters:
acroForm- The acroForm for this field.- Throws:
IOException- If there is an error while resolving partial name for the signature field or getting the widget object.- See Also:
-
-
Method Details
-
getValueAsString
Description copied from class:PDFieldReturns a string representation of the "V" entry, or an empty string.- Specified by:
getValueAsStringin classPDField- Returns:
- A non-null string.
-
setValue
Sets the value of this field. This will throw an UnsupportedOperationException if used as the signature fields value can't be set using a String</>- Specified by:
setValuein classPDField- Parameters:
value- the plain text value.- Throws:
UnsupportedOperationException- in all cases!
-