%XML.PropertyParameters
class %XML.PropertyParameters
For details on using the property parameters shown here, see Projecting Objects to XML.
Property superclass used to hold information about property parameters for %XML.Adaptor.Parameters
ELEMENTQUALIFIED will be ignored if XMLREF=1. REFELEMENTQUALIFIED should be used in that case.
This parameter is ignored for direct use of XMLExport -- it is only available for use by %XML.Writer or SOAP support.
This parameter is ignored for direct use of XMLExport -- it is only available for use by %XML.Writer or SOAP support.
This parameter is deprecated and has been replaced by XMLREF.
If XMLNIL=1, then properties of the class with value = "" (null) are XMLExported in the format <propname xsi:nil="true"/>.
The exception is that string properties with value = "" are always exported as <propname/> if the class parameter XMLIGNORENULL=1 even if XMLNIL=1.
The XMLNIL property parameter overrides the XMLNIL class parameter for the property where it is specified.
The default of XMLNILNOOBJECT = 0 will always create an object for an element with xsi:nil="true".
If XMLNILNOOBJECT = 1, then elements with xsi:nil="true" and no attributes specified will be skipped, i.e. the value of the property will remain "".
The XMLNILNOOBJECT property parameter overrides the XMLNILNOOBJECT class parameter for the property where it is specified.
- NONE indicates that the property is not to be projected to XML. The XMLPROJECTION for private properties defaults to NONE. Private properties are not automatically projected but can be forced to project by specifying a value for this parameter.
- ATTRIBUTE indicates that this property is projected as an attribute.
- XMLATTRIBUTE indicates that this property is projected as an attribute from the default XML namespace using the xml: prefix.
- CONTENT indicates that this property is the only element for this class and its value is projected with no enclosing tag as the class' value.
- ELEMENT indicates that this property is projected as an XML element or, in the case of a collection, a list of element with no wrapping tag.
- WRAPPED indicates that this property is projected as an XML element with an addtional wrapping tag or, in the case of a collection, a list of elements wrapped in a tag for the collection.
COLLECTION is now deprecated and replaced by its synonym WRAPPED. ELEMENTREF value is now deprecated and replaced by the use of the XMLREF parameter.
This parameter is ignored for direct use of XMLExport -- it is only available for use by %XML.Writer or SOAP support.
- SUMMARY indicates that only the summary properies of the referenced class are used to represent the reference. SUMMARY is the default. Note that by default all properties are of the referenced class are in the summary.
- COMPLETE indicates that all properties of the referenced class are used to represent the reference.
- ID indicates that the id of a persistent or serial class is used to represent the reference.
- OID indicates that the oid of a persistent or serial class is used to represent the reference. The form of the oid will be classname,id.
- GUID indicates that the GUID of a persistent class is used to represent the reference.
- If XMLSTREAMMODE="block" (the default), the normalized XML data is copied unchanged to the stream.
- If XMLSTREAMMODE="line", the XML data is broken into lines separated by the streams LineTerminator sequence.
- EXPLICIT indicates that only this property's explicitly specified type in XML will be projected to XML.
- CHOICE indicates that the schema for this property uses the XML schema choice group to allow multiple XML types for this property. The classes for these types are specified by the XMLCHOICELIST parameter or are all subclasses of this property's type if no XMLCHOICELIST parameter.
- SUBSTITUTIONGROUP indicates that the schema for this property uses the XML schema substituionGroup to allow multiple XML types for this property. The classes for these types are all subclasses of this property's type.