org.objectweb.fractal.adl.types
Class TypeCompiler

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

public class TypeCompiler
extends Object
implements BindingController, PrimitiveCompiler

A PrimitiveCompiler to compile TypeInterface nodes in definitions.


Field Summary
 TypeBuilder builder
          The TypeBuilder used by this compiler.
static String BUILDER_BINDING
          Name of the mandatory interface bound to the TypeBuilder used by this compiler.
 
Constructor Summary
TypeCompiler()
           
 
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 TypeBuilder used by this compiler.

See Also:
Constant Field Values

builder

public TypeBuilder builder
The TypeBuilder used by this compiler.

Constructor Detail

TypeCompiler

public TypeCompiler()
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