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