|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kxml2.kdom.Element org.infolayer.templates.TemplateElement org.infolayer.templates.elements.TE_variable
The <t:variable>-element declares a variable. The variable can be accessed in OCL expressions in template elements following the variable declaration. The scope of the variable ends at the closing tag of the immediate parent element. In contrast fo XSLT, it is possible to alter the value of a variable with the <t:assign>-element.
Constructor Summary | |
TE_variable()
|
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 |
Constructor Detail |
public TE_variable()
Method Detail |
public void init()
init
in class TemplateElement
public void apply(XmlSerializer xw, IlRequest context, Bindings bindings) throws java.io.IOException
TemplateElement
apply
in class TemplateElement
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |