Share via


AxdXmlWriter Class [AX 2012]

The AxdXmlWriter class is a helper class that writes Microsoft Dynamics AX data types to XML. The class is also used to query an XSD for the presence of types and elements when a filter XSD is used during XML generation.

Syntax

class AxdXmlWriter

Run On

Called

Methods

  Method Description
Gg839919.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg839919.protmethod(en-us,AX.60).gif enumValue2str
Gg839919.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg839919.protmethod(en-us,AX.60).gif findComplexTypeTypeInFilter Finds a complex type in the schema.
Gg839919.pubmethod(en-us,AX.60).gif getAllowedFieldsForComplexType
Gg839919.pubmethod(en-us,AX.60).gif getAllowedTablesForComplexType
Gg839919.protmethod(en-us,AX.60).gif getBaseType
Gg839919.protmethod(en-us,AX.60).gif getSequenceEnumerator
Gg839919.protmethod(en-us,AX.60).gif getSequencePropertyNames
Gg839919.protmethod(en-us,AX.60).gif getSequenceTableNames
Gg839919.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg839919.pubmethod(en-us,AX.60).gif getXML Retrieves the XML as a string.
Gg839919.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg839919.pubmethod(en-us,AX.60).gif hasSchema
Gg839919.protmethod(en-us,AX.60).gif isComplexTypeADataSrc Determines whether the data source is defined in the Xml Schema Definition (XSD).
Gg839919.pubmethod(en-us,AX.60).gif isEntityComplexTypeInXsd Validates that the specified complex type is defined in the XSD schema and represents a query data source.
Gg839919.pubmethod(en-us,AX.60).gif new Initializes a new instance of the AxdXmlWriter class.
Gg839919.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg839919.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg839919.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg839919.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg839919.pubmethod(en-us,AX.60).gif resetWriter
Gg839919.pubmethod(en-us,AX.60).gif setDefaultNameSpace
Gg839919.pubmethod(en-us,AX.60).gif setSchema Assigns the schema that will be used for filtering.
Gg839919.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg839919.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg839919.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg839919.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg839919.pubmethod(en-us,AX.60).gif writeArrayElement Writes an array element to the XML stream.
Gg839919.pubmethod(en-us,AX.60).gif writeEndArray Writes the array end element to the XML stream.
Gg839919.pubmethod(en-us,AX.60).gif writeEndDocument
Gg839919.pubmethod(en-us,AX.60).gif writeEndTable
Gg839919.pubmethod(en-us,AX.60).gif writeProperty Writes a property to the XML stream.
Gg839919.pubmethod(en-us,AX.60).gif writePropertyWithSitesValue
Gg839919.pubmethod(en-us,AX.60).gif writeStartArray
Gg839919.pubmethod(en-us,AX.60).gif writeStartDocument Writes the XML processing instruction, and then writes the root element. The name of the root element will be the specified class name.
Gg839919.pubmethod(en-us,AX.60).gif writeStartTable Writes a new XML element and sets the current context to this table.
Gg839919.pubmethod(en-us,AX.60).gif writeStartTableWithSitesValue
Gg839919.protmethod(en-us,AX.60).gif writeValue
Gg839919.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg839919.pubmethod(en-us,AX.60).gif Gg839919.static(en-us,AX.60).gif ::enumTypeName
Gg839919.pubmethod(en-us,AX.60).gif Gg839919.static(en-us,AX.60).gif ::typeToString Returns the type name as a string. Used when the data type must be present in the XML (for example, for enumerations).

Top

Remarks

This class also implements schema lookup that support using schemas as filters when generating the XML.

Note

This class does not itself filter the output. It is the responsibility of the calling class to determine whether a given data source or field should be written to XML.

Inheritance Hierarchy

Object Class
  AxdXmlWriter Class