Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [%XGEN] >  [AbstractNode]
Private  Storage   

class %XGEN.AbstractNode extends AbstractElement

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 nodes within an XGEN document.
A node represents a specific action within an XGEN document.
See %XGEN.AbstractDocument for an overview of XGEN.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2


Summary

Properties
name

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

Subclasses
%Installer.Activity %XGEN.AbstractDocument %XGEN.AbstractSequence

Methods

• method %OnGenerateCode(pTargetClass As %Dictionary.CompiledClass, pCode As %Stream.TmpCharacter, pDocument As %XGEN.AbstractDocument) as %Status
Generate code for this node.
This method is called when a class containing an XGEN document is compiled.
pTargetClass is the class that contains the XGEN document.
pCode is a stream containing the generated code.
pDocument is the top-level XGEN document object that contains this node.
A subclass will provide an implementation of this method that will generate specific lines of code.
For example:
	Do pCode.WriteLine(..%Indent()_"Set " _ ..target _ "=" _ $$$quote(..value))


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