org.rythmengine.template
Interface ITag

All Known Subinterfaces:
ITemplate
All Known Implementing Classes:
JavaTagBase, TagBase, TemplateBase, ToStringTemplateBase

public interface ITag

Define a tag interface.


Nested Class Summary
static class ITag.__Body
          Defines a tag body type
static class ITag.__Parameter
          A datastructure to store tag calling parameter
static class ITag.__ParameterList
          A list of ITag.__Parameter
 
Method Summary
 void __call(int line)
          Call this tag
 String __getName()
          Get the tag name
 ITag __setBodyContext(ITag.__Body body)
          Set body context and return this tag
 

Method Detail

__getName

String __getName()
Get the tag name

Returns:
tag name

__setBodyContext

ITag __setBodyContext(ITag.__Body body)
Set body context and return this tag

Parameters:
body -
Returns:
this tag

__call

void __call(int line)
Call this tag

Parameters:
line - the number of the caller template line which invoke this tag


Copyright © 2013. All Rights Reserved.