本文整理汇总了Java中javax.servlet.jsp.tagext.IterationTag.EVAL_BODY_AGAIN属性的典型用法代码示例。如果您正苦于以下问题:Java IterationTag.EVAL_BODY_AGAIN属性的具体用法?Java IterationTag.EVAL_BODY_AGAIN怎么用?Java IterationTag.EVAL_BODY_AGAIN使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类javax.servlet.jsp.tagext.IterationTag
的用法示例。
在下文中一共展示了IterationTag.EVAL_BODY_AGAIN属性的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: doAfterBody
@Override
public int doAfterBody()
throws JspException
{
if(artifactSourceIterator.hasNext())
{
currentResolvedArtifactSource = artifactSourceIterator.next();
currentArtifactSource = currentResolvedArtifactSource.getArtifactSource();
return IterationTag.EVAL_BODY_AGAIN;
}
else
{
currentResolvedArtifactSource = null;
currentArtifactSource = null;
return IterationTag.SKIP_BODY;
}
}
示例2: getProcessStatus
protected ProcessStatus getProcessStatus(int status, boolean doStart) {
if (status == Tag.EVAL_BODY_INCLUDE) {
return _forceBodySkip
? ProcessStatus.SKIP_BODY
: ProcessStatus.EVAL_BODY_INCLUDE;
} else if (status == Tag.SKIP_BODY) {
return ProcessStatus.SKIP_BODY;
} else if (status == Tag.EVAL_PAGE) {
return ProcessStatus.EVAL_PAGE;
} else if (status == Tag.SKIP_PAGE) {
return ProcessStatus.SKIP_PAGE;
} else if (!doStart && status == IterationTag.EVAL_BODY_AGAIN) {
return ProcessStatus.EVAL_BODY_AGAIN;
} else if (doStart && status == BodyTag.EVAL_BODY_BUFFERED) {
return _forceBodySkip
? ProcessStatus.SKIP_BODY
: ProcessStatus.EVAL_BODY_BUFFERED;
}
throw new IllegalArgumentException();
}
示例3: doAfterBody
@Override
public int doAfterBody()
throws JspException
{
++index;
return isAppendAllElement() ?
index <= values.length ? IterationTag.EVAL_BODY_AGAIN : Tag.SKIP_BODY :
index < values.length ? IterationTag.EVAL_BODY_AGAIN : Tag.SKIP_BODY;
}
示例4: doAfterBody
@Override
public int doAfterBody()
throws JspException
{
++index;
return index < values.length ? IterationTag.EVAL_BODY_AGAIN : Tag.SKIP_BODY;
}
示例5: doAfterBody
@Override
public int doAfterBody()
throws JspException
{
if( patientIterator.hasNext() )
{
currentPatient = patientIterator.next();
return IterationTag.EVAL_BODY_AGAIN;
}
else
{
currentPatient = null;
return IterationTag.SKIP_BODY;
}
}
示例6: doAfterBody
@Override
public int doAfterBody()
throws JspException
{
if(fileIterator.hasNext())
{
currentFile = fileIterator.next();
return IterationTag.EVAL_BODY_AGAIN;
}
else
{
currentFile = null;
return IterationTag.SKIP_BODY;
}
}
示例7: doAfterBody
@Override
public int doAfterBody()
throws JspException
{
if(resolvedArtifactSourceIterator.hasNext())
{
currentResolvedArtifactSource = resolvedArtifactSourceIterator.next();
return IterationTag.EVAL_BODY_AGAIN;
}
else
{
currentResolvedArtifactSource = null;
return IterationTag.SKIP_BODY;
}
}
开发者ID:VHAINNOVATIONS,项目名称:Telepathology,代码行数:15,代码来源:AbstractResolvedArtifactSourceCollectionTag.java
示例8: doAfterBody
@Override
public int doAfterBody()
throws JspException
{
if(siteIterator.hasNext())
{
currentSite = siteIterator.next();
return IterationTag.EVAL_BODY_AGAIN;
}
else
{
currentSite = null;
return IterationTag.SKIP_BODY;
}
}
示例9: doAfterBody
@Override
public int doAfterBody()
throws JspException
{
if(urlIterator.hasNext())
{
currentUrl = urlIterator.next();
return IterationTag.EVAL_BODY_AGAIN;
}
else
{
currentUrl = null;
return IterationTag.SKIP_BODY;
}
}
示例10: doAfterBody
@Override
public int doAfterBody()
throws JspException
{
Iterator<T> boIterator = getBusinessObjectCollectionIterator();
if( boIterator != null && boIterator.hasNext() )
{
currentBusinessObject = boIterator.next();
return IterationTag.EVAL_BODY_AGAIN;
}
currentBusinessObject = null;
return BodyTag.SKIP_BODY;
}
示例11: doAfterBody
@Override
public int doAfterBody() throws JspException {
// TODO Auto-generated method stub
x--;
if(x>0){
return IterationTag.EVAL_BODY_AGAIN;
}else{
return IterationTag.SKIP_BODY;
}
}
示例12: doAfterBody
@Override
public int doAfterBody()
throws JspException
{
return getSeriesIterator().hasNext() ? IterationTag.EVAL_BODY_AGAIN : IterationTag.SKIP_BODY;
}
示例13: doAfterBody
@Override
public int doAfterBody()
throws JspException
{
return getImageIterator().hasNext() ? IterationTag.EVAL_BODY_AGAIN : IterationTag.SKIP_BODY;
}