|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.pdmodel.interactive.form.PDField
org.apache.pdfbox.pdmodel.interactive.form.PDSignatureField
public class PDSignatureField
A class for handling the PDF field as a signature.
Field Summary |
---|
Fields inherited from class org.apache.pdfbox.pdmodel.interactive.form.PDField |
---|
FLAG_NO_EXPORT, FLAG_READ_ONLY, FLAG_REQUIRED |
Constructor Summary | |
---|---|
PDSignatureField(PDAcroForm theAcroForm)
|
|
PDSignatureField(PDAcroForm theAcroForm,
COSDictionary field)
|
Method Summary | |
---|---|
PDSignature |
getSignature()
Get the signature dictionary |
String |
getValue()
Deprecated. use getSignature() instead |
void |
setSignature(PDSignature value)
Add a signature dictionary to the signature field |
void |
setValue(String value)
Deprecated. use setSignature(PDSignature) instead |
String |
toString()
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, importFDF, isNoExport, isReadonly, isRequired, setAcroForm, setActions, setAlternateFieldName, setFieldFlags, setKids, setNoExport, setParent, setPartialName, setReadonly, setRequired |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PDSignatureField(PDAcroForm theAcroForm, COSDictionary field) throws IOException
theAcroForm
- The acroForm for this field.field
- The dictionary for the signature.
IOException
- If there is an error while resolving partital name for the signature fieldPDField.PDField(PDAcroForm,COSDictionary)
public PDSignatureField(PDAcroForm theAcroForm) throws IOException
theAcroForm
- The acroForm for this field.
IOException
- If there is an error while resolving partial name for the signature fieldPDField.PDField(PDAcroForm)
Method Detail |
---|
@Deprecated 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)
@Deprecated 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)
public String toString()
toString
in class PDField
public void setSignature(PDSignature value)
value
- is the PDSignaturepublic PDSignature getSignature()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |