(Beta)
Package | com.adobe.icc.services.module |
Interface | public interface IModuleResolverService extends IEventDispatcher |
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Public Methods
Method | Defined By | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | IEventDispatcher | ||
Dispatches an event into the event flow. | IEventDispatcher | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | IEventDispatcher | ||
Removes a listener from the EventDispatcher object. | IEventDispatcher | ||
resolveExpressions(expressions:ArrayCollection, contextData:ContextData, optimizeDDI:Boolean = false):com.adobe.icc.token:IAsyncToken
Resolves the given list of expression. | IModuleResolverService | ||
resolveModule(moduleId:String, contextData:ContextData, optimizeDDI:Boolean = false):com.adobe.icc.token:IAsyncToken
Resolves the specified module to a fully-resolved value. | IModuleResolverService | ||
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | IEventDispatcher |
Method Detail
resolveExpressions | () | method |
public function resolveExpressions(expressions:ArrayCollection, contextData:ContextData, optimizeDDI:Boolean = false):com.adobe.icc.token:IAsyncToken
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Resolves the given list of expression. the expression which evaluate to 'true' would be returned as the resolved expression.
Parameters
expressions:ArrayCollection — The list of expressions to be resolved.
| |
contextData:ContextData — Context data to help with expression resolution.
| |
optimizeDDI:Boolean (default = false )
|
com.adobe.icc.token:IAsyncToken — The expression string that resolves to true. Null, if none evaluates to true.
|
Throws
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
resolveModule | () | method |
public function resolveModule(moduleId:String, contextData:ContextData, optimizeDDI:Boolean = false):com.adobe.icc.token:IAsyncToken
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Resolves the specified module to a fully-resolved value. For text modules, it is an XHTML value, and for image modules, the value is a byte value. Values that are fully-resolved have no dependencies.
Parameters
moduleId:String — The identifier of the module to resolve. Can refer to any type of module including text, image, list, or condition.
| |
contextData:ContextData — Context data that helps to resolve the module.
| |
optimizeDDI:Boolean (default = false )
|
com.adobe.icc.token:IAsyncToken — An ArrayCollection of ResolvedContent objects. If the resolved module is a list,
each item in the collection represents an item in the list, including nested lists. The returned collection is flat regardless of whether
the modules are nested or not.
|
Throws
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Wed Nov 21 2018, 06:34 AM -08:00