|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.pdfbox.pdmodel.fdf.FDFCatalog
This represents an FDF catalog that is part of the FDF document.
| Constructor Summary | |
FDFCatalog()
Default constructor. |
|
FDFCatalog(COSDictionary cat)
Constructor. |
|
FDFCatalog(Element element)
This will create an FDF catalog from an XFDF XML document. |
|
| Method Summary | |
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. |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FDFCatalog()
public FDFCatalog(COSDictionary cat)
cat - The FDF documents catalog.
public FDFCatalog(Element element)
throws IOException
element - The XML document that contains the XFDF data.
IOException - If there is an error reading from the dom.| Method Detail |
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 COSBase getCOSObject()
getCOSObject in interface COSObjectablepublic COSDictionary getCOSDictionary()
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.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||