public class PDXFA extends Object implements COSObjectable
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | getBytes()Get the XFA content as byte array. | 
| COSBase | getCOSObject()Convert this standard java object to a COS object. | 
| Document | getDocument()Get the XFA content as W3C document. | 
public PDXFA(COSBase xfaBase)
xfaBase - The xfa resource.public COSBase getCOSObject()
getCOSObject in interface COSObjectablepublic byte[] getBytes()
                throws IOException
IOExceptionpublic Document getDocument() throws ParserConfigurationException, SAXException, IOException
ParserConfigurationException - parser exception.SAXException - parser exception.IOException - if something went wrong when reading the XFA content.getBytes()Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.