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