public final class PDXFAResource extends Object implements COSObjectable
| Constructor and Description |
|---|
PDXFAResource(COSBase xfaBase)
Constructor.
|
| 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 PDXFAResource(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–2016 The Apache Software Foundation. All rights reserved.