A
IXMLObjectDefinitionsPreprocessor instance that retrieves all <interface/>
elements, looks up the <object/> definitions that have classes that implement these interfaces and
copies the configuration nodes from the interfaces to the appropriate <object/> elements.
applicationDomain:ApplicationDomain [write-only]
Implementation
public function set applicationDomain(value:ApplicationDomain):void
public function InterfacePreprocessor(applicationDomain:ApplicationDomain)
Creates a new InterfacePreprocessor instance.
Parameters
| applicationDomain:ApplicationDomain |
protected function hasChildElementWithName(node:XML, childElementName:String, namePropertyValue:String):BooleanParameters
| node:XML |
| |
| childElementName:String |
| |
| namePropertyValue:String |
Returns
protected function lookupImplementingObjects(xml:XML, interfaceName:String):Array
Returns all the <object/> nodes that define a class that implements the specified interface.
Parameters
| xml:XML — The XML that contains the <object/> nodes
|
| |
| interfaceName:String — The name of the interface that objects need to implement
|
Returns
| Array — A list of <object/> nodes with a class that implements the specified interface
|
public function preprocess(xml:XML):XML
Retrieves all the <interface/> nodes, looks up the appropriate <object/> nodes
and copies the interface configuration into them.
Parameters
| xml:XML — The specified XML that contains both the <interface/> and <object/> nodes
|
Returns
public static const CLASS_ATTR:String = "class"
Copyright 2007-2010 Spring Actionscript.