IPWorks EDIFACT 2020 iOS Edition

Questions / Feedback?

outputFormat (property)

The format of the output data.

Syntax

@property (nonatomic,readwrite,assign,getter=outputFormat,setter=setOutputFormat:) int outputFormat;
- (int)outputFormat;
- (void)setOutputFormat:(int)newOutputFormat;

/* Possible Values */
EOF_XML(0),
EOF_JSON(1),
EOF_EDIFACT(2)
public var outputFormat: EdifacttranslatorOutputFormats {
  get {...}
set {...} }
public enum EdifacttranslatorOutputFormats : Int32 { case eofXML = 0 case eofJSON = 1 case eofEDIFACT = 2 }

Default Value

0

Remarks

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

Possible values are:

  • 0 (ofXML)
  • 1 (ofJSON)
  • 2 (ofEDIFACT)
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.

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