xml.Serializer methods

Methods for the xml.Serializer class.

Table 1. Class methods
Name Description
xml.Serializer.SetOption(
   flag STRING,
   value STRING )
Sets a global option value for the serializer engine
xml.Serializer.GetOption(
   flag STRING )
  RETURNING value STRING
Gets a global option value from the serializer engine.
xml.Serializer.VariableToStax(
   var VARIABLE,
   stax xml.StaxWriter )
Serializes a 4GL variable into an XML element node using a StaxWriter object.
xml.Serializer.StaxToVariable(
   stax xml.StaxReader,
   var VARIABLE )
Serializes an XML element node into a 4GL variable using a StaxReader object.
xml.Serializer.VariableToDom(
   var VARIABLE,
   node xml.DomNode )
Serializes a 4GL variable into an XML element node using a DomNode object.
xml.Serializer.DomToVariable(
   node xml.DomNode,
   var VARIABLE )
Serializes an XML element node into a 4GL variable using a DomNode object.
xml.Serializer.VariableToSoapSection5(
   var VARIABLE,
   node xml.DomNode )
Serializes a 4GL variable into an XML element node in Soap Section 5 encoding.
xml.Serializer.SoapSection5ToVariable(
   node xml.DomNode,
   var VARIABLE )
Serializes an XML element node into a 4GL variable in Soap Section 5 encoding.
xml.Serializer.DomToStax(
   node xml.DomNode,
   stax xml.StaxWriter )
Serializes an XML node object to a StaxWriter object.
xml.Serializer.StaxToDom(
   stax xml.StaxReader,
   node xml.DomNode )
Serializes an XML element node into a DomNode object using a StaxReader object.
xml.Serializer.CreateXmlSchemas(
   var VARIABLE,
   ar DYNAMIC ARRAY OF xml.DomDocument )
Creates XML schemas corresponding to the given variable var, and fills the dynamic array ar with xml.DomDocument objects each representing an XML schema.