|
|||||||||
| Home >> All >> org >> mrd >> jelly >> [ repast overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mrd.jelly.repast
Class ModelTag

java.lang.Objectorg.apache.commons.jelly.TagSupport
org.mrd.jelly.repast.ModelTag
- All Implemented Interfaces:
- org.apache.commons.jelly.Tag
- public class ModelTag
- extends org.apache.commons.jelly.TagSupport
| Field Summary | |
protected java.lang.ClassLoader |
classLoader
|
private BaseController |
controller
Holds value of property controller. |
protected org.apache.commons.logging.Log |
log
|
private SimModelWrapper |
model
Holds value of property model. |
private org.apache.commons.jelly.JellyContext |
modelContext
The local context that will be used to make it easy of nested tags to locate the model. |
private java.lang.String |
type
The Class type that implements the SimModel Interface. |
private java.lang.String |
var
Variable the model is stored under in the context. |
| Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
| Constructor Summary | |
ModelTag()
|
|
ModelTag(boolean arg0)
|
|
| Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput xMLOutput)
Called by doTag(...). |
java.lang.ClassLoader |
getClassLoader()
An alternate classloader may be used to load the model. |
BaseController |
getController()
The controller that will be used to launch the model. |
java.lang.String |
getType()
The fully qualified class name of the model that will be instantiated. |
java.lang.String |
getVar()
The variable name this model will be stored in the context under. |
void |
setClassLoader(java.lang.ClassLoader classLoader)
An alternate classloader may be used to load the model. |
void |
setController(BaseController controller)
The controller that will be used to launch the model. |
void |
setType(java.lang.String type)
The fully qualified class name of the model that will be instantiated. |
void |
setVar(java.lang.String var)
The variable name this model will be stored in the context under. |
| Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
log
protected org.apache.commons.logging.Log log
classLoader
protected java.lang.ClassLoader classLoader
controller
private BaseController controller
- Holds value of property controller.
model
private SimModelWrapper model
- Holds value of property model.
type
private java.lang.String type
- The Class type that implements the SimModel Interface.
var
private java.lang.String var
- Variable the model is stored under in the context.
modelContext
private org.apache.commons.jelly.JellyContext modelContext
- The local context that will be used to make it easy of nested tags to locate the model.
| Constructor Detail |
ModelTag
public ModelTag()
ModelTag
public ModelTag(boolean arg0)
| Method Detail |
doTag
public void doTag(org.apache.commons.jelly.XMLOutput xMLOutput) throws org.apache.commons.jelly.MissingAttributeException, org.apache.commons.jelly.JellyTagException
- Called by doTag(...). Used to check if the appropriate attributes have
been filled out.
getClassLoader
public java.lang.ClassLoader getClassLoader()
- An alternate classloader may be used to load the model.
Optional.
setClassLoader
public void setClassLoader(java.lang.ClassLoader classLoader)
- An alternate classloader may be used to load the model.
Optional.
getType
public java.lang.String getType()
- The fully qualified class name of the model that will be instantiated.
Required.
getVar
public java.lang.String getVar()
- The variable name this model will be stored in the context under.
Required.
setType
public void setType(java.lang.String type)
- The fully qualified class name of the model that will be instantiated.
Required
setVar
public void setVar(java.lang.String var)
- The variable name this model will be stored in the context under.
Required.
getController
public BaseController getController()
- The controller that will be used to launch the model.
Optional if the model tag is nested inside a controller tag
setController
public void setController(BaseController controller)
- The controller that will be used to launch the model.
Optional if the model tag is nested inside a controller tag.
|
|||||||||
| Home >> All >> org >> mrd >> jelly >> [ repast overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC