Home > Class Reference > ENSLIB namespace > Ens.DTL.Code


class Ens.DTL.Code extends Ens.DTL.Action

This class holds a block of user specified code which will be inlined in the generated data transformation. Use CDATA to allow use of XML metacharacters within the code body

Property Inventory

Method Inventory


parameter TAGNAME = code;


property Code as %GlobalCharacterStream;
Property methods: CodeDelete(), CodeGet(), CodeGetObject(), CodeGetObjectId(), CodeGetSwizzled(), CodeIsValid(), CodeNewObject(), CodeOid(), CodeOpen(), CodeSet(), CodeSetObject(), CodeSetObjectId(), CodeUnSwizzle()


method CopyTo(pStream As %Stream.MethodGenerator, pOutputXML As %Boolean, pLanguage As %String) as %Status [ Language = objectscript ]
method Deserialize(pState As %String) as %Status [ Language = objectscript ]
Fill in properties of this item from the serial string
method DisplayName() as %String [ Language = objectscript ]
Provide a user readable string which identifies this node
method EscapeCDATA(pLine As %String) as %String [ Language = objectscript ]
method GenerateCode(pCompiler As Ens.DTL.Compiler) as %Status [ Language = objectscript ]
method GenerateXML(pStream As %BinaryStream) as %Status [ Language = objectscript ]
method Serialize(pStream As %CharacterStream) as %Status [ Language = objectscript ]
Serialize this transform for use by DTL editor

Inherited Members

Inherited Properties

Inherited Methods