Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [%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.


Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 2 2



%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



• parameter XGENDOCUMENT;
This is the name of the XGEN document class that this node belongs to.
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.


• 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.


• 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.

Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.