com.arsdigita.bebop.jsp
Class DefineComponentImpl

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bycom.arsdigita.bebop.jsp.DefineComponent
              extended bycom.arsdigita.bebop.jsp.DefineContainer
                  extended bycom.arsdigita.bebop.jsp.DefineComponentImpl
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, Serializable, javax.servlet.jsp.tagext.Tag

public class DefineComponentImpl
extends DefineContainer

Base class for instantiating any Bebop component with JSP tags. It is usually better to make a define:... tag specific to your component class, but you may use this class instead of a specific tag for creating your component.

usage:

<define:component classname="component.class.name"/>
or
<define:component classname="component.class.name"> ...
 ...
 </define:component>

See Also:
Serialized Form

Field Summary
static String versionId
           
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
DefineComponentImpl()
           
 
Method Summary
 int doStartTag()
           
 Component getComponent()
           
 void setClassname(String s)
           
 
Methods inherited from class com.arsdigita.bebop.jsp.DefineContainer
addComponent, doAfterBody
 
Methods inherited from class com.arsdigita.bebop.jsp.DefineComponent
getName, getParentTag, setName
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
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
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

DefineComponentImpl

public DefineComponentImpl()
Method Detail

doStartTag

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

getComponent

public Component getComponent()
Specified by:
getComponent in class DefineComponent

setClassname

public void setClassname(String s)


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC