org.objectweb.fractal.adl.attributes
Class AttributeCompiler

java.lang.Object
  extended byorg.objectweb.fractal.adl.attributes.AttributeCompiler
All Implemented Interfaces:
BindingController, PrimitiveCompiler

public class AttributeCompiler
extends Object
implements BindingController, PrimitiveCompiler

A PrimitiveCompiler to compile Attributes nodes in definitions.


Field Summary
 AttributeBuilder builder
          The AttributeBuilder used by this compiler.
static String BUILDER_BINDING
          Name of the mandatory interface bound to the AttributeBuilder used by this compiler.
 
Constructor Summary
AttributeCompiler()
           
 
Method Summary
 void bindFc(String itf, Object value)
           
 void compile(List path, ComponentContainer container, TaskMap tasks, Map context)
           
 String[] listFc()
           
 Object lookupFc(String itf)
           
 void unbindFc(String itf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUILDER_BINDING

public static final String BUILDER_BINDING
Name of the mandatory interface bound to the AttributeBuilder used by this compiler.

See Also:
Constant Field Values

builder

public AttributeBuilder builder
The AttributeBuilder used by this compiler.

Constructor Detail

AttributeCompiler

public AttributeCompiler()
Method Detail

listFc

public String[] listFc()
Specified by:
listFc in interface BindingController

lookupFc

public Object lookupFc(String itf)
Specified by:
lookupFc in interface BindingController

bindFc

public void bindFc(String itf,
                   Object value)
Specified by:
bindFc in interface BindingController

unbindFc

public void unbindFc(String itf)
Specified by:
unbindFc in interface BindingController

compile

public void compile(List path,
                    ComponentContainer container,
                    TaskMap tasks,
                    Map context)
             throws ADLException
Specified by:
compile in interface PrimitiveCompiler
Throws:
ADLException