Sun B2B Suite ASC X12 OTD Library User's Guide

setXmlOutput


Note –

This method is reserved for future use.


Signature


public void setXmlOutput(boolean)

Description

When used with the parameter set to true, this method causes the X12 OTD involved to output XML.

When used with the parameter set to false, this method causes the X12 OTD to output ANSI (which is the default output if this method is not used at all).

Exceptions

None.

Example


x12_4010.x12_4010_850_PurcOrde_Outer myOTD=new x12_4010.x12_4010_850_PurcOrde_Outer();
......
......
myOTD.setXmlOutput(true);