Class PDSignature
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.interactive.form.PDField
-
- org.apache.pdfbox.pdmodel.interactive.form.PDSignature
-
- All Implemented Interfaces:
COSObjectable
public class PDSignature extends PDField
Deprecated.UsePDSignatureField
instead (see PDFBOX-1513).A class for handling the PDF field as a signature.- Version:
- $Revision: 1.5 $
- Author:
- Ben Litchfield
-
-
Field Summary
-
Fields inherited from class org.apache.pdfbox.pdmodel.interactive.form.PDField
FLAG_NO_EXPORT, FLAG_READ_ONLY, FLAG_REQUIRED
-
-
Constructor Summary
Constructors Constructor Description PDSignature(PDAcroForm theAcroForm, COSDictionary field)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getValue()
Deprecated.getValue gets the fields value to as a string.void
setValue(java.lang.String value)
Deprecated.setValue sets the fields value to a given string.java.lang.String
toString()
Deprecated.Return a string rep of this object.-
Methods inherited from class org.apache.pdfbox.pdmodel.interactive.form.PDField
findFieldType, findKid, getAcroForm, getActions, getAlternateFieldName, getCOSObject, getDictionary, getFieldFlags, getFieldType, getFullyQualifiedName, getKids, getParent, getPartialName, getWidget, getWidgets, importFDF, isNoExport, isReadonly, isRequired, setAcroForm, setActions, setAlternateFieldName, setFieldFlags, setFieldType, setKids, setNoExport, setParent, setPartialName, setReadonly, setRequired
-
-
-
-
Constructor Detail
-
PDSignature
public PDSignature(PDAcroForm theAcroForm, COSDictionary field)
Deprecated.- Parameters:
theAcroForm
- The acroForm for this field.field
- The dictionary for the signature.- See Also:
PDField(PDAcroForm,COSDictionary)
-
-
Method Detail
-
setValue
public void setValue(java.lang.String value) throws java.io.IOException
Deprecated.Description copied from class:PDField
setValue sets the fields value to a given string.- Specified by:
setValue
in classPDField
- Parameters:
value
- The new value for the field.- Throws:
java.io.IOException
- If there is an error creating the appearance stream.- See Also:
PDField.setValue(java.lang.String)
-
getValue
public java.lang.String getValue() throws java.io.IOException
Deprecated.Description copied from class:PDField
getValue gets the fields value to as a string.- Specified by:
getValue
in classPDField
- Returns:
- The string value of this field.
- Throws:
java.io.IOException
- If there is an error creating the appearance stream.- See Also:
PDField.setValue(java.lang.String)
-
-