|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet atg.droplet.Tag atg.droplet.ComplexTag
public class ComplexTag
This class both serves as the base class for any tags that contain content and also can be used to dynamically render any HTML object.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
ComplexTag()
|
Method Summary | |
---|---|
void |
addContent(javax.servlet.Servlet pServlet)
Adds a Servlet to the content for this tag. |
void |
addContent(java.lang.String pContent)
Adds a String to the content for this tag. |
void |
addContent(Tag pTag)
Adds a Tag to the content for this tag. |
java.util.Vector |
getContent()
Returns the value of Content property. |
void |
service(DynamoHttpServletRequest pReq,
DynamoHttpServletResponse pRes)
Renders the tag and its content |
protected void |
serviceContent(DynamoHttpServletRequest pReq,
DynamoHttpServletResponse pRes)
This method just renders the content. |
void |
setContent(java.util.Vector pContent)
Sets the Content Vector. |
Methods inherited from class atg.droplet.Tag |
---|
getAttribute, getAttributes, getTagName, service, serviceAttributes, setAttribute, setAttributes, setTagName |
Methods inherited from class javax.servlet.GenericServlet |
---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public ComplexTag()
Method Detail |
---|
public void setContent(java.util.Vector pContent)
addContent(javax.servlet.Servlet)
public java.util.Vector getContent()
public void addContent(javax.servlet.Servlet pServlet)
public void addContent(Tag pTag)
public void addContent(java.lang.String pContent)
public void service(DynamoHttpServletRequest pReq, DynamoHttpServletResponse pRes) throws javax.servlet.ServletException, java.io.IOException
service
in class Tag
javax.servlet.ServletException
java.io.IOException
protected void serviceContent(DynamoHttpServletRequest pReq, DynamoHttpServletResponse pRes) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |