Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


oracle.stellent.wcm.javaee.taglib
Class BaseTag<T extends SiteRequest>

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by oracle.stellent.wcm.javaee.taglib.BaseTag<T>

All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag
Direct Known Subclasses:
DataFileTag, DynamicListTag, ElementTag, IdcServiceTag, MetadataTag, PlaceholderTag, StaticPlaceholderTag, UrlTag

public abstract class BaseTag<T extends SiteRequest>
extends javax.servlet.jsp.tagext.SimpleTagSupport

Generic tag implementation that invokes a WCM Command object


Field Summary
protected  ILog m_log
           

 

Constructor Summary
BaseTag()
           

 

Method Summary
protected  boolean beforeScriptEvaluation()
          Allow sub-classes to handle the response
protected abstract  SiteRequestInvoker<T> createSiteRequestInvoker()
           
 void doTag()
          Evaluate the placeholder tag
protected  ClientApplication getClientApplication()
           
protected  SiteRequestInvoker<T> getSiteRequestInvoker()
           
protected  javax.servlet.jsp.tagext.JspFragment getViewBody()
           
protected  boolean isUseJspBody()
           
protected abstract  void populateSiteRequest()
          Populate the site request object from the tag parameters

 

Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

m_log

protected ILog m_log

Constructor Detail

BaseTag

public BaseTag()

Method Detail

getClientApplication

protected ClientApplication getClientApplication()
                                          throws ApplicationException
Throws:
ApplicationException

getSiteRequestInvoker

protected SiteRequestInvoker<T> getSiteRequestInvoker()
                                                                   throws ApplicationException
Returns:
the request invoker
Throws:
ApplicationException

createSiteRequestInvoker

protected abstract SiteRequestInvoker<T> createSiteRequestInvoker()
                                                                               throws ApplicationException
Returns:
the type of request
Throws:
ApplicationException

populateSiteRequest

protected abstract void populateSiteRequest()
                                     throws ApplicationException
Populate the site request object from the tag parameters
Throws:
ApplicationException

doTag

public void doTag()
           throws javax.servlet.jsp.JspException,
                  java.io.IOException
Evaluate the placeholder tag
Specified by:
doTag in interface javax.servlet.jsp.tagext.SimpleTag
Overrides:
doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
Throws:
javax.servlet.jsp.JspException
java.io.IOException

getViewBody

protected javax.servlet.jsp.tagext.JspFragment getViewBody()
Returns:
the jsp fragment to render the view; default to returning the value of SimpleTagSupport.getJspBody()

beforeScriptEvaluation

protected boolean beforeScriptEvaluation()
                                  throws ApplicationException
Allow sub-classes to handle the response
Returns:
it true then the evaluation continues
Throws:
ApplicationException

isUseJspBody

protected boolean isUseJspBody()
Returns:
determine if we should use the JSP body into the response handler

Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.