DocBook|Search
Class Reference
%CSP.Document
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%CSP] >  [Document]
Private  Storage  

class %CSP.Document extends %CSP.Rule

The %CSP.Document class is the server-side representation of a CSP page.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 8


Summary

Properties
Children Closed Family HasEndTag LineNumber
NeedBroker NeedJS NeedJSBroker NewSection Parent
Rule TagAttributes TagName Text TextOnly

Methods
%%OIDGet %AddToSaveSet %ClassIsLatestVersion %ClassName
%ConstructClone %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%Extends %GetParameter %IsA %IsModified
%New %NormalizeObject %ObjectModified %OnClose
%OnNew %OriginalNamespace %PackageName %RemoveFromSaveSet
%SerializeObject %SetModified %ValidateObject AddChildElement
AddEventBroker GetAttribute GetAttributesOrdered HasValue
InitAttribute InnerText IsDefined OnMatch
PopDefaultSection PushDefaultSection QuoteAttribute RenderDefaultEndTag
RenderDefaultStartTag RenderEndTag RenderStartTag SetAttribute
ValidateTag WriteCSPServer WriteCSPText WriteExpressionText
WriteServer WriteText

Subclasses
%CSP.RuleDocument %CSP.RuleRule

Properties

• property NeedBroker as %Boolean [ InitialExpression = 0 ];
Deprecated property for #server that is kept for compatibility. Now has the same effect as NeedJS property. If true, JavaScript for #server applet HyperEvent should included in the CSP page.
• property NeedJS as %Boolean [ InitialExpression = 0 ];
If true, JavaScript for HyperEvent should included in the CSP page.
• property NeedJSBroker as %Boolean [ InitialExpression = 0 ];
Deprecated property for #call that is kept for compatibility. Now has the same effect as NeedJS property. If true, JavaScript for #call iframe HyperEventshould included in the CSP page.

Methods

• method %OnClose() as %Status
Make sure that we are cleaned up.
• method AddEventBroker() as %Status
Insert event broker code into the head section to load hyperevent .js files.
• method RenderEndTag() as %Status
The document tag for CSP acts to compile this document. Finish building the class and cleanup.
• method RenderStartTag() as %Status
The document tag for CSP acts to compile this document to a Caché class that will render it on demand.