COSObjectablepublic final class PDXFAResource extends java.lang.Object implements COSObjectable
| Constructor | Description |
|---|---|
PDXFAResource(COSBase xfaBase) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
getBytes() |
Get the XFA content as byte array.
|
COSBase |
getCOSObject() |
Convert this standard java object to a COS object.
|
org.w3c.dom.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 java.io.IOException
java.io.IOExceptionpublic org.w3c.dom.Document getDocument()
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
javax.xml.parsers.ParserConfigurationException - parser exception.org.xml.sax.SAXException - parser exception.java.io.IOException - if something went wrong when reading the XFA content.getBytes()Copyright © 2002–2018. All rights reserved.