net.sf.jportlet.web.taglib
Class ClientAwareTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--net.sf.jportlet.web.taglib.ClientAwareTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
BodyTag, ColumnTag, HeaderTag, PageTag

public abstract class ClientAwareTag
extends javax.servlet.jsp.tagext.TagSupport

Base class of all tag that supports multi-device clients

Author:
Herve Tchepannou
See Also:
Serialized Form

Field Summary
protected  Portlet.Markup _markup
           
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
ClientAwareTag()
           
 
Method Summary
protected  int doEndHtml(javax.servlet.http.HttpServletRequest request)
           
 int doEndTag()
           
protected  int doStartHtml(javax.servlet.http.HttpServletRequest request)
           
 int doStartTag()
           
 java.lang.String getCss()
           
protected  void outputCss()
           
 void release()
           
 void setCss(java.lang.String css)
          Sets the css.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, 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
 

Field Detail

_markup

protected Portlet.Markup _markup
Constructor Detail

ClientAwareTag

public ClientAwareTag()
Method Detail

doEndHtml

protected int doEndHtml(javax.servlet.http.HttpServletRequest request)
                 throws java.io.IOException
java.io.IOException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
See Also:
Tag.doEndTag()

doStartHtml

protected int doStartHtml(javax.servlet.http.HttpServletRequest request)
                   throws java.io.IOException
java.io.IOException

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
See Also:
Tag.doStartTag()

outputCss

protected void outputCss()
                  throws java.io.IOException
java.io.IOException

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.tagext.TagSupport
See Also:
Tag.release()

getCss

public java.lang.String getCss()
Returns:
String

setCss

public void setCss(java.lang.String css)
Sets the css.

Parameters:
css - The css to set


Copyright © 2002 Herve Tchepannou. All Rights Reserved.