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 (unsupported), 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):com.adobe.icc.token:IAsyncToken
Resolves the given list of expression. | IModuleResolverService | ||
Resolves the specified module to a fully-resolved (no dependencies) XHTML (for text modules) or byte (for image modules) 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):com.adobe.icc.token:IAsyncToken
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR (unsupported), 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.
|
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):com.adobe.icc.token:IAsyncToken
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Resolves the specified module to a fully-resolved (no dependencies) XHTML (for text modules) or byte (for image modules) value.
Parameters
moduleId:String — The GUID of module to resolve. Can refer to a text, image, list, condition, or any other type of module.
| |
contextData:ContextData — Context data to help with module resolution.
|
com.adobe.icc.token:IAsyncToken — ArrayCollection of ResolvedContent objects. If the resolved module was a list,
each item in the collection represents an item in the list, including nested lists. Regardless of the nesting
of modules (lists and conditions), the returned collection is flat.
|
Throws
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Thu Dec 6 2018, 01:12 PM -08:00