org.infolayer.templates.html
Class TE_column

java.lang.Object
  extended byorg.kxml2.kdom.Element
      extended byorg.infolayer.templates.TemplateElement
          extended byorg.infolayer.templates.html.TE_column

public class TE_column
extends TemplateElement

This element determines the content of a column in a dynamic table. It can only be used as immediate child element of the <t:table> element.

Attributes

title
The Column Title.
expr
Expression determining the content of the colum. If not present, the child elements of the colum-element are used to determine the column content. If the expr-attribute is present, the <t:column> element must be empty.
format
Used to format the result of the expr-attribute.
sortedBy
Expression determining the row order of the table if this column is selected. If not given, expr is used to determine the order.

See Also:
Serialized Form

Constructor Summary
TE_column()
           
TE_column(java.lang.String title, OclExpression content)
           
 
Method Summary
 void apply(XmlSerializer xw, IlRequest request, Bindings bindings)
          Applies the template mechanism.
 java.lang.String getTitle(IlRequest context)
           
 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_column

public TE_column()

TE_column

public TE_column(java.lang.String title,
                 OclExpression content)
Method Detail

init

public void init()
Overrides:
init in class TemplateElement

getTitle

public java.lang.String getTitle(IlRequest context)

apply

public void apply(XmlSerializer xw,
                  IlRequest request,
                  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