PDSignatureField
instead (see PDFBOX-1513).public class PDSignature extends PDField
FLAG_NO_EXPORT, FLAG_READ_ONLY, FLAG_REQUIRED
Constructor and Description |
---|
PDSignature(PDAcroForm theAcroForm,
COSDictionary field)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Deprecated.
getValue gets the fields value to as a string.
|
void |
setValue(String value)
Deprecated.
setValue sets the fields value to a given string.
|
String |
toString()
Deprecated.
Return a string rep of this object.
|
findFieldType, findKid, getAcroForm, getActions, getAlternateFieldName, getCOSObject, getDictionary, getFieldFlags, getFieldType, getFullyQualifiedName, getKids, getParent, getPartialName, getWidget, importFDF, isNoExport, isReadonly, isRequired, setAcroForm, setActions, setAlternateFieldName, setFieldFlags, setFieldType, setKids, setNoExport, setParent, setPartialName, setReadonly, setRequired
public PDSignature(PDAcroForm theAcroForm, COSDictionary field)
theAcroForm
- The acroForm for this field.field
- The dictionary for the signature.PDField.PDField(PDAcroForm,COSDictionary)
public void setValue(String value) throws IOException
PDField
setValue
in class PDField
value
- The new value for the field.IOException
- If there is an error creating the appearance stream.PDField.setValue(java.lang.String)
public String getValue() throws IOException
PDField
getValue
in class PDField
IOException
- If there is an error creating the appearance stream.PDField.setValue(java.lang.String)
Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.