org.infolayer.templates.elements
Class TE_withParam

java.lang.Object
  extended byorg.kxml2.kdom.Element
      extended byorg.infolayer.templates.TemplateElement
          extended byorg.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

Field Summary
 OclExpression eval
           
 java.lang.String name
           
 
Constructor Summary
TE_withParam()
           
 
Method Summary
 void apply(XmlSerializer xw, IlRequest context, Bindings bindings)
          Applies the template mechanism.
 void init()
           
 
Methods inherited from class org.infolayer.templates.TemplateElement
applyChildren, assertNoChildren, assertNoChildren, getAttributeValue, getVarDefs, readTextContent, setVarDefs, writeAttributes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eval

public OclExpression eval

name

public java.lang.String name
Constructor Detail

TE_withParam

public TE_withParam()
Method Detail

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