org.oXML.type
Class TypeResolver

java.lang.Object
  extended byorg.oXML.type.TypeResolver

public class TypeResolver
extends java.lang.Object

dynamically resolves types and functions.


Field Summary
 Functions functions
           
 java.util.Map types
           
 
Constructor Summary
TypeResolver()
           
 
Method Summary
 void addFunction(Function fun)
           
 void addModule(Module module)
           
 void addType(Type type)
           
 Function getFunction(Name name, Type[] args)
           
 Type getType(Name name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

types

public java.util.Map types

functions

public Functions functions
Constructor Detail

TypeResolver

public TypeResolver()
Method Detail

getType

public Type getType(Name name)
             throws ObjectBoxException
Throws:
ObjectBoxException

getFunction

public Function getFunction(Name name,
                            Type[] args)
                     throws ObjectBoxException
Throws:
ObjectBoxException

addFunction

public void addFunction(Function fun)
                 throws ObjectBoxException
Throws:
ObjectBoxException

addType

public void addType(Type type)
             throws ObjectBoxException
Throws:
ObjectBoxException

addModule

public void addModule(Module module)
               throws ObjectBoxException
Throws:
ObjectBoxException