Skip to main content

%pkg.isc.json.mappingCall

class %pkg.isc.json.mappingCall extends %Library.RegisteredObject, %XML.Adaptor

Property Inventory

Parameters

parameter NAMESPACE = http://www.intersystems.com/_pkg/isc/json/jsonmapping;
Inherited description: NAMESPACE specifies the XML namespace to be used when projecting the class to XML. If NAMESPACE = "", the default namespace is used for the XML schema is used as the namespace for his class.
parameter XMLFORMAT = literal;
Inherited description: The XMLFORMAT parameter controls the generation of the XMLExport and XMLImport methods for XML enabled classes to include code for only literal or only encoded format. This allows the generated routines to be significantly smaller since usually both formats are not needed.

If XMLFORMAT="Literal", then only support for literal format import and export is generated.

If XMLFORMAT="Encoded", then only support for SOAP encoded format import and export is generated.

The default is to generate support for both literal and encoded format.

parameter XMLIGNOREINVALIDATTRIBUTE = 0;
Inherited description: The XMLIGNOREINVALIDATTRIBUTE parameter allows the programmer to control handling of unexpected attributes in the XML input. By default (XMLIGNOREINVALIDATTRIBUTE = 1), will ignore unexpected attributes. If XMLIGNOREINVALIDATTRIBUTE is set = 0, then an unexpected attribute will be treated as an error.
parameter XMLNAME = Call;
Inherited description: This parameter provides the default XMLNAME for the class. If it is empty then the class name will be used to construct a default XML name. The default XMLNAME is used as the top level tag when exporting objects and the export context did not provide an XML container name.

Properties

property Mapping as %String (XMLPROJECTION = "attribute");
Property methods: MappingDisplayToLogical(), MappingGet(), MappingIsValid(), MappingLogicalToDisplay(), MappingLogicalToOdbc(), MappingNormalize(), MappingSet()

Inherited Members

Inherited Methods

FeedbackOpens in a new tab