Class Reference
%CSP.Documatic
|
|
![]() |
|||
Private Storage |
This class is used internally by Caché. You should not make direct use of it within your applications. There is no guarantee made about either the behavior or future operation of this class.
Automatic HTML Document Generator for Caché classes.
To use, point a browser at: http://127.0.0.1:1972/csp/docbook/%25CSP.Documatic.cls.
The documentation for a class can consist of just plain text, or it may have embedded HTML tags. When present, these tags are also sent to the browser displaying the class page. Thus, it is possible to exert finer control over the presentation of class information such as list formatting, definitions, even tables.
If HTML is used to enhance the display, the user should take care to follow the HTML standard and insert as little markup as necessary to accomplish the job. The reason for this is that the class documentation may be viewed on many different browsers, each of which has its own extensions. The closer the HTML is to the standard (and to those features of the standard that all browsers support), the better the chance that the information will appear the same on all displays.
Documatic also supports several special tags in addition to those defined by HTML:
|
|
Subclasses | |
---|---|
%CSP.Documatic.CubeInfo | %CSP.Documatic.PrintClass |
|
This parameter is used to make sure that if multiple CSP applications are mapped to the same namespace that the CSP engine can correctly identify which class corresponds with which URL. If 'LockCSPName' is true (the default, defined in the CSP application) then you can only access this page if the url exactly matches this 'CSPURL'. You can set this parameter to "" if you wish to disable this check for this class. This check is applied for all CSP urls (cls/csp/zen).
If this page was compiled from a .csp file, then this parameter is automatically set to contain the url of this file used for compilation.
Default Localization Domain
|
Draw username or server name depend on setup.
Event handler for PAGE event: this is invoked in order to display a csp page. This method is called to render a class document to a browser.
Write out any cookies we want to hold onto.
Generate an HTML page for the class cdef serial storage definition.Set issuper true for superclasses of the currently viewed class.
Generate an HTML page for the class cdef.
Color the code instreamIn based on the languagelang and return the result in the streamstreamOut . Iflang is 'NONE' then it will not try and syntax color the example code.
Write a description string out as HTML. Apply substitutions for documatic tags.
Renders a %library index page. Set %library to %SYS to show system index.
Generate HTML table showing available namespaces.
Generate an HTML page show information on the current namespace.
Generate HTML table showing contents of the given package.
Generate an HTML page for the packagepackagename .
Generate an HTML page for the class cdef serial storage definition.Set issuper true for superclasses of the currently viewed class.
Generate an HTML page for the classcdef storage definition.
|
Selects ClassName As%String
The DefinedBy query returns a list of class names that define member member. type is the type of the class member, e.g., "method".
Selects ClassName As%String
The ImplementedBy query returns a list of class names that implement member member. type is the type of the class member, e.g., "method".
Selects ClassName As%String , Property As%String
The ReferencedBy query returns a list of class names that refer to (has properties of type) refclass.