public class FDFCatalog extends Object implements COSObjectable
Constructor and Description |
---|
FDFCatalog()
Default constructor.
|
FDFCatalog(COSDictionary cat)
Constructor.
|
FDFCatalog(Element element)
This will create an FDF catalog from an XFDF XML document.
|
Modifier and Type | Method and Description |
---|---|
COSDictionary |
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.
|
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(String version)
This will set the version of the FDF document.
|
void |
writeXML(Writer output)
This will write this element as an XML document.
|
public FDFCatalog()
public FDFCatalog(COSDictionary cat)
cat
- The FDF documents catalog.public FDFCatalog(Element element)
element
- The XML document that contains the XFDF data.public void writeXML(Writer output) throws IOException
output
- The stream to write the xml to.IOException
- If there is an error writing the XML.public COSDictionary getCOSObject()
getCOSObject
in interface COSObjectable
public String getVersion()
public void setVersion(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.Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.