Validates that the String argument contains a valid XML Order document, and then constructs an OrderXml object containing that document. For example, assume that “doc” is a Java string variable containing an XML Order document, perhaps one read from a file:
xml.order.OrderXml ox = new xml.order.OrderXml(doc);