org.infolayer.templates.html
Class TE_link

java.lang.Object
  extended byorg.kxml2.kdom.Element
      extended byorg.infolayer.templates.TemplateElement
          extended byorg.infolayer.templates.html.TE_link
All Implemented Interfaces:
Parameterized

public class TE_link
extends TemplateElement
implements Parameterized

The <t:link> element creates a hyperlink to the object denoted by the expr attribute. Other uninterpreted attributes are added to the generated <a> element.

Attributes

expr
The contained OCL expression is evaluated to determine the link address.
template
If an template attribute is present, the given template is used instead of the default template of the object.

See Also:
Serialized Form

Constructor Summary
TE_link()
           
 
Method Summary
 void addParam(TE_withParam param)
           
 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
 

Constructor Detail

TE_link

public TE_link()
Method Detail

init

public void init()
Overrides:
init in class TemplateElement

addParam

public void addParam(TE_withParam param)
Specified by:
addParam in interface Parameterized

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