com.arsdigita.bebop.jsp
Class ShowComponent

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bycom.arsdigita.bebop.jsp.ShowComponent
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, com.arsdigita.bebop.jsp.JSPConstants, Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
ShowContainer, ShowListItem, ShowSlave

public class ShowComponent
extends javax.servlet.jsp.tagext.BodyTagSupport
implements com.arsdigita.bebop.jsp.JSPConstants

Base class for JSP tag library to manipulate and display XML generated from Bebop. This allows JSP authors to show Bebop pages or components from within them within relatively "normal" JSP pages.

show:component may also be used directly in a JSP page:

 <show:component name="bebopComponent"/>
 
This will have the effect of finding an element in the XML document whose name attribute is "bebopComponent" and copying the subtree rooted at this element into the result document.

See Also:
Serialized Form

Field Summary
static String BEBOP_XMLNS
           
static String INPUT_DOC_ATTRIBUTE
           
static String INPUT_PAGE_STATE_ATTRIBUTE
           
static String SLAVE_DOC
           
static String SLAVE_INPUT_DOC
           
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
ShowComponent()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 String getName()
           
 void setName(String s)
           
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, 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

BEBOP_XMLNS

public static final String BEBOP_XMLNS
See Also:
Constant Field Values

SLAVE_DOC

public static final String SLAVE_DOC
See Also:
Constant Field Values

SLAVE_INPUT_DOC

public static final String SLAVE_INPUT_DOC
See Also:
Constant Field Values

INPUT_DOC_ATTRIBUTE

public static final String INPUT_DOC_ATTRIBUTE
See Also:
Constant Field Values

INPUT_PAGE_STATE_ATTRIBUTE

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

ShowComponent

public ShowComponent()
Method Detail

doStartTag

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

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Throws:
javax.servlet.jsp.JspException

getName

public String getName()

setName

public void setName(String s)


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