DocBook|Search
Class Reference
%XGEN.AbstractElement
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%XGEN] >  [AbstractElement]
Private  Storage  

abstract class %XGEN.AbstractElement extends %RegisteredObject, %XML.Adaptor

Note: This class is included because it is needed by other parts of the library. You should not use this or any other class within this package within your applications as a future version will be incompatible. If you are interested in this functionality please contact InterSystems.

This is the base class for all elements within an XGEN document.
There are 3 type of element within XGEN document:
  1. document: a container for the entire XGEN document. These are subclasses of %XGEN.AbstractDocument.
  2. sequence: a collection of one or more elements. These are subclasses of %XGEN.AbstractSequence.
  3. node: a single activity within an XGEN document. These are subclasses of %XGEN.AbstractNode.
See %XGEN.AbstractDocument for an overview of XGEN.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 2 2


Summary

Properties
name

Methods
%%OIDGet %AddToSaveSet %ClassIsLatestVersion %ClassName
%ConstructClone %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%Extends %GetParameter %Indent %IsA
%IsModified %New %NormalizeObject %ObjectModified
%OriginalNamespace %PackageName %RemoveFromSaveSet %SerializeObject
%SetModified %ValidateObject XMLDTD XMLExport
XMLExportToStream XMLExportToString XMLNew XMLSchema
XMLSchemaNamespace XMLSchemaType

Subclasses
%XGEN.AbstractNode

Parameters

• parameter XGENDOCUMENT;
This is the name of the XGEN document class that this node belongs to.
• parameter XMLIGNOREINVALIDATTRIBUTE = 0;
By setting this to 0, we disallow use of invalid attribute names.
• parameter XMLIGNORENULL = 1;
By setting this 1, we ignore the difference between null and empty nodes within XGEN.

Properties

• property name as %String(MAXLEN="");
This is the logical name of this node. This provides a common way to name elements within an XGEN document.

Methods

• method %Indent(pIndent As %Integer = 0) as %String
Helper method.
Returns a string containing the correct number of tabs for indenting code for this node.