Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [%SYS] >  [%CSP] >  [AbstractAtom]
Private  Storage   

abstract class %CSP.AbstractAtom extends %RegisteredObject

The CSPAtom class represents a unit of an HTML document. A document consists of two types of atom objects: CSPTextAtom and CSPElement.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 10


Summary

Properties
Parent TagName

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
PopDefaultSection PushDefaultSection RenderEndTag RenderStartTag
ValidateTag WriteCSPServer WriteCSPText WriteExpressionText
WriteServer WriteText

Subclasses
%CSP.Rule %CSP.TextAtom

Properties

• property Parent as %CSP.AbstractAtom [ Transient ];
• property TagName as %String;

Methods

• method PopDefaultSection()
Pop default section from the top of the stack of section identifiers. The section identifier is in the form ,.
• method PushDefaultSection(sectionblock As %String)
Add new default section to the top of the stack of section identifiers. The section identifier is in the form ,.
• method RenderEndTag() as %Status
Writes code into the routine builder object that will render this element. Called after children rendered.
• method RenderStartTag() as %Status
Writes code into the routine builder object that will render this element. Called before children rendered.
• method ValidateTag() as %Status
• method WriteCSPServer(line As %String, keepTogether As %Boolean = 0)
Generate COS command in CSP page class that is in line with ##()## resolved.
• method WriteCSPText(line As %String, crlf As %Boolean = 0)
Generate Write command in CSP page class to write the contents of line with processing of ##()## and #()#.
• method WriteExpressionText(expr As %String, crlf As %Boolean = 0)
Generate Write command in CSP page class to write the the text returned by COS expression in expr.
• method WriteServer(line As %String, keepTogether As %Boolean = 0)
Generate COS command in CSP page class that is in line.
• method WriteText(line As %String, crlf As %Boolean = 0)
Generate Write command in CSP page class to write the contents of line.


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