org.apache.taglibs.jndi
Class UseContextTag

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

public class UseContextTag
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
UseContextTag()
          Creates new UseDirContextTag
 
Method Summary
 int doEndTag()
           
 java.lang.String getAuthoritative()
          Getter for property authoritative.
 int getBatchsize()
          Getter for property batchsize.
 java.lang.Class getClassOfExportedObject()
           
 java.lang.String getDnsUrl()
          Getter for property dnsUrl.
 java.util.Hashtable getEnv()
          Getter for property env.
 java.lang.String getInitialFactory()
          Getter for property intialFactory.
 java.lang.String getObjectFactories()
          Getter for property objectFactories.
protected  java.lang.Object getObjectToExport()
           
 java.lang.String getProviderUrl()
          Getter for property providerUrl.
 java.lang.String getStateFactories()
          Getter for property stateFactories.
 java.lang.String getUrl()
          Getter for property url
 java.lang.String getUrlPkgPrefixes()
          Getter for property urlPkgPrefixes.
protected  void pullInSupplimentalAttributes()
           
 void setAuthoritative(java.lang.String authoritative)
          Setter for property authoritative.
 void setBatchsize(int batchsize)
          Setter for property batchsize.
 void setDnsUrl(java.lang.String dnsUrl)
          Setter for property dnsUrl
 void setEnv(java.util.Hashtable env)
          Setter for property env.
 void setEnvRef(java.lang.String envRef)
          Setter for property envRef.
 void setInitialFactory(java.lang.String initialFactory)
          Setter for property intialFactory.
 void setObjectFactories(java.lang.String objectFactories)
          Setter for property objectFactories.
 void setProviderUrl(java.lang.String providerUrl)
          Setter for property providerUrl.
 void setScope(java.lang.String scope)
          Setter for property scope.
 void setStateFactories(java.lang.String stateFactories)
          Setter for property stateFactories.
 void setUrl(java.lang.String url)
          Setter for property url.
 void setUrlPkgPrefixes(java.lang.String urlPkgPrefixes)
          Setter for property urlPkgPrefixes.
 void supplementFromAttributes(java.lang.String entry)
           
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, 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
 

Constructor Detail

UseContextTag

public UseContextTag()
Creates new UseDirContextTag

Method Detail

setEnvRef

public void setEnvRef(java.lang.String envRef)
Setter for property envRef.
Bad refs will be silently ignored.

Parameters:
envRef - New value of property envRef.

getEnv

public java.util.Hashtable getEnv()
Getter for property env.

Returns:
Value of property env.

setEnv

public void setEnv(java.util.Hashtable env)
Setter for property env. This copies the Hashtable in and does not mutate the hashtable passed in.

Parameters:
env - New value of property env.

getProviderUrl

public java.lang.String getProviderUrl()
Getter for property providerUrl.

Returns:
Value of property providerUrl.

setProviderUrl

public void setProviderUrl(java.lang.String providerUrl)
Setter for property providerUrl.

Parameters:
providerUrl - New value of property providerUrl.

getUrl

public java.lang.String getUrl()
Getter for property url

Returns:
Value of property url.

setUrl

public void setUrl(java.lang.String url)
Setter for property url.

Parameters:
url - New value of property url.

getInitialFactory

public java.lang.String getInitialFactory()
Getter for property intialFactory.

Returns:
Value of property intialFactory.

setInitialFactory

public void setInitialFactory(java.lang.String initialFactory)
Setter for property intialFactory.

Parameters:
intialFactory - New value of property intialFactory.

getAuthoritative

public java.lang.String getAuthoritative()
Getter for property authoritative.

Returns:
Value of property authoritative.

setAuthoritative

public void setAuthoritative(java.lang.String authoritative)
Setter for property authoritative.

Parameters:
authoritative - New value of property authoritative.

getBatchsize

public int getBatchsize()
Getter for property batchsize.

Returns:
Value of property batchsize, or -1 if not set

setBatchsize

public void setBatchsize(int batchsize)
Setter for property batchsize.

Parameters:
batchsize - New value of property batchsize.

getObjectFactories

public java.lang.String getObjectFactories()
Getter for property objectFactories.

Returns:
Value of property objectFactories.

setObjectFactories

public void setObjectFactories(java.lang.String objectFactories)
Setter for property objectFactories.

Parameters:
objectFactories - New value of property objectFactories.

getStateFactories

public java.lang.String getStateFactories()
Getter for property stateFactories.

Returns:
Value of property stateFactories.

setStateFactories

public void setStateFactories(java.lang.String stateFactories)
Setter for property stateFactories.

Parameters:
stateFactories - New value of property stateFactories.

getUrlPkgPrefixes

public java.lang.String getUrlPkgPrefixes()
Getter for property urlPkgPrefixes.

Returns:
Value of property urlPkgPrefixes.

setUrlPkgPrefixes

public void setUrlPkgPrefixes(java.lang.String urlPkgPrefixes)
Setter for property urlPkgPrefixes.

Parameters:
urlPkgPrefixes - New value of property urlPkgPrefixes.

getDnsUrl

public java.lang.String getDnsUrl()
Getter for property dnsUrl.

Returns:
Value of property dnsUrl.

setDnsUrl

public void setDnsUrl(java.lang.String dnsUrl)
Setter for property dnsUrl

Parameters:
dnsUrl - New value of property dnsUrl

supplementFromAttributes

public void supplementFromAttributes(java.lang.String entry)

setScope

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

Parameters:
scope - New value of property scope.

pullInSupplimentalAttributes

protected void pullInSupplimentalAttributes()

getObjectToExport

protected java.lang.Object getObjectToExport()
                                      throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

getClassOfExportedObject

public java.lang.Class getClassOfExportedObject()

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


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