org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible
Class PDFTemplateCreator

java.lang.Object
  extended by org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDFTemplateCreator

public class PDFTemplateCreator
extends Object

Using that class, we build pdf template

Author:
vakhtang koroghlishvili (gogebashvili)

Constructor Summary
PDFTemplateCreator(PDFTemplateBuilder bookBuilder)
          sets PDFBuilder
 
Method Summary
 InputStream buildPDF(PDVisibleSignDesigner properties)
          this method builds pdf step by step, and finally it returns stream of visible signature
 PDFTemplateStructure getPdfStructure()
          that method returns object of PDFStructur
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFTemplateCreator

public PDFTemplateCreator(PDFTemplateBuilder bookBuilder)
sets PDFBuilder

Parameters:
bookBuilder -
Method Detail

getPdfStructure

public PDFTemplateStructure getPdfStructure()
that method returns object of PDFStructur

Returns:
PDFStructure

buildPDF

public InputStream buildPDF(PDVisibleSignDesigner properties)
                     throws IOException
this method builds pdf step by step, and finally it returns stream of visible signature

Parameters:
properties -
Returns:
InputStream
Throws:
IOException
COSVisitorException


Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.