com.ibm.ccd.ui.tags.element
Class AttributeTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.ibm.ccd.ui.tags.element.AttributeTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
CategorySpecificAttributeTag, ImagePreviewAttributeTag, NestedAttributeTag

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

See Also:
Serialized Form

Field Summary
protected  AttributeCollectionTag attribCollTag
           
protected  java.lang.String attribname
           
protected  Attribute attribute
           
protected  java.util.Map flatAttrib
           
protected  GroupAttributeTag groupAttribTag
           
protected  GroupAttribute groupAttribute
           
protected  javax.servlet.jsp.JspWriter out
           
protected  org.apache.jetspeed.portlet.PortletConfig portletConfig
           
protected  org.apache.jetspeed.portlet.PortletRequest portletRequest
           
protected  org.apache.jetspeed.portlet.PortletURI portletURI
           
protected  javax.servlet.http.HttpSession session
           
 
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
AttributeTag()
           
 
Method Summary
 int doStartTag()
           
 java.lang.String getAttribname()
           
 java.lang.String getEditable()
           
 GroupAttribute getGroupAttribute()
           
 java.lang.String getGroupIndex()
           
 java.lang.String getParentformname()
           
 java.lang.String getPreview()
           
protected  void initilize()
           
 java.lang.String renderElement(Attribute attribute)
           
protected  java.lang.String renderElement(Attribute attribute, boolean flag)
          check for localized attribute rendering
 void setAttribname(java.lang.String string)
           
 void setEditable(java.lang.String string)
           
 void setParentformname(java.lang.String parentformname)
           
 void setPreview(java.lang.String preview)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, 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
 

Field Detail

out

protected javax.servlet.jsp.JspWriter out

flatAttrib

protected java.util.Map flatAttrib

attribname

protected java.lang.String attribname

attribute

protected Attribute attribute

groupAttribute

protected GroupAttribute groupAttribute

portletURI

protected org.apache.jetspeed.portlet.PortletURI portletURI

attribCollTag

protected AttributeCollectionTag attribCollTag

groupAttribTag

protected GroupAttributeTag groupAttribTag

session

protected javax.servlet.http.HttpSession session

portletRequest

protected org.apache.jetspeed.portlet.PortletRequest portletRequest

portletConfig

protected org.apache.jetspeed.portlet.PortletConfig portletConfig
Constructor Detail

AttributeTag

public AttributeTag()
Method Detail

initilize

protected void initilize()

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
Throws:
javax.servlet.jsp.JspException
See Also:
TagSupport.doStartTag()

renderElement

public java.lang.String renderElement(Attribute attribute)

getAttribname

public java.lang.String getAttribname()
Returns:
string

setAttribname

public void setAttribname(java.lang.String string)
Parameters:
string -

getGroupAttribute

public GroupAttribute getGroupAttribute()
Returns:
groupAttribute

getGroupIndex

public java.lang.String getGroupIndex()

renderElement

protected java.lang.String renderElement(Attribute attribute,
                                         boolean flag)
check for localized attribute rendering

Parameters:
attribute -
flag - true checks for localized attribute rendering
Returns:
string

getEditable

public java.lang.String getEditable()
Returns:
string

setEditable

public void setEditable(java.lang.String string)
Parameters:
string -

setPreview

public void setPreview(java.lang.String preview)
Parameters:
preview - The preview to set.

getPreview

public java.lang.String getPreview()
Returns:
Returns the preview.

getParentformname

public java.lang.String getParentformname()
Returns:
Returns the parentformname.

setParentformname

public void setParentformname(java.lang.String parentformname)
Parameters:
parentformname - The parentformname to set.