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.UsePDSignatureFieldinstead (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.StringgetValue()Deprecated.getValue gets the fields value to as a string.voidsetValue(java.lang.String value)Deprecated.setValue sets the fields value to a given string.java.lang.StringtoString()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.IOExceptionDeprecated.Description copied from class:PDFieldsetValue sets the fields value to a given string.- Specified by:
setValuein 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.IOExceptionDeprecated.Description copied from class:PDFieldgetValue gets the fields value to as a string.- Specified by:
getValuein 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)
-
-