当前位置: 首页>>代码示例>>Java>>正文


Java BodyTag.SKIP_BODY属性代码示例

本文整理汇总了Java中javax.servlet.jsp.tagext.BodyTag.SKIP_BODY属性的典型用法代码示例。如果您正苦于以下问题:Java BodyTag.SKIP_BODY属性的具体用法?Java BodyTag.SKIP_BODY怎么用?Java BodyTag.SKIP_BODY使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在javax.servlet.jsp.tagext.BodyTag的用法示例。


在下文中一共展示了BodyTag.SKIP_BODY属性的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: doStartTag

/**
 * Create and expose the current RequestContext. Delegates to
 * {@link #doStartTagInternal()} for actual work.
 * 
 * @see #REQUEST_CONTEXT_PAGE_ATTRIBUTE
 * @see org.springframework.web.servlet.support.JspAwareRequestContext
 */
public final int doStartTag() 
throws JspException
{
	resolvedArtifactSourceIterator = getResolvedArtifactSourcesIterator();
	if(resolvedArtifactSourceIterator == null || !resolvedArtifactSourceIterator.hasNext())
	{
		currentResolvedArtifactSource = null;
    	if(getEmptyResultMessage() != null)
    		try{pageContext.getOut().write(getEmptyResultMessage());}
    		catch(IOException ioX){logger.error("Unable to write empty result set message.");}
    		
		return BodyTag.SKIP_BODY;
	}
	else
	{
		currentResolvedArtifactSource = resolvedArtifactSourceIterator.next();
		return BodyTag.EVAL_BODY_INCLUDE;
	}
}
 
开发者ID:VHAINNOVATIONS,项目名称:Telepathology,代码行数:26,代码来源:AbstractResolvedArtifactSourceCollectionTag.java

示例2: doStartTag

/**
 * Create and expose the current RequestContext. Delegates to
 * {@link #doStartTagInternal()} for actual work.
 * 
 * @see #REQUEST_CONTEXT_PAGE_ATTRIBUTE
 * @see org.springframework.web.servlet.support.JspAwareRequestContext
 */
public final int doStartTag() 
throws JspException
{
	urlIterator = getUrlIterator();
	if(urlIterator.hasNext())
	{
		currentUrl = urlIterator.next();
		return BodyTag.EVAL_BODY_INCLUDE;
	}
	else
	{
    	if(getEmptyResultMessage() != null)
    		try{pageContext.getOut().write(getEmptyResultMessage());}
    		catch(IOException ioX){logger.error("Unable to write empty result set message.");}
    		
		currentUrl = null;
		return BodyTag.SKIP_BODY;
	}
}
 
开发者ID:VHAINNOVATIONS,项目名称:Telepathology,代码行数:26,代码来源:AbstractUrlCollectionTag.java

示例3: doStartTag

@Override
   public int doStartTag() 
throws JspException
   {
	index = 0;
    return 
    	getListValues() == null ? BodyTag.SKIP_BODY :
    	getListValues().length < 1 ? BodyTag.SKIP_BODY :
    	BodyTag.EVAL_BODY_INCLUDE;
   }
 
开发者ID:VHAINNOVATIONS,项目名称:Telepathology,代码行数:10,代码来源:StringArrayList.java

示例4: doAfterBody

@Override
   public int doAfterBody() 
throws JspException
   {
	++index;
   	return index < getListValues().length ? 
   		BodyTag.EVAL_BODY_AGAIN :
    	BodyTag.SKIP_BODY;
   }
 
开发者ID:VHAINNOVATIONS,项目名称:Telepathology,代码行数:9,代码来源:StringArrayList.java

示例5: doStartTag

@Override
   public int doStartTag() 
throws JspException
   {
	file = getFile();
	return file == null ? BodyTag.SKIP_BODY : BodyTag.EVAL_BODY_INCLUDE;
   }
 
开发者ID:VHAINNOVATIONS,项目名称:Telepathology,代码行数:7,代码来源:AbstractJavaLogTag.java

示例6: doStartTag

@Override
   public int doStartTag() 
throws JspException
   {
	resolvedArtifactSource = getResolvedArtifactSource();
	return resolvedArtifactSource == null ? BodyTag.SKIP_BODY : BodyTag.EVAL_BODY_INCLUDE;
   }
 
开发者ID:VHAINNOVATIONS,项目名称:Telepathology,代码行数:7,代码来源:AbstractResolvedArtifactSourceTag.java

示例7: doStartTag

@Override
   public int doStartTag() 
throws JspException
   {
	artifactSource = getArtifactSource();
	return artifactSource == null ? BodyTag.SKIP_BODY : BodyTag.EVAL_BODY_INCLUDE;
   }
 
开发者ID:VHAINNOVATIONS,项目名称:Telepathology,代码行数:7,代码来源:AbstractArtifactSourceTag.java

示例8: doStartTag

@Override
   public int doStartTag() 
throws JspException
   {
	site = getSite();
	return site == null ? BodyTag.SKIP_BODY : BodyTag.EVAL_BODY_INCLUDE;
   }
 
开发者ID:VHAINNOVATIONS,项目名称:Telepathology,代码行数:7,代码来源:AbstractSiteTag.java

示例9: 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;
   }
 
开发者ID:VHAINNOVATIONS,项目名称:Telepathology,代码行数:13,代码来源:AbstractBusinessObjectCollectionTag.java

示例10: doStartTag

/**
 * @see javax.servlet.jsp.tagext.TagSupport#doStartTag()
 */
@Override
public int doStartTag() 
throws JspException
{
 return getTransactionLogStatistics() == null ? BodyTag.SKIP_BODY : BodyTag.EVAL_BODY_INCLUDE;
}
 
开发者ID:VHAINNOVATIONS,项目名称:Telepathology,代码行数:9,代码来源:TransactionLogStatisticsTag.java

示例11: doAfterBody

/**
 * 
 * @see javax.servlet.jsp.tagext.BodyTagSupport#doAfterBody()
 */
@Override
   public int doAfterBody() 
throws JspException
   {
   	return BodyTag.SKIP_BODY;
   }
 
开发者ID:VHAINNOVATIONS,项目名称:Telepathology,代码行数:10,代码来源:TransactionLogTag.java

示例12: doStartTag

@Override
public int doStartTag() throws JspException
{
	displayMap = getDisplayMap();
	if(displayMap != null && !displayMap.isEmpty())
	{
		keySetIterator = displayMap.keySet().iterator();
		return setIterator() ? BodyTag.EVAL_BODY_INCLUDE : BodyTag.SKIP_BODY;
	}
    return BodyTag.SKIP_BODY;
}
 
开发者ID:VHAINNOVATIONS,项目名称:Telepathology,代码行数:11,代码来源:AbstractMapElement.java

示例13: doStartTag

/**
 *  locates the bundle and tests whether the key has a value
 */
public int doStartTag() throws JspException
{
    int returnValue;

    // evaluate the body if a value was found, otherwise skip it
    if ( this.shouldEvaluate() ) {
        returnValue = BodyTag.EVAL_BODY_TAG;
    } else {
        returnValue = BodyTag.SKIP_BODY;
    }

    return returnValue;
}
 
开发者ID:kiegroup,项目名称:kie-uberfire-extensions,代码行数:16,代码来源:ConditionalTagSupport.java

示例14: doStartTag

public int doStartTag() throws JspException {
  if (snip == null) {
    return BodyTag.SKIP_BODY;
  }

  JspWriter out = pageContext.getOut();
  Links snipLinks = snip.getAccess().getSnipLinks();
  SnipLinks.appendTo(out, snip.getAccess().getSnipLinks(), this.width, this.start, this.end);

  return super.doStartTag();
}
 
开发者ID:thinkberg,项目名称:snipsnap,代码行数:11,代码来源:SnipLinkTag.java

示例15: doStartTag

public int doStartTag() throws JspException {
    if (snip == null) {
      return BodyTag.SKIP_BODY;
    }

    JspWriter out = pageContext.getOut();
//    Links backLinks = snip.getAccess().getBackLinks();

    BackLinks.appendTo(out, snip.getAccess().getBackLinks(), this.count);
    return super.doStartTag();
  }
 
开发者ID:thinkberg,项目名称:snipsnap,代码行数:11,代码来源:BackLinkTag.java


注:本文中的javax.servlet.jsp.tagext.BodyTag.SKIP_BODY属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。