class %ZHSLIB.PackageManager.Developer.Processor.Default.LocalizedErrorMessages extends %ZHSLIB.PackageManager.Developer.Processor.Default.Document, %ZHSLIB.PackageManager.Developer.Processor.LocalizationExport

Property Inventory (Including Private)

Method Inventory (Including Private)


parameter DESCRIPTION = Standard resource processor for localized error messages.;
Description of resource processor class (shown in UI)
parameter EXTENSION = LOC;
May be set to determine the value of Extension based on a static value rather than based on the resource name. The only expected use case at this point is class packages (.PKG, but Extension will be .CLS)


property Directory as %String) [ InitialExpression = "localize" ];
Directory relative to module root containing the exported resource. Defaults to the resource's extension (lower-case) if unspecified.
Property methods: DirectoryDisplayToLogical(), DirectoryGet(), DirectoryIsValid(), DirectoryLogicalToDisplay(), DirectoryLogicalToOdbc(), DirectoryNormalize(), DirectorySet()
property FilenameTranslateAssociator as %String [ InitialExpression = "/_" ];
Characters in the filename to use as the associator in $translate when determining the resource's filename on disk The default behavior is to replace "." with "/" and change "%" to "_"
Property methods: FilenameTranslateAssociatorDisplayToLogical(), FilenameTranslateAssociatorGet(), FilenameTranslateAssociatorIsValid(), FilenameTranslateAssociatorLogicalToDisplay(), FilenameTranslateAssociatorLogicalToOdbc(), FilenameTranslateAssociatorNormalize(), FilenameTranslateAssociatorSet()
property Format as %String (VALUELIST = ",XML,UDL") [ InitialExpression = "XML" ];
Export format - list of acceptable values may differ by subclass.
Property methods: FormatDisplayToLogical(), FormatGet(), FormatIsValid(), FormatLogicalToDisplay(), FormatLogicalToOdbc(), FormatNormalize(), FormatSet()


method OnBeforePhase(pPhase As %String, ByRef pParams) as %Status [ Language = objectscript ]
method OnConfigureMappings(ByRef pParams) as %Status [ Language = objectscript ]
Subclasses may override to customize mapping behavior at the beginning of the Reload phase.
method OnPhase(pPhase As %String, ByRef pParams, Output pResourceHandled As %Boolean = 0) as %Status [ Language = objectscript ]
Inherited description: Called as phase pPhase is executed for the resource. If pResourceHandled is set to true, then the default behavior for that resource will be bypassed in the current phase. Currently, this is only used in the Verify phase, because of different handling of intermediate error statuses. TODO: Implement for standard database resources (.INC, .CLS, etc.)

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)