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