| Package | com.adobe.livecycle.barcodedforms.client |
| Class | public class BarcodedFormsServiceClient |
| Inheritance | BarcodedFormsServiceClient Object
|
Using a BarcodedFormsClient object, you can decode data from barcodes located within a form. You can also convert the data that was extracted from the barcode into XDP or XFDF XML data. For information, see Working With the Barcoded Forms Service.
| Method | Defined by | ||
|---|---|---|---|
|
BarcodedFormsServiceClient(ServiceClientFactory serviceClientFactory)
A constructor that creates a
BarcodedFormsClient object. | BarcodedFormsServiceClient | ||
|
Document decode(Document document, Boolean pdf417, Boolean dataMatrix, Boolean qrCode, Boolean codabar, Boolean code128, Boolean code39, Boolean ean13, Boolean ean8, CharSet charSet)
Decodes all the barcodes in a
Document object and returns a org.w3c.dom.Document object that contains data that was retrieved from the barcode. | BarcodedFormsServiceClient | ||
|
List extractToXML(Document decoderXML, Delimiter lineDelimiterType, Delimiter fieldDelimiterType, XMLFormat xmlFormat)
Converts delimited barcode data into XDP or XFDF XML data.
| BarcodedFormsServiceClient | ||
|
String getServiceName()
Returns the name of the Barcoded Forms service.
| BarcodedFormsServiceClient | ||
|
String getServiceVersion()
Returns the version of the Barcoded Forms service.
| BarcodedFormsServiceClient | ||
|
void setServiceName(String serviceName)
Sets the name of the Barcoded Forms service.
| BarcodedFormsServiceClient | ||
|
void setServiceVersion(String serviceVersion)
Sets the version of the Barcoded Forms service.
| BarcodedFormsServiceClient | ||
| BarcodedFormsServiceClient | () |
public BarcodedFormsServiceClient(ServiceClientFactory serviceClientFactory)A constructor that creates a BarcodedFormsClient object.
serviceClientFactory — A ServiceClientFactory object that contains connection properties. For information, see Invoking LiveCycle Services. |
| decode | () |
public Document decode(Document document, Boolean pdf417, Boolean dataMatrix, Boolean qrCode, Boolean codabar, Boolean code128, Boolean code39, Boolean ean13, Boolean ean8, CharSet charSet)Decodes all the barcodes in a Document object and returns a org.w3c.dom.Document object that contains data that was retrieved from the barcode.
Parameters
document — A com.adobe.idp.Document object that represents a PDF document that contains a barcode to decode. |
|
pdf417 — A java.lang.Boolean object that when set to true, decodes PDF417 barcodes. |
|
dataMatrix — A java.lang.Boolean object that when set to true, decodes data matrix barcodes. |
|
qrCode — A java.lang.Boolean object that when set to true, decodes QR code barcodes. |
|
codabar — A java.lang.Boolean object that when set to true, decodes Codabar barcodes. |
|
code128 — A java.lang.Boolean object that when set to true, decodes code 128 barcodes. |
|
code39 — A java.lang.Boolean object that when set to true, decodes code 39 barcodes. |
|
ean13 — A java.lang.Boolean object that when set to true, decodes EAN-13 barcodes. |
|
ean8 — A java.lang.Boolean object that when set to true, decodes EAN-8 barcodes. |
|
charSet — A com.adobe.livecycle.barcodedforms.CharSet enumeration. The character set encoding value used in the barcode. |
An org.w3c.dom.Document object that contains data that was retrieved from the barcode. |
DSCException — If an error occurred during this operation. |
| extractToXML | () |
public List extractToXML(Document decoderXML, Delimiter lineDelimiterType, Delimiter fieldDelimiterType, XMLFormat xmlFormat)Converts delimited barcode data into XDP or XFDF XML data. This allows data that was retrieved from barcodes to be used in other LiveCycle service operations that require XDP or XFDF XML data.
Parameters
decoderXML — A org.w3c.dom.Document object that contains delimited barcode data. |
|
lineDelimiterType — A com.adobe.livecycle.barcodedforms.Delimiter enumeration. The type of the line delimiter. |
|
fieldDelimiterType — A com.adobe.livecycle.barcodedforms.Delimiter enumeration. The type of the field delimiter. |
|
xmlFormat — A com.adobe.livecycle.barcodedforms.XMLFormat enumeration. Specifies whether to convert delimited barcode data into XDP or XFDF XML data. |
A java.util.List object that contains values for each barcode. The key is barcode1, barcode2, and so on. |
DSCException — If an error occurred during this operation. |
| getServiceName | () |
public String getServiceName()Returns the name of the Barcoded Forms service.
Returns| A string value that represents the name of the Barcoded Forms service. |
| getServiceVersion | () |
public String getServiceVersion()Returns the version of the Barcoded Forms service.
Returns| The version of the Barcoded Forms service. |
| setServiceName | () |
public void setServiceName(String serviceName)Sets the name of the Barcoded Forms service.
Parameters
serviceName — The new name of the Barcoded Forms service. |
| setServiceVersion | () |
public void setServiceVersion(String serviceVersion)Sets the version of the Barcoded Forms service.
Parameters
serviceVersion — The version of the Barcoded Forms service. |
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/javadoc/com/adobe/livecycle/barcodedforms/client/BarcodedFormsServiceClient.html