public class IncludeTag extends AbstractSqlTag implements SqlTag
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_HREF |
static String |
TAG_NAME |
ATTRIBUTE_BATCH, ATTRIBUTE_CACHE, ATTRIBUTE_GROUP_BY, ATTRIBUTE_HINT, ATTRIBUTE_ISOLATION, ATTRIBUTE_NAME, ATTRIBUTE_RESULTSET_CONCURRENCY, ATTRIBUTE_RESULTSET_HOLDABILITY, ATTRIBUTE_RESULTSET_TYPE, ATTRIBUTE_RETURN_TYPE, ATTRIBUTE_TIMEOUT, ATTRIBUTE_TYPE, ATTRIBUTE_VALIDATION, id, languageType, NOT_NULL
Constructor and Description |
---|
IncludeTag(String id,
LanguageType languageType)
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.
|
SqlType |
getSqlType()
Command type to execute.
|
String |
getTagName()
Retrieve the tag name.
|
addTag, addTag, addTag, asDeletable, asInsertable, asSelectable, asStorable, asUpdateable, bind, equals, extractNames, extractNames, getIsolation, getLanguageType, getName, getPackage, getParamParser, getResourceName, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getReturnType, getReturnTypeAsClass, getSql, getSqlDialect, getStats, getTimeout, getTimestamp, getValidateType, getXPath, hashCode, hasReturnType, isDeletable, isInsertable, isSelectable, isStorable, isUpdateable, setIsolation, setPackage, setResourceName, setResultSetConcurrency, setResultSetHoldability, setResultSetType, setResultType, setStats, setTimeout, setValidateType, setXpath
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addTag, addTag, addTag, getName, setPackage, setResourceName, setXpath
asDeletable, asInsertable, asSelectable, asStorable, asUpdateable, bind, extractNames, extractNames, getIsolation, getLanguageType, getPackage, getParamParser, getResourceName, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getReturnType, getReturnTypeAsClass, getSql, getSqlDialect, getStats, getTimeout, getTimestamp, getValidateType, getXPath, hasReturnType, isDeletable, isInsertable, isSelectable, isStorable, isUpdateable, setValidateType
public static final String TAG_NAME
public static final String ATTRIBUTE_HREF
public IncludeTag(String id, LanguageType languageType)
include
tag from XML file.id
- Name/Identify from taglanguageType
- type of language from tagpublic String getSql(Object params)
AbstractSqlTag
getSql
in interface Sql
getSql
in class AbstractSqlTag
params
- 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 SqlTag
include
.public SqlType getSqlType()
getSqlType
in interface Sql
UNKNOW
.Copyright © 2012–2020 jkniv, copyleft code. All rights reserved.