org.apache.jackrabbit.taglib
Class QueryTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.jstl.core.LoopTagSupport
org.apache.jackrabbit.taglib.QueryTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.jstl.core.LoopTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally
- public class QueryTag
- extends javax.servlet.jsp.jstl.core.LoopTagSupport
Iterates over the nodes returned by the given query.
- Author:
- Edgar Poce
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
TAG_NAME
tag name |
Fields inherited from class javax.servlet.jsp.jstl.core.LoopTagSupport |
begin, beginSpecified, end, endSpecified, itemId, statusId, step, stepSpecified |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Constructor Summary |
QueryTag()
Constructor |
Method Summary |
protected boolean |
hasNext()
|
protected java.lang.Object |
next()
|
protected void |
prepare()
|
void |
release()
|
void |
setLang(java.lang.String language)
Sets the query type |
void |
setSession(java.lang.String session)
Sets the session |
void |
setStmt(java.lang.String query)
Sets the query |
Methods inherited from class javax.servlet.jsp.jstl.core.LoopTagSupport |
doAfterBody, doCatch, doFinally, doStartTag, getCurrent, getLoopStatus, setVar, setVarStatus, validateBegin, validateEnd, validateStep |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
doEndTag, getParent, setPageContext, setParent |
TAG_NAME
public static java.lang.String TAG_NAME
- tag name
QueryTag
public QueryTag()
- Constructor
hasNext
protected boolean hasNext()
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
next
protected java.lang.Object next()
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
prepare
protected void prepare()
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
setSession
public void setSession(java.lang.String session)
- Sets the session
- Parameters:
session
-
release
public void release()
setStmt
public void setStmt(java.lang.String query)
- Sets the query
- Parameters:
query
-
setLang
public void setLang(java.lang.String language)
- Sets the query type
Copyright © 2005 . All Rights Reserved.