public class XfaFile extends Object implements OutputStreamResource
| Modifier and Type | Field and Description |
|---|---|
protected org.dom4j.Document |
xfaDocument
The X4J Document object (XML).
|
| Constructor and Description |
|---|
XfaFile(OutputStreamResource resource)
Constructs an XFA file from an OutputStreamResource.
|
| Modifier and Type | Method and Description |
|---|---|
org.dom4j.Document |
getXfaDocument()
Getter for the XFA Document object.
|
void |
writeTo(OutputStream os)
Writes a formatted XML file to the OutputStream.
|
public XfaFile(OutputStreamResource resource) throws IOException, org.dom4j.DocumentException
resource - the XFA resourceIOExceptionorg.dom4j.DocumentExceptionpublic org.dom4j.Document getXfaDocument()
public void writeTo(OutputStream os) throws IOException
writeTo in interface OutputStreamResourceos - the OutputStream to which the XML is written.IOException - usual exception when there's a problem writing to an OutputStreamOutputStreamResource.writeTo(java.io.OutputStream)Copyright © 2015. All rights reserved.