public class XfaXmlLocator extends Object implements XmlLocator
Constructor and Description |
---|
XfaXmlLocator(PdfStamper stamper) |
Modifier and Type | Method and Description |
---|---|
protected void |
createXfaForm() |
Document |
getDocument()
Gets Document to sign
|
String |
getEncoding() |
void |
setDocument(Document document)
Save document as single XML stream in AcroForm.
|
void |
setEncoding(String encoding) |
public XfaXmlLocator(PdfStamper stamper) throws DocumentException, IOException
DocumentException
IOException
protected void createXfaForm() throws ParserConfigurationException, SAXException, IOException
public Document getDocument()
getDocument
in interface XmlLocator
public void setDocument(Document document) throws IOException, DocumentException
setDocument
in interface XmlLocator
document
- signed document
IOException
DocumentException
public String getEncoding()
getEncoding
in interface XmlLocator
public void setEncoding(String encoding)
Copyright © 1998–2019. All rights reserved.