com.lowagie.rups.model
public class XfaFile extends java.lang.Object implements OutputStreamResource
Modifier and Type | Field and Description |
---|---|
protected 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 |
---|---|
Document |
getXfaDocument()
Getter for the XFA Document object.
|
void |
writeTo(java.io.OutputStream os)
Writes a formatted XML file to the OutputStream.
|
public XfaFile(OutputStreamResource resource) throws java.io.IOException, DocumentException
resource
- the XFA resourcejava.io.IOException
DocumentException
public Document getXfaDocument()
public void writeTo(java.io.OutputStream os) throws java.io.IOException
writeTo
in interface OutputStreamResource
os
- the OutputStream to which the XML is written.java.io.IOException
- usual exception when there's a problem writing to an OutputStreamOutputStreamResource.writeTo(java.io.OutputStream)