COSObjectable
public class PDSignatureField extends PDTerminalField
Constructor | Description |
---|---|
PDSignatureField(PDAcroForm acroForm) |
Modifier and Type | Method | Description |
---|---|---|
PDSignature |
getDefaultValue() |
Returns the default value, if any.
|
PDSeedValue |
getSeedValue() |
(Optional; PDF 1.5) A seed value dictionary containing information
that constrains the properties of a signature that is applied to the
field.
|
PDSignature |
getSignature() |
Get the signature dictionary.
|
PDSignature |
getValue() |
Returns the signature contained in this field.
|
java.lang.String |
getValueAsString() |
Returns a string representation of the "V" entry, or an empty string.
|
void |
setDefaultValue(PDSignature value) |
Sets the default value of this field to be the given signature.
|
void |
setSeedValue(PDSeedValue sv) |
(Optional; PDF 1.) A seed value dictionary containing information
that constrains the properties of a signature that is applied to the
field.
|
void |
setSignature(PDSignature value) |
Deprecated.
Use
setValue(PDSignature) instead. |
void |
setValue(java.lang.String value) |
Sets the value of this field.
|
void |
setValue(PDSignature value) |
Sets the value of this field to be the given signature.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAcroForm, getActions, getAlternateFieldName, getCOSObject, getFullyQualifiedName, getInheritableAttribute, getMappingName, getParent, getPartialName, isNoExport, isReadOnly, isRequired, setAlternateFieldName, setFieldFlags, setMappingName, setNoExport, setPartialName, setReadOnly, setRequired, toString
applyChange, getFieldFlags, getFieldType, getWidget, getWidgets, importFDF, setActions, setWidgets
public PDSignatureField(PDAcroForm acroForm) throws java.io.IOException
acroForm
- The acroForm for this field.java.io.IOException
- If there is an error while resolving partial name for the signature field
or getting the widget object.PDTerminalField(PDAcroForm)
@Deprecated public void setSignature(PDSignature value) throws java.io.IOException
setValue(PDSignature)
instead.value
- is the PDSignatureFieldjava.io.IOException
public PDSignature getSignature()
public void setValue(PDSignature value) throws java.io.IOException
value
- is the PDSignatureFieldjava.io.IOException
public void setValue(java.lang.String value) throws java.lang.UnsupportedOperationException
public void setDefaultValue(PDSignature value) throws java.io.IOException
value
- is the PDSignatureFieldjava.io.IOException
public PDSignature getValue()
public PDSignature getDefaultValue()
public java.lang.String getValueAsString()
PDField
getValueAsString
in class PDField
public PDSeedValue getSeedValue()
(Optional; PDF 1.5) A seed value dictionary containing information that constrains the properties of a signature that is applied to the field.
public void setSeedValue(PDSeedValue sv)
(Optional; PDF 1.) A seed value dictionary containing information that constrains the properties of a signature that is applied to the field.
sv
- is the seed value dictionary as PDSeedValueCopyright © 2002–2018. All rights reserved.