|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.livecycle.formdataintegration.client.FormDataIntegrationClient
public class FormDataIntegrationClient
Enables you to create a Java object that invokes operations that belong to the FormDataIntegration service. Using this object, you can perform tasks such as importing data into form fields and exporting data from form fields.
You can import and export interactive PDF form data. An interactive PDF form is a PDF document that contains one or more fields for collecting information from a user or displaying custom information. There are two types of PDF forms:
To see an object of this type used in a code example, see the Importing Form Data using the Java API quick start in Programming with LiveCycle ES3.
Constructor Summary | |
---|---|
FormDataIntegrationClient(ServiceClientFactory serviceClientFactory)
A constructor that creates a FormDataIntegrationClient( object. |
Method Summary | |
---|---|
Document |
exportData(Document inPdfDoc)
Deprecated. |
Document |
exportData2(Document inPdfDoc,
DataFormat dataFormat)
Exports form data from a PDF document. |
Document |
importData(Document inPdfDoc,
Document inDataDoc)
Imports XML, XDP, XFA, XFDF form data into a PDF document. |
boolean |
isSynchronous()
Specifies whether FormDataIntegration service is invoked synchronously. |
void |
setSynchronous(boolean synchronous)
Sets the FormDataIntegration service to be invoked synchronously. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormDataIntegrationClient(ServiceClientFactory serviceClientFactory)
FormDataIntegrationClient(
object.
serviceClientFactory
- A ServiceClientFactory
object that contains connection properties.
For information about setting connection properties, see Invoking LiveCycle Services.Method Detail |
---|
public boolean isSynchronous()
public void setSynchronous(boolean synchronous)
synchronous
- A Boolean value that specifies whether FormDataIntegration service is invoked synchronously.public Document importData(Document inPdfDoc, Document inDataDoc) throws ImportFormDataException, com.adobe.idp.dsc.DSCException
inPdfDoc
- A Document
object that represents the PDF document in which data is imported.inDataDoc
- A Document
object that represents data to import.
Document
object that represents the PDF document that contains the imported data.
ImportFormDataException
- If you attempt to import data into an incompatiable PDF document.
com.adobe.idp.dsc.DSCException
- If an error occurs while importing data into a PDF document.public Document exportData(Document inPdfDoc) throws ExportFormDataException, com.adobe.idp.dsc.DSCException
inPdfDoc
- A Document
object that represents the PDF document from which data is exported.
Document
object that represents the exported data.
ExportFormDataException
- If an error occurs during this operation. For example, if you specify a PDF document that does not contain form fields.
com.adobe.idp.dsc.DSCException
- If an error occurs while exporting data from a PDF document.public Document exportData2(Document inPdfDoc, DataFormat dataFormat) throws ExportFormDataException, com.adobe.idp.dsc.DSCException
inPdfDoc
- A Document
object that represents the PDF document from which data is exported.DataFormat
- An enumeration value that specifies the format of data exported. Possible values are Auto, XDP and XMLData.
Document
object that represents the exported data.
ExportFormDataException
- If an error occurs during this operation. For example, if you specify a PDF document that does not contain form fields.
com.adobe.idp.dsc.DSCException
- If an error occurs while exporting data from a PDF document.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |