net.sourceforge.jfacets.web.tags
Class FacetTagSupport

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by net.sourceforge.jfacets.web.tags.FacetTagSupport
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
UseFacetTag

public class FacetTagSupport
extends javax.servlet.jsp.tagext.TagSupport

Base class for WebFacets JSP tags

Author:
VANKEISBELCK Remi - remi 'at' rvkb.com
See Also:
Serialized Form

Field Summary
 
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
FacetTagSupport()
           
 
Method Summary
protected  void checkAttributes()
          Checks if name has been supplied, and does preliminary initialization work (set to Object.class if no target type and target object supplied)
 java.lang.String getName()
           
 java.lang.String getProfileId()
           
 java.lang.Object getTargetObject()
           
 java.lang.Class getTargetObjectClass()
           
protected  void resetAttributes()
          Set all tag attributes to null.
 void setName(java.lang.String name)
           
 void setProfileId(java.lang.String profileId)
           
 void setTargetObject(java.lang.Object targetObject)
           
 void setTargetObjectClass(java.lang.Class targetObjectClass)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacetTagSupport

public FacetTagSupport()
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getProfileId

public java.lang.String getProfileId()

setProfileId

public void setProfileId(java.lang.String profileId)

getTargetObjectClass

public java.lang.Class getTargetObjectClass()

setTargetObjectClass

public void setTargetObjectClass(java.lang.Class targetObjectClass)

getTargetObject

public java.lang.Object getTargetObject()

setTargetObject

public void setTargetObject(java.lang.Object targetObject)

checkAttributes

protected void checkAttributes()
                        throws javax.servlet.jsp.JspException
Checks if name has been supplied, and does preliminary initialization work (set to Object.class if no target type and target object supplied)

Throws:
javax.servlet.jsp.JspException

resetAttributes

protected void resetAttributes()
Set all tag attributes to null.



Copyright © 2011. All Rights Reserved.