(Beta)
Package | lc.foundation.util |
Class | public class CompositeMessage |
Inheritance | CompositeMessage Message Object |
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, 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 LiveCycle Workspace ES2 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.
Public Properties
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
date : Date [read-only]
The time the message was recorded at. | Message | ||
formattedMessage : String [override] [read-only]
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 [override] [read-only]
The composite message identifier. | CompositeMessage | ||
nestedId : String [read-only]
The nested message identifier. | CompositeMessage | ||
rawMessage : String [override] [read-only]
The localized message text with all substitutions, but the text is not
formatted with the standard UI formatting. | CompositeMessage | ||
topLevelId : String [read-only]
The top-level message identifier. | CompositeMessage |
Public Methods
Method | Defined By | ||
---|---|---|---|
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 | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Removes a listener from the EventDispatcher object. | Message | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object | ||
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | Message |
Property Detail
formattedMessage | property |
formattedMessage:String
[read-only] [override] Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
The localized message text with all substitutions and is appropriately formatted for display.
Implementation
override public function get formattedMessage():String
messageId | property |
messageId:String
[read-only] [override] Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, 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()
.
Implementation
override public function get messageId():String
nestedId | property |
rawMessage | property |
rawMessage:String
[read-only] [override] Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
The localized message text with all substitutions, but the text is not formatted with the standard UI formatting.
Implementation
override public function get rawMessage():String
topLevelId | property |
topLevelId:String
[read-only] Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
The top-level message identifier.
Implementation
public function get topLevelId():String
Constructor Detail
CompositeMessage | () | Constructor |
public function CompositeMessage(id:String, nestedId:String, nestedMessage:String, params:Array)
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Constructor.
Parametersid: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.
|
Wed Nov 21 2018, 06:34 AM -08:00