包 | com.adobe.icc.services.module |
接口 | public interface IModuleResolverService extends IEventDispatcher |
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | IEventDispatcher | ||
将事件调度到事件流中。 | IEventDispatcher | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | IEventDispatcher | ||
从 EventDispatcher 对象中删除侦听器。 | 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 | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | IEventDispatcher |
方法详细信息
resolveExpressions | () | 方法 |
public function resolveExpressions(expressions:ArrayCollection, contextData:ContextData):com.adobe.icc.token:IAsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | 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.
参数
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.
|
引发
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
resolveModule | () | 方法 |
public function resolveModule(moduleId:String, contextData:ContextData):com.adobe.icc.token:IAsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | 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.
参数
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.
|
引发
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Tue Jun 12 2018, 11:04 AM Z