COSObjectable
public class FDFCatalog extends java.lang.Object implements COSObjectable
Constructor | Description |
---|---|
FDFCatalog() |
Default constructor.
|
FDFCatalog(COSDictionary cat) |
Constructor.
|
FDFCatalog(org.w3c.dom.Element element) |
This will create an FDF catalog from an XFDF XML document.
|
Modifier and Type | Method | Description |
---|---|---|
COSDictionary |
getCOSDictionary() |
Convert this standard java object to a COS object.
|
COSBase |
getCOSObject() |
Convert this standard java object to a COS object.
|
FDFDictionary |
getFDF() |
This will get the FDF dictionary.
|
PDSignature |
getSignature() |
This will get the signature or null if there is none.
|
java.lang.String |
getVersion() |
This will get the version that was specified in the catalog dictionary.
|
void |
setFDF(FDFDictionary fdf) |
This will set the FDF document.
|
void |
setSignature(PDSignature sig) |
This will set the signature that is associated with this catalog.
|
void |
setVersion(java.lang.String version) |
This will set the version of the FDF document.
|
void |
writeXML(java.io.Writer output) |
This will write this element as an XML document.
|
public FDFCatalog()
public FDFCatalog(COSDictionary cat)
cat
- The FDF documents catalog.public FDFCatalog(org.w3c.dom.Element element) throws java.io.IOException
element
- The XML document that contains the XFDF data.java.io.IOException
- If there is an error reading from the dom.public void writeXML(java.io.Writer output) throws java.io.IOException
output
- The stream to write the xml to.java.io.IOException
- If there is an error writing the XML.public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public COSDictionary getCOSDictionary()
public java.lang.String getVersion()
public void setVersion(java.lang.String version)
version
- The new version for the FDF document.public FDFDictionary getFDF()
public void setFDF(FDFDictionary fdf)
fdf
- The new FDF dictionary.public PDSignature getSignature()
public void setSignature(PDSignature sig)
sig
- The new signature.