com.adobe.livecycle.signatures.client.spi.types
Class InputDocument

java.lang.Object
  extended by com.adobe.livecycle.signatures.client.spi.types.InputDocument
All Implemented Interfaces:
java.io.Serializable

public class InputDocument
extends java.lang.Object
implements java.io.Serializable

Represents the input PDF document that is passed to the signature handler.

See Also:
Serialized Form

Constructor Summary
InputDocument(DocumentBytes document, DocumentHash documentHash)
          A constructor that creates an InputDocument object.
 
Method Summary
 DocumentBytes getDocument()
          Retrieves an XML encoded or base64 encoded document.
 DocumentHash getDocumentHash()
          Retrieves the hash value of the document.
 void setDocument(DocumentBytes document)
          Sets an XML encoded or base64 encoded document.
 void setDocumentHash(DocumentHash documentHash)
          Sets the hash value of the document.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputDocument

public InputDocument(DocumentBytes document,
                     DocumentHash documentHash)
A constructor that creates an InputDocument object.

Parameters:
document - A DocumentBytes object that represents an XML encoded or base64 encoded document.
documentHash - A DocumentHash object that represents the hash value of the document.
Method Detail

getDocument

public DocumentBytes getDocument()
Retrieves an XML encoded or base64 encoded document.

Returns:
A DocumentBytes object that represents an XML encoded or base64 encoded document.

setDocument

public void setDocument(DocumentBytes document)
Sets an XML encoded or base64 encoded document.

Parameters:
document - A DocumentBytes object that represents an XML encoded or base64 encoded document.

getDocumentHash

public DocumentHash getDocumentHash()
Retrieves the hash value of the document.

Returns:
A DocumentHash object that represents the hash value of the document.

setDocumentHash

public void setDocumentHash(DocumentHash documentHash)
Sets the hash value of the document.

Parameters:
documentHash - A DocumentHash object that represents the hash value of the document.


[an error occurred while processing this directive] [an error occurred while processing this directive]