Package | org.spicefactory.parsley.core.registry |
Interface | public interface DynamicObjectDefinition extends ObjectDefinition |
Implementors | DefaultDynamicObjectDefinition |
Method | Defined By | ||
---|---|---|---|
addProcessor(processor:ObjectProcessorConfig):void
Adds the specified processor to this definition. | ObjectDefinition | ||
copyForInstance(instance:Object):DynamicObjectDefinition
Creates a copy of this definition wrapping the existing instance. | DynamicObjectDefinition | ||
freeze():void
Freezes this object definition. | ObjectDefinition | ||
getAttribute(key:Object):Object
Returns the attribute for the specified key or null if no such attribute exists. | ObjectDefinition | ||
setAttribute(key:Object, value:Object):void
Sets the attribute for the specified key and value. | ObjectDefinition |
copyForInstance | () | method |
public function copyForInstance(instance:Object):DynamicObjectDefinition
Creates a copy of this definition wrapping the existing instance.
Parameters
instance:Object — the instance to wrap
|
DynamicObjectDefinition — a new ObjectDefinition wrapping the existing instance
|