com.adobe.pdf
Class FormDataFormat

java.lang.Object
  |
  +--com.adobe.pdf.FormDataFormat

public final class FormDataFormat
extends java.lang.Object

FormDataFormat indicates in which format to export form data. You need to determine whether a file is a form before you can export any form data. Once the form type is established, you can reference one of these FormDataFormat field values in a call to the PDFDocument object’s exportFormData method:

FormDataFormat.XFDF The XFDF schema is used to represent the data of an Acrobat form in XML.
FormDataFormat.XFA The XML Forms Architecture schema is used to represent XFA stream data in XML.

The exportFormData method exports the form data as specified through the FormDataFormat input parameter. For information about exporting form data, see the Developer Guide.

See Also:
FormType, PDFDocument

Field Summary
static FormDataFormat XFA
           
static FormDataFormat XFDF
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XFDF

public static final FormDataFormat XFDF

XFA

public static final FormDataFormat XFA