IPWorks EDIFACT 2020 Android Edition

Questions / Feedback?

InputFormat Property

The format of the input data.

Syntax

public int getInputFormat();
public void setInputFormat(int inputFormat);

Enumerated values: public final static int eifXML = 0; public final static int eifJSON = 1; public final static int eifEDIFACT = 2;

Remarks

This property specifies the format of the input data. The value set here, along with OutputFormat, determines how the data is converted when Translate is called.

Possible values are:

  • 0 (ifXML)
  • 1 (ifJSON)
  • 2 (ifEDIFACT)
Before calling Translate, both InputFormat and OutputFormat must be specified. Translation from XML or JSON to EDI and vice versa are supported. If InputFormat is ifXML or ifJSON, OutputFormat must be an EDI format. Similarly, if InputFormat is an EDI format, OutputFormat must be ofXML or ofJSON.

This property is not available at design time.

Default Value

2

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDIFACT 2020 Android Edition - Version 20.0 [Build 8162]