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 COSObjectable
public byte[] getBytes() throws IOException
IOException
public 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–2018 The Apache Software Foundation. All rights reserved.