org.apache.taglibs.jndi
Class SearchTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.apache.taglibs.jndi.SearchTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag

public class SearchTag
extends javax.servlet.jsp.tagext.BodyTagSupport

Version:
$Revision$
Author:
Danno Ferrin
See Also:
Serialized Form

Field Summary
 
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
SearchTag()
          Creates new SearchTag
 
Method Summary
static int decodeScope(java.lang.String scope)
           
static java.lang.String decodeSearchScope(int scope)
           
static int decodeSearchScope(java.lang.String scope)
           
 int doAfterBody()
           
 int doEndTag()
           
 void doInitBody()
           
 int doStartTag()
           
 java.lang.String getAttributes()
          Getter for property attributes.
 java.lang.String getAttributeSeparator()
          Getter for property attributeSeparator.
 boolean getBindings()
          Getter for property bindings.
 javax.naming.directory.DirContext getContext()
          Getter for property context.
 long getCountLimit()
          Getter for property countLimit.
 boolean getDerefLink()
          Getter for property derefLink.
 java.lang.String getFilter()
          Getter for property filter.
 java.lang.String getName()
          Getter for property `.
 javax.naming.Name getNameObject()
          Getter for property nameObject.
 java.lang.String getSearchScope()
          Getter for property searchScope.
 int getTimeLimit()
          Getter for property timeLimit.
 void setAttributes(java.lang.String attributes)
          Setter for property attributes.
 void setAttributeSeparator(java.lang.String attributeSeparator)
          Setter for property attributeSeparator.
 void setBindings(boolean bindings)
          Setter for property bindings.
 void setContext(javax.naming.directory.DirContext context)
          Setter for property context.
 void setContextRef(java.lang.String contextRef)
          Setter for property contextRef.
 void setCountLimit(long countLimit)
          Setter for property countLimit.
 void setDerefLink(boolean derefLink)
          Setter for property derefLink.
 void setFilter(java.lang.String filter)
          Setter for property filter.
 void setName(java.lang.String name)
          Setter for property name.
 void setNameObject(javax.naming.Name nameObject)
          Setter for property nameObject.
 void setPageContext(javax.servlet.jsp.PageContext pc)
           
 void setScope(java.lang.String scope)
          Setter for property scope.
 void setSearchScope(java.lang.String searchScope)
          Setter for property searchScope.
 void setTimeLimit(int timeLimit)
          Setter for property timeLimit.
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, 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, setParent
 

Constructor Detail

SearchTag

public SearchTag()
Creates new SearchTag

Method Detail

setPageContext

public void setPageContext(javax.servlet.jsp.PageContext pc)
Specified by:
setPageContext in interface javax.servlet.jsp.tagext.Tag
Overrides:
setPageContext in class javax.servlet.jsp.tagext.TagSupport

setScope

public void setScope(java.lang.String scope)
Setter for property scope.

Parameters:
Scope - New value of property scope.

getContext

public javax.naming.directory.DirContext getContext()
Getter for property context.

Returns:
Value of property context.

setContext

public void setContext(javax.naming.directory.DirContext context)
Setter for property context.

Parameters:
context - New value of property context.

setContextRef

public void setContextRef(java.lang.String contextRef)
Setter for property contextRef.

Parameters:
contextRef - New value of property contextRef.

getName

public java.lang.String getName()
Getter for property `.

Returns:
Value of property name.

setName

public void setName(java.lang.String name)
Setter for property name.

Parameters:
name - New value of property name.

getNameObject

public javax.naming.Name getNameObject()
Getter for property nameObject.

Returns:
Value of property nameObject.

setNameObject

public void setNameObject(javax.naming.Name nameObject)
Setter for property nameObject.

Parameters:
nameObject - New value of property nameObject.

getFilter

public java.lang.String getFilter()
Getter for property filter.

Returns:
Value of property filter.

setFilter

public void setFilter(java.lang.String filter)
Setter for property filter.

Parameters:
filter - New value of property filter.

getCountLimit

public long getCountLimit()
Getter for property countLimit.

Returns:
Value of property countLimit.

setCountLimit

public void setCountLimit(long countLimit)
Setter for property countLimit.

Parameters:
countLimit - New value of property countLimit.

getDerefLink

public boolean getDerefLink()
Getter for property derefLink.

Returns:
Value of property derefLink.

setDerefLink

public void setDerefLink(boolean derefLink)
Setter for property derefLink.

Parameters:
derefLink - New value of property derefLink.

getAttributes

public java.lang.String getAttributes()
Getter for property attributes.

Returns:
Value of property attributes.

setAttributes

public void setAttributes(java.lang.String attributes)
Setter for property attributes.

Parameters:
attributes - New value of property attributes.

getAttributeSeparator

public java.lang.String getAttributeSeparator()
Getter for property attributeSeparator.

Returns:
Value of property attrbuteSeparator.

setAttributeSeparator

public void setAttributeSeparator(java.lang.String attributeSeparator)
Setter for property attributeSeparator.

Parameters:
attrbuteSeparator - New value of property attrbuteSeparator.

getBindings

public boolean getBindings()
Getter for property bindings.

Returns:
Value of property bindings.

setBindings

public void setBindings(boolean bindings)
Setter for property bindings.

Parameters:
bindings - New value of property bindings.

getSearchScope

public java.lang.String getSearchScope()
Getter for property searchScope.

Returns:
Value of property searchScope.

setSearchScope

public void setSearchScope(java.lang.String searchScope)
Setter for property searchScope.

Parameters:
searchScope - New value of property searchScope.

getTimeLimit

public int getTimeLimit()
Getter for property timeLimit.

Returns:
Value of property timeLimit.

setTimeLimit

public void setTimeLimit(int timeLimit)
Setter for property timeLimit.

Parameters:
timeLimit - New value of property timeLimit.

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.BodyTagSupport
Throws:
javax.servlet.jsp.JspException

doInitBody

public void doInitBody()
Specified by:
doInitBody in interface javax.servlet.jsp.tagext.BodyTag
Overrides:
doInitBody in class javax.servlet.jsp.tagext.BodyTagSupport

doAfterBody

public int doAfterBody()
Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
Overrides:
doAfterBody in class javax.servlet.jsp.tagext.BodyTagSupport

doEndTag

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

decodeSearchScope

public static int decodeSearchScope(java.lang.String scope)

decodeSearchScope

public static java.lang.String decodeSearchScope(int scope)

decodeScope

public static int decodeScope(java.lang.String scope)


Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.