Skip to main content

%XGEN.AbstractElement

abstract class %XGEN.AbstractElement extends %Library.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.

Property Inventory

Method Inventory

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);
This is the logical name of this node. This provides a common way to name elements within an XGEN document.
Property methods: nameDisplayToLogical(), nameGet(), nameIsValid(), nameLogicalToDisplay(), nameLogicalToOdbc(), nameNormalize(), nameSet()

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.

Inherited Members

Inherited Methods

FeedbackOpens in a new tab