包 | lc.foundation.util |
类 | public class CompositeMessage |
继承 | CompositeMessage Message Object |
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
CompositeMessage
class encapsulates a composite message.
A composite message is a message that has nested messages. The general format
is [top-level identifer]/[next level identifier]/.../[most specific identifer]
.
For example, the message identifier of such a message can be "ALC-WKS-123-456" or
"ALC-XYZ-432-321" or "X754RT3". Most message identifiers are Workspace identifiers
of the form ALC-XYZ-123-456; however, there may also be identifiers from other
technologies and in different formats.
Use the CompositeMessage
class for nested error messages.
公共属性
属性 | 由以下参数定义 | ||
---|---|---|---|
constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | ||
date : Date [只读]
The time the message was recorded at. | Message | ||
formattedMessage : String [覆盖] [只读]
The localized message text with all substitutions and is appropriately formatted for display. | CompositeMessage | ||
logLevel : int
The logging level of the message. | Message | ||
messageId : String [覆盖] [只读]
The composite message identifier. | CompositeMessage | ||
nestedId : String [只读]
The nested message identifier. | CompositeMessage | ||
rawMessage : String [覆盖] [只读]
The localized message text with all substitutions, but the text is not
formatted with the standard UI formatting. | CompositeMessage | ||
topLevelId : String [只读]
The top-level message identifier. | CompositeMessage |
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
Constructor. | CompositeMessage | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | Message | ||
Dispatches an event into the event flow. | Message | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | Message | ||
表示对象是否已经定义了指定的属性。 | Object | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
Removes a listener from the EventDispatcher object. | Message | ||
设置循环操作动态属性的可用性。 | Object | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
返回指定对象的原始值。 | Object | ||
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | Message |
属性详细信息
formattedMessage | 属性 |
formattedMessage:String
[只读] [覆盖] 语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The localized message text with all substitutions and is appropriately formatted for display.
实现
override public function get formattedMessage():String
messageId | 属性 |
messageId:String
[只读] [覆盖] 语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The composite message identifier. The returned string value is equivalent
to retrieving the strings from the topLeveId
and nestedId
properties. The format of the string returned is topLevelId() + "/" + nestedId()
.
实现
override public function get messageId():String
nestedId | 属性 |
rawMessage | 属性 |
rawMessage:String
[只读] [覆盖] 语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The localized message text with all substitutions, but the text is not formatted with the standard UI formatting.
实现
override public function get rawMessage():String
topLevelId | 属性 |
构造函数详细信息
CompositeMessage | () | 构造函数 |
public function CompositeMessage(id:String, nestedId:String, nestedMessage:String, params:Array)
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Constructor.
参数id:String — Specifies the message identifier.
| |
nestedId:String — Specifies the nested message identifier.
| |
nestedMessage:String — Specifies the nested message.
| |
params:Array — Specifies an array of message parameters. These are substituted into the message.
|
Tue Jun 12 2018, 11:04 AM Z