套件 | 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, 03:47 PM Z