org.drools.base
Interface TypeResolver

All Known Implementing Classes:
ClassTypeResolver

public interface TypeResolver


Method Summary
 void addImport(String importEntry)
           
 String getFullTypeName(String shortName)
          This will return the fully qualified type name (including the namespace).
 Set<String> getImports()
           
 Class resolveType(String className)
           
 

Method Detail

getImports

Set<String> getImports()

addImport

void addImport(String importEntry)

resolveType

Class resolveType(String className)
                  throws ClassNotFoundException
Throws:
ClassNotFoundException

getFullTypeName

String getFullTypeName(String shortName)
                       throws ClassNotFoundException
This will return the fully qualified type name (including the namespace). Eg, if it was a pojo org.drools.Cheese, then if you passed in "Cheese" you should get back "org.drools.Cheese"

Throws:
ClassNotFoundException


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.