public class PDSignatureField extends PDField
FLAG_NO_EXPORT, FLAG_READ_ONLY, FLAG_REQUIRED
Constructor and Description |
---|
PDSignatureField(PDAcroForm theAcroForm) |
PDSignatureField(PDAcroForm theAcroForm,
COSDictionary field) |
Modifier and Type | Method and Description |
---|---|
PDSignature |
getSignature()
Get the signature dictionary
|
java.lang.String |
getValue()
Deprecated.
use getSignature() instead
|
void |
setSignature(PDSignature value)
Add a signature dictionary to the signature field
|
void |
setValue(java.lang.String value)
Deprecated.
use setSignature(PDSignature) instead
|
java.lang.String |
toString()
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, setKids, setNoExport, setParent, setPartialName, setReadonly, setRequired
public PDSignatureField(PDAcroForm theAcroForm, COSDictionary field) throws java.io.IOException
theAcroForm
- The acroForm for this field.field
- The dictionary for the signature.java.io.IOException
- If there is an error while resolving partital name for the signature fieldPDField.PDField(PDAcroForm,COSDictionary)
public PDSignatureField(PDAcroForm theAcroForm) throws java.io.IOException
theAcroForm
- The acroForm for this field.java.io.IOException
- If there is an error while resolving partial name for the signature fieldPDField.PDField(PDAcroForm)
@Deprecated public void setValue(java.lang.String value) throws java.io.IOException
PDField
setValue
in class PDField
value
- The new value for the field.java.io.IOException
- If there is an error creating the appearance stream.PDField.setValue(java.lang.String)
@Deprecated public java.lang.String getValue() throws java.io.IOException
PDField
getValue
in class PDField
java.io.IOException
- If there is an error creating the appearance stream.PDField.setValue(java.lang.String)
public java.lang.String toString()
public void setSignature(PDSignature value)
value
- is the PDSignaturepublic PDSignature getSignature()