org.infolayer.templates.elements
Class TE_include
java.lang.Object
org.kxml2.kdom.Element
org.infolayer.templates.TemplateElement
org.infolayer.templates.ParameterizedElement
org.infolayer.templates.elements.TE_include
- All Implemented Interfaces:
- Parameterized
- public class TE_include
- extends ParameterizedElement
The <include>-element inserts the file
denoted by the file attribute. Template
processing is continued with the given file instead
of any child elements. <param> child elements
can be used to hand parameters over to the included
file. The current evaluation context is handed over
automatically. For including templates based on the
context type dynamically, please use the <t:eval>
attribute and specify the template name in the format
attribute.
Attributes
- file
- Name of the file to be included
Restrictions for Child Elements
Only <t:param> child elements are allowed.
- See Also:
- Serialized Form
Method Summary |
void |
apply(XmlSerializer xw,
IlRequest context,
Bindings bindings)
Applies the template mechanism. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TE_include
public TE_include()
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