|
Java 2 Platform v1.3 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.umich.visualsoar.misc.TemplateManager
This class manages/encapsulates working with templates
Field Summary | |
private java.util.Map |
templateNameFileAssoc
|
Constructor Summary | |
TemplateManager()
|
Method Summary | |
java.util.Iterator |
getTemplateNames()
|
java.lang.String |
instantiate(java.lang.String name,
edu.umich.visualsoar.operatorwindow.OperatorNode operatorNode)
Given a name and a place to start, this is instaniate a template |
void |
load(java.io.File directory)
Loads in files from the specified directory |
private java.lang.String |
lookupVariable(java.lang.String varName,
edu.umich.visualsoar.operatorwindow.OperatorNode operatorNode)
A helper function to help with variable name lookup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.Map templateNameFileAssoc
Constructor Detail |
public TemplateManager()
Method Detail |
public java.util.Iterator getTemplateNames()
public java.lang.String instantiate(java.lang.String name, edu.umich.visualsoar.operatorwindow.OperatorNode operatorNode) throws TemplateInstantiationException
name
- the name of the templateoperatorNode
- the node for which this template is being instantiated for
TemplateInstantiationException
public void load(java.io.File directory)
private java.lang.String lookupVariable(java.lang.String varName, edu.umich.visualsoar.operatorwindow.OperatorNode operatorNode) throws TemplateInstantiationException
TemplateInstantiationException
|
Java 2 Platform v1.3 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |