net.dpml.library
Interface TypeBuilder


public interface TypeBuilder

Interface implemented by type datastructure builders.


Method Summary
 Type buildType(ClassLoader classloader, TypeDirective type)
          Construct a type instance using a supplied classloader and type production directive.
 String getID()
          Return the id of the type produced by the builder.
 

Method Detail

getID

public String getID()
Return the id of the type produced by the builder.

Returns:
the type id

buildType

public Type buildType(ClassLoader classloader,
                      TypeDirective type)
               throws Exception
Construct a type instance using a supplied classloader and type production directive.

Parameters:
classloader - the base classloader
type - the type production directive
Returns:
the type instance
Throws:
Exception - if an error occurs