|
|||||||||
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 atg.droplet.EventSender atg.droplet.AnchorTag
public class AnchorTag
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
static java.lang.String |
TAG_NAME
|
Constructor Summary | |
---|---|
AnchorTag()
|
|
AnchorTag(java.lang.String pAnchorId,
DropletEventServlet pServlet)
|
|
AnchorTag(java.lang.String pAnchorId,
DropletEventServlet pServlet,
TagConverter pConverter,
java.util.Properties pConverterArgs)
|
Method Summary | |
---|---|
void |
addHref(java.lang.String pHref)
Adds a new action/anchor to the list |
java.lang.String |
getComponentPath()
Return the path name of the component |
TagConverter |
getConverter()
The converter to apply to any set accesses to this value |
java.util.Properties |
getConverterArgs()
The arguments for the converter |
java.lang.String |
getDefault()
|
java.lang.String |
getHref()
|
java.util.Set |
getHrefList()
Returns the hrefList |
java.lang.String |
getName()
Since anchor's only have a single property value, we don't need to have unique names for them. |
int[][] |
getPathDims()
Return the name of the property for the component |
java.lang.String[] |
getPathNames()
Return the name of the property for the component |
java.lang.String |
getPropertyPath()
Return the complete path name of the property |
boolean |
getRequiresSessionConfirmation()
Whether this form requires session confirmation. |
java.lang.String |
getSubmitValue()
|
java.lang.String |
getTagName()
Returns the name of this tag or null if no name has been specified. |
boolean |
hasHref(java.lang.String pHref)
Returns true if the href is exists, false if not. |
boolean |
isImage()
Is this handler expecting an image expecting .x and .y args? |
int |
numHrefs()
Returns the number of hrefs |
void |
service(DynamoHttpServletRequest pReq,
DynamoHttpServletResponse pRes)
Renders the tag and its content |
void |
setHref(java.lang.String pHref)
|
void |
setName(java.lang.String pName)
|
void |
setPathDims(int[][] pPathDims)
Sets the list of dimensions. |
void |
setPathNames(java.lang.String[] pPathNames)
Sets the list of path names. |
void |
setPropertyPath(java.lang.String pPropertyPath)
Sets the complete path to find the property |
void |
setRequiresSessionConfirmation(boolean pRequiresSessionConfirmation)
Whether this form requires session confirmation. |
Methods inherited from class atg.droplet.EventSender |
---|
getImageRequestValue, getRequestValue |
Methods inherited from class atg.droplet.ComplexTag |
---|
addContent, addContent, addContent, getContent, serviceContent, setContent |
Methods inherited from class atg.droplet.Tag |
---|
getAttribute, getAttributes, 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
public static final java.lang.String TAG_NAME
Constructor Detail |
---|
public AnchorTag()
public AnchorTag(java.lang.String pAnchorId, DropletEventServlet pServlet)
public AnchorTag(java.lang.String pAnchorId, DropletEventServlet pServlet, TagConverter pConverter, java.util.Properties pConverterArgs)
Method Detail |
---|
public java.lang.String getDefault()
getDefault
in interface EventReceiver
public java.lang.String getSubmitValue()
getSubmitValue
in interface EventReceiver
public boolean isImage()
EventReceiver
isImage
in interface EventReceiver
public java.lang.String getName()
getName
in interface EventReceiver
public void setName(java.lang.String pName)
public java.lang.String getTagName()
Tag
getTagName
in class Tag
public java.lang.String getHref()
public void setHref(java.lang.String pHref)
public java.lang.String getPropertyPath()
getPropertyPath
in interface EventReceiver
public void setPropertyPath(java.lang.String pPropertyPath) throws DropletException
DropletException
public java.lang.String[] getPathNames()
getPathNames
in interface EventReceiver
public int[][] getPathDims()
getPathDims
in interface EventReceiver
public void setPathNames(java.lang.String[] pPathNames)
setPathNames
in interface EventReceiver
public void setPathDims(int[][] pPathDims)
setPathDims
in interface EventReceiver
public java.lang.String getComponentPath()
getComponentPath
in interface EventReceiver
public void setRequiresSessionConfirmation(boolean pRequiresSessionConfirmation)
public boolean getRequiresSessionConfirmation()
public void addHref(java.lang.String pHref)
pActionURL
- the action to be addedpublic boolean hasHref(java.lang.String pHref)
public int numHrefs()
public java.util.Set getHrefList()
public void service(DynamoHttpServletRequest pReq, DynamoHttpServletResponse pRes) throws javax.servlet.ServletException, java.io.IOException
service
in class ComplexTag
javax.servlet.ServletException
java.io.IOException
public TagConverter getConverter()
EventReceiver
getConverter
in interface EventReceiver
public java.util.Properties getConverterArgs()
EventReceiver
getConverterArgs
in interface EventReceiver
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |