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

class %CSP.RuleBlock extends %CSP.Rule

The %CSP.RuleBlock class is the super class of all rule generated classes for block structured tags, e.g. csp:if, that represent elements within the DOM model.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 4


Summary

Properties
Children Closed Container EndLabel Family
HasEndTag LineNumber NewSection NextLabel 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 %OnNew
%OriginalNamespace %PackageName %RemoveFromSaveSet %SerializeObject
%SetModified %ValidateObject AddChildElement GetAttribute
GetAttributesOrdered GetCurrentBlock GetNewLabel HasValue
InitAttribute InnerText IsDefined NewBlock
OnMatch PopDefaultSection PushDefaultSection QuoteAttribute
RemoveBlock RenderDefaultEndTag RenderDefaultStartTag RenderEndTag
RenderStartTag SetAttribute ValidateTag WriteCSPServer
WriteCSPText WriteExpressionText WriteServer WriteText

Subclasses
%csr.csp.CONTINUE %csr.csp.ELSE %csr.csp.ELSEBASIC
%csr.csp.ELSEIF %csr.csp.ELSEIFBASIC %csr.csp.ELSEIFMVBASIC
%csr.csp.ELSEMVBASIC %csr.csp.IF %csr.csp.IFBASIC
%csr.csp.IFMVBASIC %csr.csp.LOOP %csr.csp.LOOPBASIC
%csr.csp.LOOPMVBASIC %csr.csp.QUIT %csr.csp.WHILE
%csr.csp.WHILEBASIC %csr.csp.WHILECOLLECTION %csr.csp.WHILECOLLECTIONBASIC
%csr.csp.WHILECOLLECTIONMVBASIC %csr.csp.WHILEMVBASIC

Properties

• property Container as %CSP.RuleBlock;
The object instance for the containing block or "".
• property EndLabel as %String;
The label used for the end of this block, e.g. the /csp:if clause for csp:if or after the loop for csp:while
• property NextLabel as %String;
The label used for the next block, e.g. the csp:else clause for csp:if or the next iteration for csp:while

Methods

• method GetCurrentBlock() as %CSP.RuleBlock
Get current block without creating a new one.
• method GetNewLabel() as %String
Get a new block label.
• method NewBlock()
Get a new block and associated labels for this nested code block.
• method RemoveBlock()
Remove the this nested block.