at.gv.egiz.pdfas.api.analyze
Class AnalyzeParameters

java.lang.Object
  extended byat.gv.egiz.pdfas.api.analyze.AnalyzeParameters

public class AnalyzeParameters
extends Object

Parameter object that holds the analyze parameters.

Author:
wprinz

Field Summary
protected  DataSource document
          The document to be analyzed.
protected  boolean returnNonTextualObjects
           
protected  String verifyMode
          The mode of operation how the document is analyzed.
 
Constructor Summary
AnalyzeParameters()
           
 
Method Summary
 DataSource getDocument()
           
 String getVerifyMode()
           
 boolean isReturnNonTextualObjects()
           
 void setDocument(DataSource document)
           
 void setReturnNonTextualObjects(boolean returnNonTextualObjects)
          Tells if non text object of the signed pdf should be extracted and returned.
 void setVerifyMode(String verifyMode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

document

protected DataSource document
The document to be analyzed.


verifyMode

protected String verifyMode
The mode of operation how the document is analyzed.

May be Constants.VERIFY_MODE_BINARY_ONLY to check the document for binary signatures only (very fast). Or may be Constants.VERIFY_MODE_SEMI_CONSERVATIVE to perform a semi conservative (optimized) text and binary verification (slow). Or may be Constants.VERIFY_MODE_FULL_CONSERVATIVE to perform a full conservative text and binary verification (very slow).


returnNonTextualObjects

protected boolean returnNonTextualObjects
Constructor Detail

AnalyzeParameters

public AnalyzeParameters()
Method Detail

getDocument

public DataSource getDocument()
Returns:
the document

setDocument

public void setDocument(DataSource document)
Parameters:
document - the document to set

getVerifyMode

public String getVerifyMode()
Returns:
the verifyMode

setVerifyMode

public void setVerifyMode(String verifyMode)
Parameters:
verifyMode - the verifyMode to set

isReturnNonTextualObjects

public boolean isReturnNonTextualObjects()

setReturnNonTextualObjects

public void setReturnNonTextualObjects(boolean returnNonTextualObjects)
Tells if non text object of the signed pdf should be extracted and returned. One should show this to the user, especially in case of textual signature. Defaults to false

Parameters:
returnNonTextualObjects -


Copyright © 2006-2010. All Rights Reserved.