com.itextpdf.text.pdf
Class XfaXmlLocator

java.lang.Object
  extended by com.itextpdf.text.pdf.XfaXmlLocator
All Implemented Interfaces:
XmlLocator

public class XfaXmlLocator
extends Object
implements XmlLocator

Helps to locate xml stream inside PDF document with Xfa form.


Constructor Summary
XfaXmlLocator(PdfStamper stamper)
           
 
Method Summary
protected  void createXfaForm()
           
 Document getDocument()
          Gets Document to sign
 void setDocument(Document document)
          Save document as single XML stream in AcroForm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XfaXmlLocator

public XfaXmlLocator(PdfStamper stamper)
              throws DocumentException,
                     IOException
Throws:
DocumentException
IOException
Method Detail

createXfaForm

protected void createXfaForm()
                      throws ParserConfigurationException,
                             SAXException,
                             IOException
Throws:
ParserConfigurationException
SAXException
IOException

getDocument

public Document getDocument()
Gets Document to sign

Specified by:
getDocument in interface XmlLocator

setDocument

public void setDocument(Document document)
                 throws IOException,
                        DocumentException
Save document as single XML stream in AcroForm.

Specified by:
setDocument in interface XmlLocator
Parameters:
document - signed document
Throws:
IOException
DocumentException


Copyright © 2013. All Rights Reserved.