ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.icc.services.module 

IModuleResolverService  - AS3 Asset Composer

Packagecom.adobe.icc.services.module
Interfacepublic 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

Service for resolving modules into values that can be pushed into the PDF.



Public Methods
 MethodDefined By
 Inherited
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
 Inherited
Dispatches an event into the event flow.
IEventDispatcher
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
IEventDispatcher
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
IEventDispatcher
  
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
 Inherited
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.

Returns
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.

Returns
com.adobe.icc.token:IAsyncTokenArrayCollection 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.