org.infolayer.templates.elements
Class TE_attribute

java.lang.Object
  extended byorg.kxml2.kdom.Element
      extended byorg.infolayer.templates.TemplateElement
          extended byorg.infolayer.templates.elements.TE_attribute

public class TE_attribute
extends TemplateElement

The <t:attribute> element generates an XML attribute for a previous <t:element>-element, or for a literal XML element embedded in the template source code. The content of the attribute-element is used to determine the value of the attribute.

Attributes

name
The name of the generated attribute
namespace
The namespace of the generated attribute

See Also:
Serialized Form

Constructor Summary
TE_attribute()
           
 
Method Summary
 void apply(XmlSerializer xw, IlRequest request, 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_attribute

public TE_attribute()
Method Detail

init

public void init()
Overrides:
init in class TemplateElement

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