com.itextpdf.text.pdf
Class XfaXmlLocator
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XfaXmlLocator
public XfaXmlLocator(PdfStamper stamper)
throws DocumentException,
IOException
- Throws:
DocumentException
IOException
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.