public class IncludeTag extends AbstractSqlTag implements ISqlTag
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_HREF |
static String |
TAG_NAME |
ATTRIBUTE_NAME, ATTRIBUTE_TYPE, id, languageType, log| Constructor and Description |
|---|
IncludeTag(String id,
LanguageType lanaguageType)
Build a new
include tag from XML file. |
| Modifier and Type | Method and Description |
|---|---|
String |
getSql(Object params)
Retrieve dynamic sql from a node, the dynamic parts is evaluated at time
to create the sql.
|
SqlCommandType |
getSqlCommandType()
Command type to execute.
|
String |
getTagName()
Retrieve the tag name.
|
addTag, addTag, addTag, getLanguageType, getName, getSqlclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTag, addTag, addTag, getNamegetLanguageType, getSqlpublic static final String TAG_NAME
public static final String ATTRIBUTE_HREF
public IncludeTag(String id, LanguageType lanaguageType)
include tag from XML file.id - Name/Identify from tag.languageType - type of language from tag.public String getSql(Object params)
AbstractSqlTaggetSql in interface ISqlgetSql in class AbstractSqlTagparams - parameters to evaluate dynamic sql, can be a object like
Author, Book, etc or a java.util.Map where yours keys is like
the properties.public String getTagName()
getTagName in interface ISqlTaginclude.public SqlCommandType getSqlCommandType()
getSqlCommandType in interface ISqlUNKNOW.Copyright © 2015 jkniv. All rights reserved.