org.infolayer.templates.elements
Class TE_withParam
java.lang.Object
org.kxml2.kdom.Element
org.infolayer.templates.TemplateElement
org.infolayer.templates.elements.TE_withParam
- public class TE_withParam
- extends TemplateElement
The <t:withParam> element allows the transmission
of parameters to other templates, referenced by the template elements
call and the XHTML template element link.
In the target template, the parameters can be queried using the
template element <t:param.
Attributes
- expr
- An OCL Expression determining the value of the parameter.
- name
- The name of the parameter.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
eval
public OclExpression eval
name
public java.lang.String name
TE_withParam
public TE_withParam()
init
public void init()
- Overrides:
init
in class TemplateElement
apply
public void apply(XmlSerializer xw,
IlRequest context,
Bindings bindings)
throws java.io.IOException
- Description copied from class:
TemplateElement
- Applies the template mechanism. Must be overwritten in the
- Overrides:
apply
in class TemplateElement
- Throws:
java.io.IOException