Author: bayard
Date: Sat Jan  3 17:45:31 2009
New Revision: 731154

URL: http://svn.apache.org/viewvc?rev=731154&view=rev
Log:
Migrated to M2

Added:
    jakarta/taglibs/proper/jndi/trunk/LICENSE.txt
      - copied unchanged from r731146, 
jakarta/taglibs/proper/string/trunk/LICENSE.txt
    jakarta/taglibs/proper/jndi/trunk/NOTICE.txt
      - copied, changed from r731146, 
jakarta/taglibs/proper/string/trunk/NOTICE.txt
    jakarta/taglibs/proper/jndi/trunk/pom.xml   (with props)
    jakarta/taglibs/proper/jndi/trunk/src/assembly/
      - copied from r731146, jakarta/taglibs/proper/string/trunk/src/assembly/
    jakarta/taglibs/proper/jndi/trunk/src/changes/
    jakarta/taglibs/proper/jndi/trunk/src/changes/changes.xml   (with props)
    jakarta/taglibs/proper/jndi/trunk/src/main/
    jakarta/taglibs/proper/jndi/trunk/src/main/resources/
    jakarta/taglibs/proper/jndi/trunk/src/main/resources/META-INF/
    
jakarta/taglibs/proper/jndi/trunk/src/main/resources/META-INF/taglibs-jndi.tld  
 (with props)
    jakarta/taglibs/proper/jndi/trunk/xdocs/
    jakarta/taglibs/proper/jndi/trunk/xdocs/index.xml   (with props)
Removed:
    jakarta/taglibs/proper/jndi/trunk/build.xml
    jakarta/taglibs/proper/jndi/trunk/doc/
    jakarta/taglibs/proper/jndi/trunk/xml/

Copied: jakarta/taglibs/proper/jndi/trunk/NOTICE.txt (from r731146, 
jakarta/taglibs/proper/string/trunk/NOTICE.txt)
URL: 
http://svn.apache.org/viewvc/jakarta/taglibs/proper/jndi/trunk/NOTICE.txt?p2=jakarta/taglibs/proper/jndi/trunk/NOTICE.txt&p1=jakarta/taglibs/proper/string/trunk/NOTICE.txt&r1=731146&r2=731154&rev=731154&view=diff
==============================================================================
--- jakarta/taglibs/proper/string/trunk/NOTICE.txt (original)
+++ jakarta/taglibs/proper/jndi/trunk/NOTICE.txt Sat Jan  3 17:45:31 2009
@@ -1,5 +1,5 @@
-Apache Jakarta String Taglib
-Copyright 2001-2009 The Apache Software Foundation
+Apache Jakarta JNDI Taglib
+Copyright 2000-2009 The Apache Software Foundation
 
 This product includes software developed by
 The Apache Software Foundation (http://www.apache.org/).

Added: jakarta/taglibs/proper/jndi/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/jakarta/taglibs/proper/jndi/trunk/pom.xml?rev=731154&view=auto
==============================================================================
--- jakarta/taglibs/proper/jndi/trunk/pom.xml (added)
+++ jakarta/taglibs/proper/jndi/trunk/pom.xml Sat Jan  3 17:45:31 2009
@@ -0,0 +1,81 @@
+<?xml version="1.0"?>
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+<!-- TODO:
+    Generate the doc war
+    Generate the examples war
+-->
+<project
+    xmlns="http://maven.apache.org/POM/4.0.0";
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.taglibs</groupId>
+    <artifactId>taglibs-parent</artifactId>
+    <version>1-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>jndi-taglib</artifactId>
+  <version>1.1.1-SNAPSHOT</version>
+  <name>Jakarta JNDI Taglib</name>
+
+  <inceptionYear>2000</inceptionYear>
+  <description>
+     The JNDI Tag Library creates an instance of a javax.naming.Context based 
on the values
+     of the attributes providing some of the standard values.  In addition to 
the 
+     System properties and the jndi.properties, some standard properties are 
+     scanned in the pageContext attributes.
+  </description>
+
+  <url>http://jakarta.apache.org/taglibs/doc/jndi-doc/intro.html</url>
+
+  <scm>
+    
<connection>scm:svn:http://svn.apache.org/repos/asf/jakarta/taglibs/proper/jndi/trunk</connection>
+    
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/jakarta/taglibs/proper/jndi/trunk</developerConnection>
+    <url>http://svn.apache.org/viewvc/jakarta/taglibs/proper/jndi/trunk</url>
+  </scm>
+
+  <developers>
+    <developer>
+      <name>Danno Ferrin</name>
+    </developer>
+    <developer>
+      <name>Glenn Nielsen</name>
+      <id>glenn</id>
+    </developer>
+    <developer>
+      <name>Mark Diggory</name>
+    </developer>
+  </developers>
+
+  <dependencies>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>servlet-api</artifactId>
+      <version>2.4</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>jsp-api</artifactId>
+      <version>2.0</version>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies> 
+
+</project>

Propchange: jakarta/taglibs/proper/jndi/trunk/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: jakarta/taglibs/proper/jndi/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/jakarta/taglibs/proper/jndi/trunk/src/changes/changes.xml?rev=731154&view=auto
==============================================================================
--- jakarta/taglibs/proper/jndi/trunk/src/changes/changes.xml (added)
+++ jakarta/taglibs/proper/jndi/trunk/src/changes/changes.xml Sat Jan  3 
17:45:31 2009
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<document>
+  <properties>
+    <title>JNDI Taglib changes</title>
+  </properties>
+  <body>
+  
+<release release="Development" date="04/06/2002" description="Update to new 
build, fancy docs, and a few bug fixes. ">
+    <action>
+      Changed the name of the <b>itterate</b> arg to
+      the <b>getAttribute</b> tag <b>multivalue</b> attribute
+      to <b>iterate</b>.
+    </action>
+</release>
+ 
+<release release="Development" date="12/12/2000" description="Initial version 
of tag library before Jakarta-Taglibs had an official release policy for tag 
libraries. "/>
+
+</body>
+</document>

Propchange: jakarta/taglibs/proper/jndi/trunk/src/changes/changes.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
jakarta/taglibs/proper/jndi/trunk/src/main/resources/META-INF/taglibs-jndi.tld
URL: 
http://svn.apache.org/viewvc/jakarta/taglibs/proper/jndi/trunk/src/main/resources/META-INF/taglibs-jndi.tld?rev=731154&view=auto
==============================================================================
--- 
jakarta/taglibs/proper/jndi/trunk/src/main/resources/META-INF/taglibs-jndi.tld 
(added)
+++ 
jakarta/taglibs/proper/jndi/trunk/src/main/resources/META-INF/taglibs-jndi.tld 
Sat Jan  3 17:45:31 2009
@@ -0,0 +1,922 @@
+<?xml version="1.0" ?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<taglib>
+
+  <tlib-version>1.0</tlib-version>
+  <jsp-version>1.1</jsp-version>
+  <short-name>jndi</short-name>
+  <uri>http://jakarta.apache.org/taglibs/jndi</uri>
+  <display-name>JNDI Tag library (Beta 1)</display-name>
+
+  <description>
+    A tag library for using the Java Naming and Directory Interface (JNDI).
+  </description>
+
+    <tag>
+      <name>useContext</name>
+      <tag-class>org.apache.taglibs.jndi.UseContextTag</tag-class>
+      <tei-class>org.apache.taglibs.jndi.UseContextTEI</tei-class>
+      <body-content>JSP</body-content>
+      <display-name>useContext</display-name>
+     
+      <description>
+        This tag creates an instance of a javax.naming.Context based on the 
values
+        of the attributes providing some of the standard values.  In addition 
to the 
+        System properties and the jndi.properties, some standard properties 
are 
+        scanned in the pageContext attributes.
+        <ul>
+        <li>note: should this be extended to the servlet init params as 
well?</li>
+        <li>note: as of right now this does not look into the id and scope to 
see if the 
+        context already exists, so it does not behave entirely like 
useBean</li>
+        </ul>
+      </description>
+
+      <summary>Create a javax.naming.Context object for use after tag 
close.</summary>
+      <availability>1.0</availability>
+      <restrictions>
+        One of the following three attributes must be specified:
+        <ul>
+        <li>env</li>
+        <li>envRef</li>
+        <li>url</li>
+        </ul>
+        And one of the following three attributes must be specified:
+        One of the following three attributes must be specified:
+        <ul>
+        <li>initialFactory</li>
+        <li>providerUrl</li>
+        <li>url</li>
+        </ul>
+      </restrictions>
+
+      <attribute>
+        <name>envRef</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+        <description>
+          This is the name of an attribute that will be searched for that 
provides
+          additional environment information.  This info is subordinate to the 
info
+          provided by the attributes to this tag.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>env</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Same as envRef, except that the value is of type java.util.Hashtable.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>url</name>       
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          If provided, the context created by the other attributes is used to
+          create a context in which the parameter of this attribute is used to
+          preform a lookup(String) operation.  The context returned from the 
lookup
+          will be the context returned by the tag.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>providerUrl</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Provides the value of the Context.PROVIDER_URL attribute to the 
+          InitialContext environment Hashtable.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>initialFactory</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Provides the value of the Context.INITIAL_CONTEXT_FACTORY attribute 
to 
+          the InitialContext environment Hashtable.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>dnsUrl</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Provides the value of the Context.DNS_URL attribute to the 
+          InitialContext environment Hashtable.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>authoritative</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Provides the value of the Context.AUTHORITATIVE attribute to the 
+          InitialContext environment Hashtable.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>batchsize</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Provides the value of the Context.BATCHSIZE attribute to the 
+          InitialContext environment Hashtable.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>objectFactories</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Provides the value of the Context.OBJECT_FACTORIES attribute to 
+          the InitialContext environment Hashtable.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>stateFactories</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Provides the value of the Context.STATE_FACTORIES attribute to 
+          the InitialContext environment Hashtable.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>urlPkgPrefixes</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Provides the value of the Context.URL_PKG_PREFIXES attribute to 
+          the InitialContext environment Hashtable.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>id</name>
+        <required>true</required>
+        <rtexprvalue>false</rtexprvalue>
+        <description>
+          The name that the context is to be exported as.  
+          (A potential future relaxation may make this optional, but it will 
only
+          be available to body content enclosed that asks for an implicit 
context)
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>scope</name>
+        <required>false</required> <!-- page presumed if absent -->
+        <rtexprvalue>false</rtexprvalue>
+        <description>
+          The scope the object is to be exported as.  Default is 'page'.
+          Follows the JSP spec conventions.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+    </tag>
+  
+  
+    <tag>
+      <name>list</name>
+      <tag-class>org.apache.taglibs.jndi.ListTag</tag-class>
+      <tei-class>org.apache.taglibs.jndi.ListTEI</tei-class>
+      <body-content>JSP</body-content>
+      <display-name>list</display-name>
+
+      <description>
+       This tag iterates through the list returned by Context.list() and
+       the body content is evaluated for each iteration.
+      </description>
+
+      <summary>Lists the elements in a particular 
javax.naming.Context</summary>
+      <availability>1.0</availability>
+      <restrictions>
+        One of the following two attributes must be specified:
+        <ul>
+        <li>context</li>
+        <li>contextRef</li>
+        </ul>
+      </restrictions>
+
+      <attribute>
+        <name>contextRef</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Attribute name that will be searched for to provide the context.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>context</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          A literal instance of type javax.naming.Context to be used.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>nameId</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          The attribute name of the name listing to be exported
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>nameScope</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          The scope that the name object will be exported to (page is the 
default).
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>classId</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          The attribute name of the class name to be exported.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>classScope</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          The scope that the class name will be exported to (page is the 
default).
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>objId</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          The attribute name of the bound object listing to be exported.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>objScope</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          The scope that the bound object will be exported to (page is the 
default).
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>name</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          The name to preform the list against.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>nameObject</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Like name, a literal javax.naming.Name object to use to list 
against.  If both this
+          and name are specified and the value is not null, this attribute is 
+          the one used.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>bindings</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Whether or not bound objects are returned, <b>true</b> or 
<b>false</b>.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+    </tag>
+  
+  
+    <tag>
+      <name>lookup</name>
+      <tag-class>org.apache.taglibs.jndi.LookupTag</tag-class>
+      <tei-class>org.apache.taglibs.jndi.LookupTEI</tei-class>
+      <body-content>JSP</body-content>
+      <display-name>lookup</display-name>
+
+      <description>
+        Lookups and exports a particular entry in a javax.naming.Context.
+      </description>
+
+      <summary>This looks up a particular object and exports it.</summary>
+      <availability>1.0</availability>
+      <restrictions>
+        One of the following two attributes must be specified:
+        <ul>
+        <li>context</li>
+        <li>contextRef</li>
+        </ul>
+      </restrictions>
+
+      <attribute>
+        <name>contextRef</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Attribute name that will be searched for to provide the context.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>context</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          A literal instance of type javax.naming.Context to be used.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>id</name>
+        <required>true</required>
+        <rtexprvalue>false</rtexprvalue>
+        <description>
+          Attribute name of the object to be exported.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>scope</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+        <description>
+          The scope the object is to be exported as.  Default is 'page'.
+          Follows the JSP spec conventions.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>name</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          The name to preform the lookup against.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>nameObject</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Like name, a literal javax.naming.Name object to use to lookup.  If 
both this
+          and name are specified and the value is not null, this attribute is 
+          the one used.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>type</name>
+        <!-- the class to cast the looked up object to.  Right now failure to
+             cast results in a null return.  Adding an attribute failure with
+             string values null, exception, or classcast to return null, throw 
a 
+             JSPExceptionm or to re-throw the class-cast is a thought. -->
+        <required>false</required> 
+        <rtexprvalue>false</rtexprvalue>
+        <description>
+          The class to cast the looked up object to.  Right now failure to
+          cast results in a null return.  The default is java.lang.Object.
+          This also determines the type of the exposed scripting variable.
+          [Adding an attribute failure with string values null, exception, or 
+          classcast to return null, throw a JSPExceptionm or to re-throw the 
+          class-cast is a thought.]
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+    </tag>
+  
+  
+    <tag>
+      <name>useDirContext</name>
+      <tag-class>org.apache.taglibs.jndi.UseDirContextTag</tag-class>
+      <tei-class>org.apache.taglibs.jndi.UseDirContextTEI</tei-class>
+      <body-content>JSP</body-content>
+      <display-name>useDirContext</display-name>
+
+      <description>
+        This behaves exactly like useContext except that the object exported
+        will be of type javax.naming.directory.DirContext and the 
+        InitialDirContext will be used to generate the contexts.
+      </description>
+
+      <summary>
+        Create a javax.naming.directory.DirContext object for use
+        after tag close.
+      </summary>
+      <availability>1.0</availability>
+      <restrictions>
+        One of the following three attributes must be specified:
+        <ul>
+        <li>env</li>
+        <li>envRef</li>
+        <li>url</li>
+        </ul>
+        And one of the following three attributes must be specified:
+        One of the following three attributes must be specified:
+        <ul>
+        <li>initialFactory</li>
+        <li>providerUrl</li>
+        <li>url</li>
+        </ul>
+      </restrictions>
+
+      <attribute>
+        <name>envRef</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+        <description>
+          This is the name of an attribute that will be searched for that 
provides
+          additional environment information.  This info is subordinate to the 
info
+          provided by the attributes to this tag.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>env</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Same as envRef, except that the value is of type java.util.Hashtable.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>url</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          If provided, the context created by the other attributes is used to
+          create a context in which the parameter of this attribute is used to
+          preform a lookup(String) operation.  The context returned from the 
lookup
+          will be the context returned by the tag.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>providerUrl</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Provides the value of the Context.PROVIDER_URL attribute to the
+          InitialContext environment Hashtable.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>initialFactory</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Provides the value of the Context.INITIAL_CONTEXT_FACTORY attribute 
to
+          the InitialContext environment Hashtable.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>dnsUrl</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Provides the value of the Context.DNS_URL attribute to the
+          InitialContext environment Hashtable.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>authoritative</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Provides the value of the Context.AUTHORITATIVE attribute to the
+          InitialContext environment Hashtable.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>batchsize</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Provides the value of the Context.BATCHSIZE attribute to the
+          InitialContext environment Hashtable.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>objectFactories</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Provides the value of the Context.OBJECT_FACTORIES attribute to
+          the InitialContext environment Hashtable.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>stateFactories</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Provides the value of the Context.STATE_FACTORIES attribute to
+          the InitialContext environment Hashtable.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>urlPkgPrefixes</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Provides the value of the Context.URL_PKG_PREFIXES attribute to
+          the InitialContext environment Hashtable.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>id</name>
+        <required>true</required>
+        <rtexprvalue>false</rtexprvalue>
+        <description>
+          The name that the context is to be exported as.
+          (A potential future relaxation may make this optional, but it will 
only
+          be available to body content enclosed that asks for an implicit 
context)
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>                       
+        <name>scope</name>
+        <required>false</required> <!-- page presumed if absent -->
+        <rtexprvalue>false</rtexprvalue>                           
+        <description>                                              
+          The scope the object is to be exported as.  Default is 'page'.
+          Follows the JSP spec conventions.                             
+        </description>                                                  
+        <availability>1.0</availability>   
+      </attribute>
+
+    </tag>
+    
+    
+    <tag>
+      <name>search</name>
+      <tag-class>org.apache.taglibs.jndi.SearchTag</tag-class>
+      <tei-class>org.apache.taglibs.jndi.SearchTEI</tei-class>
+      <body-content>JSP</body-content>
+      <display-name>search</display-name>
+
+      <description>
+        Performs a search against a DirContext according to the semantics
+        of the search(Name name, String filter, SearchControls cons) in
+        javax.naming.directory.DirContext.
+      </description>
+
+      <summary>Searches a DirContext.</summary>
+      <availability>1.0</availability>
+      <restrictions>
+        One of the following two attributes must be specified:
+        <ul>
+        <li>context</li>
+        <li>contextRef</li>
+        </ul>
+      </restrictions>
+
+      <attribute>
+        <name>id</name>
+        <required>true</required>
+        <rtexprvalue>false</rtexprvalue>
+        <description>
+          Attribute name of the SearchResult  to be exported.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>scope</name>
+        <required>false</required> <!-- page presumed if absent -->
+        <rtexprvalue>false</rtexprvalue>
+        <description>
+          The scope the object is to be exported as.  Default is 'page'.
+          Follows the JSP spec conventions.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>contextRef</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Attribute name that will be searched for to provide the context.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>context</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          A literal instance of type javax.naming.Context to be used.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>name</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          The name to preform the lookup against.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>nameObject</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Like name, a literal javax.naming.Name object to use to lookup.  If 
both this
+          and name are specified and the value is not null, this attribute is 
+          the one used.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>filter</name>
+        <required>true</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          The LDAP-style search filter to use.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>countLimit</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          The maximum number of entries to return.  Default is 0 which 
_should_ 
+          mean return all entries found (but behavior has been observerved in 
some
+          provider/server combinations to mean none).
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>derefLink</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Determines whether links will be dereferenced during the search.
+          Set to <b>true</b> or <b>false</b>, default is <b>false</b>.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>attributes</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          A (generally) comma seperated list of attributes to return in the 
+          search results.  Default is null which means return all.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>attributeSeparator</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          If comma seperated attributes won't do, provides an alternate 
+          delimiter string for the attributes attribute.  Default is ",".
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>bindings</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          Whether or not to return bound objects.
+          Set to <b>true</b> or <b>false</b>, default is <b>false</b>.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>searchScope</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          What scope the search is to be preformed against.  One of subtree, 
+          subtree_scope, onelevel, onelevel_scope, object, object_scope.  (The
+          variants are treated as the the _scope variants).
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>timeLimit</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          The time limit in ms to wait.  0 means wait indefinatly.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+    </tag>
+  
+  
+    <tag>
+      <name>getAttribute</name>
+      <tag-class>org.apache.taglibs.jndi.GetAttributeTag</tag-class>
+      <tei-class>org.apache.taglibs.jndi.GetAttributeTEI</tei-class>
+      <body-content>JSP</body-content> <!-- and will be the seperator for 
multi-value resposnes -->
+      <display-name>getAttribute</display-name>
+
+      <description>
+        This is a flexible tag to get an attribute.  The specified object can 
be
+        a DirContext, SearchResult, Attributes, or an Attribute.  If the 
object is
+        a DirContext an Attributes object is retrieved with just the requested
+        attribute, and then further processed.  If it is a SearchResult then 
the
+        return of getAttributes is processed further.  For any Attributes 
object 
+        passed in explicitly or derived the get(attribute) method is executed 
and 
+        stored as the attribute.  
+        The contents of the attribute are processed in one of three ways 
depending 
+        on the value of the multivalue tag attribute.  If the value is 'one' 
then 
+        the value returned by Attribute.get() is written to the output stream 
and 
+        the body is skipped.  For 'separator' then the body of the tag servers 
as a 
+        separator for the attribute values in the event of multivalue 
attributes,
+        but it is skipped in the event of a singly valued or non-existant 
+        attribute, and the value of the attribute is explicitly written to the
+        appropriate output stream.  And for the case of 'iterate' the the 
+        contents of the body are iterated over for each value of the 
attribute, 
+        whether singly valued or multi-valued (and skipped for a non-existant 
+        attribute).  In all cases the attribute is exported to the id and scope
+        if provided at the beginning of the tag, so it is available both 
within the
+        tag and after it's execution.
+      </description>
+
+      <summary>Extracts an attribute from a DirContext, a SearchResult, or an 
Attributes.</summary>
+      <availability>1.0</availability>
+      <restrictions>NONE</restrictions>
+
+      <attribute>
+        <name>id</name>
+        <required>flase</required>
+        <rtexprvalue>false</rtexprvalue>
+        <description>
+          Page Context attribute name of the actual Attribute value to be 
exported.  
+          For multivalued attributes where the multivalue mode is 'separator' 
no 
+          attribute is exported, while for the value of 'iterator' it is the 
current
+          value inside the body content or the final value outside the tag.  
For 
+          'one' it is the only value of the attribute.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>scope</name>
+        <required>false</required> <!-- page presumed if absent -->
+        <rtexprvalue>false</rtexprvalue>
+        <description>
+          The scope the object is to be exported as.  Default is 'page'.
+          Follows the JSP spec conventions.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>ref</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          A refrence to a PageContext attribute to be searched for to use as 
the
+          object to preform attribute operations against.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>object</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          A literal instance of an object to have the attribute operations
+          applied against.  An invalid object type will result in the body 
content
+          being skipped an no output being written to the output stream.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>attribute</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+        <description>
+          The name of the attribute to use for objects of type DirContext, 
+          SearchResult and Attributes.  Ignored for object of type Attribute.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>multivalue</name> <!-- either one, separator, or iterate -->
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          One of 'one', 'separator', or 'iterate'.  Se tag description for 
details.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+    </tag>     
+  
+    <tag>
+      <name>forEachAttribute</name>
+      <tag-class>org.apache.taglibs.jndi.ForEachAttributeTag</tag-class>
+      <tei-class>org.apache.taglibs.jndi.ForEachAttributeTEI</tei-class>
+      <body-content>JSP</body-content>
+      <display-name>forEachAttribute</display-name>
+
+      <description>
+        This tag allows you to iterate through all of the attribute names 
returned
+        for a DirContext, SearchResult, or an Attributes object.
+      </description>                                                           
    
+
+      <summary>Iterates attributes form a DirContext, Attributes, or 
SearchResult.</summary>
+      <availability>1.0</availability>                                         
                    
+      <restrictions>NONE</restrictions>
+
+      <attribute>
+        <name>id</name>
+        <required>true</required>
+        <rtexprvalue>false</rtexprvalue>
+        <description>
+          Page Context attribute name of the actual Attribute to be exported.  
+          This is the name exposed within the tag Body and after.  It is the 
+          Attribute object and not the value of the attribute.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>scope</name>
+        <required>false</required> <!-- page presumed if absent -->
+        <rtexprvalue>false</rtexprvalue>
+        <description>
+          The scope the object is to be exported as.  Default is 'page'.
+          Follows the JSP spec conventions.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>ref</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          A refrence to a PageContext attribute to be searched for to use as 
the
+          object to preform attribute operations against.  Valid types are 
+          DirContext, SearchResults, and Attributes.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+      <attribute>
+        <name>object</name>
+        <required>false</required>
+        <rtexprvalue>true</rtexprvalue>
+        <description>
+          A literal instance of an object to have the attribute operations
+          applied against.  An invalid object type will result in the body 
content
+          being skipped an no output being written to the output stream.  
Valid 
+          types are DirContext, SearchResults, and Attributes.
+        </description>
+        <availability>1.0</availability>
+      </attribute>
+    </tag>     
+
+</taglib>

Propchange: 
jakarta/taglibs/proper/jndi/trunk/src/main/resources/META-INF/taglibs-jndi.tld
------------------------------------------------------------------------------
    svn:eol-style = native

Added: jakarta/taglibs/proper/jndi/trunk/xdocs/index.xml
URL: 
http://svn.apache.org/viewvc/jakarta/taglibs/proper/jndi/trunk/xdocs/index.xml?rev=731154&view=auto
==============================================================================
--- jakarta/taglibs/proper/jndi/trunk/xdocs/index.xml (added)
+++ jakarta/taglibs/proper/jndi/trunk/xdocs/index.xml Sat Jan  3 17:45:31 2009
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<document>
+
+  <properties>
+    <title>The Jakarta-Taglibs Project: JNDI Tag Library</title>
+  </properties>
+
+  <body>
+
+
+  <section name="JNDI Tag Library" href="Welcome">
+
+  <p>The JNDI Tag Library creates an instance of a javax.naming.Context based 
on the values
+     of the attributes providing some of the standard values.  In addition to 
the 
+     System properties and the jndi.properties, some standard properties are 
+     scanned in the pageContext attributes.</p>
+
+  </section>
+
+  <section name="Download" href="Download">
+    <p>Currently there is no download for the JNDI taglib and you will need to 
build it from source. </p>
+  </section>
+
+  </body>
+</document>

Propchange: jakarta/taglibs/proper/jndi/trunk/xdocs/index.xml
------------------------------------------------------------------------------
    svn:eol-style = native



---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-h...@jakarta.apache.org

Reply via email to