Home > Class Reference > %SYS namespace > %CSP.AbstractAtom

%CSP.AbstractAtom

abstract class %CSP.AbstractAtom extends %Library.RegisteredObject

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

Property Inventory

Method Inventory

Properties

property Parent as %CSP.AbstractAtom [ Transient ];
Property methods: ParentGet(), ParentGetSwizzled(), ParentIsValid(), ParentNewObject(), ParentSet()
property TagName as %String;
Property methods: TagNameDisplayToLogical(), TagNameGet(), TagNameIsValid(), TagNameLogicalToDisplay(), TagNameLogicalToOdbc(), TagNameNormalize(), TagNameSet()

Methods

method PopDefaultSection() [ Language = objectscript ]
Pop default section from the top of the stack of section identifiers. The section identifier is in the form ,.
method PushDefaultSection(sectionblock As %String) [ Language = objectscript ]
Add new default section to the top of the stack of section identifiers. The section identifier is in the form ,.
method RenderEndTag() as %Status [ Language = objectscript ]
Writes code into the routine builder object that will render this element. Called after children rendered.
method RenderStartTag() as %Status [ Language = objectscript ]
Writes code into the routine builder object that will render this element. Called before children rendered.
method ValidateTag() as %Status [ Language = objectscript ]
method WriteCSPServer(line As %String, keepTogether As %Boolean = 0) [ Language = objectscript ]
Generate COS command in CSP page class that is in line with ##()## resolved.
method WriteCSPText(line As %String, crlf As %Boolean = 0) [ Language = objectscript ]
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) [ Language = objectscript ]
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) [ Language = objectscript ]
Generate COS command in CSP page class that is in line.
method WriteText(line As %String, crlf As %Boolean = 0) [ Language = objectscript ]
Generate Write command in CSP page class to write the contents of line.

Inherited Members

Inherited Methods

Subclasses