org.pdfbox.pdmodel.interactive.form

Class PDSignature

Implemented Interfaces:
COSObjectable

public class PDSignature
extends PDField

A class for handling the PDF field as a signature.
Version:
$Revision: 1.5 $
Author:
Ben Litchfield

Field Summary

Fields inherited from class org.pdfbox.pdmodel.interactive.form.PDField

FLAG_NO_EXPORT, FLAG_READ_ONLY, FLAG_REQUIRED

Constructor Summary

PDSignature(PDAcroForm theAcroForm, COSDictionary field)

Method Summary

String
getValue()
void
setValue(String value)
String
toString()
Return a string rep of this object.

Methods inherited from class org.pdfbox.pdmodel.interactive.form.PDField

findFieldType, findKid, getAcroForm, getActions, getCOSObject, getDictionary, getFieldFlags, getFieldType, getFullyQualifiedName, getKids, getParent, getPartialName, getValue, getWidget, importFDF, isNoExport, isReadonly, isRequired, setAcroForm, setActions, setFieldFlags, setKids, setNoExport, setParent, setPartialName, setReadonly, setRequired, setValue, toString

Constructor Details

PDSignature

public PDSignature(PDAcroForm theAcroForm,
                   COSDictionary field)
Parameters:
theAcroForm - The acroForm for this field.
field - The dictionary for the signature.

Method Details

getValue

public String getValue()
            throws IOException
Overrides:
getValue in interface PDField
Returns:
The string value of this field.
See Also:
PDField.setValue(java.lang.String)

setValue

public void setValue(String value)
            throws IOException
Overrides:
setValue in interface PDField
Parameters:
value - The new value for the field.
See Also:
PDField.setValue(java.lang.String)

toString

public String toString()
Return a string rep of this object.
Overrides:
toString in interface PDField
Returns:
A string rep of this object.