The <class>XML.Exchange</class> class provides an interface for managing XML representations of objects. More...
Static Private Member Functions | |
_.Library.String | __GetName (_.Library.List Oid, _.Library.String Guid, qstruct) |
Returns the filename to be used for an item based on the selected qualifiers. | |
_.Library.Status | __GetReferences (_.Library.RegisteredObject Obj, _.Library.String references, _.Library.String qstruct, _.Library.Numeric ReferenceDepth, _.Library.Boolean ReferencesLimited) |
Takes an object referece so that it can support serial objects. | |
_.Library.Status | __exportItems (_.Library.String filename, _.Library.String qspec, _.Library.String items, _.Library.String Charset) |
Internal method to export a list of items to a file. More... | |
__initQualifier (_.Library.String group, _.Library.String qtable) | |
Initialise Qualifier details. | |
_.Library.Status | __normalizeItems (_.Library.String list, _.Library.String items) |
Oids potentially contain any character. More... | |
__qualifierParse (_.Library.String group, _.Library.String qspec, _.Library.String qstruct) | |
Parse Qualifier details. | |
Additional Inherited Members | |
![]() | |
_.Library.Status | OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount) |
This callback method is invoked when the current object is added to the SaveSet,. More... | |
_.Library.Status | OnClose () |
This callback method is invoked by the <METHOD>Close</METHOD> method to. More... | |
_.Library.Status | OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned) |
This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More... | |
_.Library.Status | OnNew () |
This callback method is invoked by the <METHOD>New</METHOD> method to. More... | |
_.Library.Status | OnValidateObject () |
This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More... | |
![]() | |
CAPTION = None | |
Optional name used by the Form Wizard for a class when generating forms. More... | |
JAVATYPE = None | |
The Java type to be used when exported. | |
PROPERTYVALIDATION = None | |
This parameter controls the default validation behavior for the object. More... | |
The <class>XML.Exchange</class> class provides an interface for managing XML representations of objects.
|
static |
This method looks for inconsistencies in the GUID allocation.
It may optionally correct problems if possible.
The identifiable issues and their resolutions are:
The method will output results as the check proceeds and show a tally when the check is complete.
|
static |
|
static |
Export Exchange Items to a directory.
The directory structure created is based on the type of Exchange Items being exported. The file names used can be controlled by the /name qualifier.
Each of the items must be of a type that extends the XML.Exchange.Adaptor class. If exporting multiple Exchange Items pass the items("oid")="" as an array.
|
static |
Returns a description to be used for the element.
This value is based on the objects XMLExchangeName method.
|
static |
Get full normalised path to the external file that would be exported to given a root directory.
Qualifiers can be used to indicate the naming convention to be used.
|
static |
Load a file from disk.
Load Exchange Items from the file file. Returns an stream of Exchange Items it loaded in loaded, You may give it a list of files to load via a single subscripted array. If you pass listonly as true then it will not load anything but just list the Exchange Items that exist in the files that you supply it.
If selecteditems is defined then this will contain a single subscripted array of items to load. It will only load items that are in this list from the file/s provided, so this provides a way to limit which items get loaded.
qspec is a list of qualifiers which can be displayed with 'Do ##class(XML.Exchange).ShowQualifiers()'
|
staticprivate |
Internal method to export a list of items to a file.
Items to be exported may be preloaded into the "selected" list.
|
staticprivate |
Oids potentially contain any character.
Therefore no delimited strings are supported.