Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdmodel.fdf » [javadoc | source]
org.apache.pdfbox.pdmodel.fdf
public class: FDFDictionary [javadoc | source]
java.lang.Object
   org.apache.pdfbox.pdmodel.fdf.FDFDictionary

All Implemented Interfaces:
    COSObjectable

This represents an FDF dictionary that is part of the FDF document.
Constructor:
 public FDFDictionary() 
 public FDFDictionary(COSDictionary fdfDictionary) 
    Constructor.
    Parameters:
    fdfDictionary - The FDF documents catalog.
 public FDFDictionary(Element fdfXML) throws IOException 
    This will create an FDF dictionary from an XFDF XML document.
    Parameters:
    fdfXML - The XML document that contains the XFDF data.
    Throws:
    IOException - If there is an error reading from the dom.
Method from org.apache.pdfbox.pdmodel.fdf.FDFDictionary Summary:
getAnnotations,   getCOSDictionary,   getCOSObject,   getDifferences,   getEmbeddedFDFs,   getEncoding,   getFields,   getFile,   getID,   getJavaScript,   getPages,   getStatus,   getTarget,   setAnnotations,   setDifferences,   setEmbeddedFDFs,   setEncoding,   setFields,   setFile,   setID,   setJavaScript,   setPages,   setStatus,   setTarget,   writeXML
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.pdmodel.fdf.FDFDictionary Detail:
 public List getAnnotations() throws IOException 
    This will get the list of FDF Annotations. This will return a list of FDFAnnotation objects or null if the entry is not set.
 public COSDictionary getCOSDictionary() 
    Convert this standard java object to a COS object.
 public COSBase getCOSObject() 
    Convert this standard java object to a COS object.
 public COSStream getDifferences() 
    This will get the incremental updates since the PDF was last opened.
 public List getEmbeddedFDFs() throws IOException 
    This will get the list of embedded FDF entries, or null if the entry is null. This will return a list of PDFileSpecification objects.
 public String getEncoding() 
    The encoding to be used for a FDF field. The default is PDFDocEncoding and this method will never return null.
 public List getFields() 
    This will get the list of FDF Fields. This will return a list of FDFField objects.
 public PDFileSpecification getFile() throws IOException 
    The source file or target file: the PDF document file that this FDF file was exported from or is intended to be imported into.
 public COSArray getID() 
    This is the FDF id.
 public FDFJavaScript getJavaScript() 
    This will get the java script entry.
 public List getPages() 
    This will get the list of FDF Pages. This will return a list of FDFPage objects.
 public String getStatus() 
    This will get the status string to be displayed as the result of an action.
 public String getTarget() 
    This will get the target frame in the browser to open this document.
 public  void setAnnotations(List annots) 
    This will set the list of annotations. This should be a list of FDFAnnotation objects.
 public  void setDifferences(COSStream diff) 
    This will set the differences stream.
 public  void setEmbeddedFDFs(List embedded) 
    This will set the list of embedded FDFs. This should be a list of PDFileSpecification objects.
 public  void setEncoding(String encoding) 
    This will set the encoding.
 public  void setFields(List fields) 
    This will set the list of fields. This should be a list of FDFField objects.
 public  void setFile(PDFileSpecification fs) 
    This will set the file specification.
 public  void setID(COSArray id) 
    This will set the FDF id.
 public  void setJavaScript(FDFJavaScript js) 
    This will set the JavaScript entry.
 public  void setPages(List pages) 
    This will set the list of pages. This should be a list of FDFPage objects.
 public  void setStatus(String status) 
    This will set the status string.
 public  void setTarget(String target) 
    This will set the target frame in the browser to open this document.
 public  void writeXML(Writer output) throws IOException 
    This will write this element as an XML document.