Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / %XML.Exchange.Reader
Private  Storage   


class %XML.Exchange.Reader extends

Configuration Management XML Reader This class is used while importing Configuration Items. Do not use this class directly.


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 3


CheckRequired CorrelationTable Document EntityResolver
Filename Format IgnoreNull IgnoreSAXWarnings
KeepWhitespace Node SAXFlags SAXMask
SAXSchemaSpec SSLConfiguration Summary UsePPGHandler

%%OIDGet %AddToSaveSet %BindExport %BuildObjectGraph
%ClassIsLatestVersion %ClassName %Close %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IncrementCount %IsA %IsModified
%New %NormalizeObject %ObjectModified %OriginalNamespace
%PackageName %RemoveFromSaveSet %SerializeObject %SetModified
%ValidateObject Close Correlate CorrelateRoot
DocumentSet GetNewDocument Next NodeSet
OpenBuffer OpenFile OpenStream OpenString
OpenURL ResolveElement Rewind


• property Filename as %String;
The filename used as an XML source.


• method Next(ByRef oref As %ObjectHandle, ByRef sc As %Status, namespace As %String = "", ByRef qstruct As %String) as %Integer
Get and return the next object.

Next returns 1 (true), if the next object matching one of the Correlate criteria is found and successfully imported.
Next returns 0 (false) and a %Status of $$$OK in sc after all objects have been imported.
Next returns 0 (false) and an error %Status in sc, if an error has occurred importing this object.

The namespace argument indicates the default namespace for this XML file.

• method OpenFile(xmlsource As %String, format As %String) as %Status
Import XML source from a file using %XML.Document.
• method ResolveElement(element As %String, defaultNamespace As %String) as %String
ResolveElement() returns the class name corresponding to an element name within the current XMLReader context.