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
IOException - if the XFA content could not be createdpublic Document getDocument() throws IOException
IOException - if something went wrong when reading the XFA content.getBytes()Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.