org.springframework.extensions.surf.taglib
Class AbstractObjectTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.springframework.extensions.surf.taglib.TagBase
              extended by org.springframework.extensions.surf.taglib.AbstractObjectTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
ObjectAnchorTag, ObjectEditTag, ObjectLinkTag

public abstract class AbstractObjectTag
extends TagBase

A tag that works specifically with bound objects, either explicitly or implicitly. These objects are things like: Pages Content Items External Object Types

Author:
muzquiano
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
AbstractObjectTag()
           
 
Method Summary
 String getObject()
           
 String getPage()
           
 String getPageType()
           
protected  String link(RequestContext context, String formatId)
           
protected  String link(RequestContext context, String pageTypeId, String pageId, String objectId, String formatId)
           
 void setObject(String objectId)
           
 void setPage(String pageId)
           
 void setPageType(String pageTypeId)
           
 
Methods inherited from class org.springframework.extensions.surf.taglib.TagBase
doEndTag, getOut, getPageContext, getRenderContext, getRenderService, getRequestContext, print, release, setPageContext
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, 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
getParent, setParent
 

Constructor Detail

AbstractObjectTag

public AbstractObjectTag()
Method Detail

setPage

public void setPage(String pageId)

getPage

public String getPage()

setPageType

public void setPageType(String pageTypeId)

getPageType

public String getPageType()

setObject

public void setObject(String objectId)

getObject

public String getObject()

link

protected String link(RequestContext context,
                      String formatId)

link

protected String link(RequestContext context,
                      String pageTypeId,
                      String pageId,
                      String objectId,
                      String formatId)


Copyright © 2009 SpringSource, Inc. All Rights Reserved.