/*

Copyright (c) 2008, Jared Crapo All rights reserved. 

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met: 

- Redistributions of source code must retain the above copyright
  notice, this list of conditions and the following disclaimer. 

- Redistributions in binary form must reproduce the above copyright
  notice, this list of conditions and the following disclaimer in the
  documentation and/or other materials provided with the distribution. 

- Neither the name of jactiveresource.org nor the names of its
  contributors may be used to endorse or promote products derived from
  this software without specific prior written permission. 

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

*/

package org.jactiveresource.annotation;

import java.lang.annotation.*;

/**
 * use this annotation to tell jactiveresource what path element in the
 * URL to use to find your collection.
 * 
 * If the list of people in our application can be retrieved by
 *   GET http://localhost:3000/people.xml
 *   
 * And you have a Person class, you could annotate the class with
 *   @CollectionName("people")
 * 
 * @version $LastChangedRevision$ <br>
 *          $LastChangedDate$
 * @author $LastChangedBy$
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface CollectionName {
    String value();
}

@@ -1490,16 +1490,17 @@
 AMAGE.%0A%0A
+ 
 */%0A%0Apack
@@ -1568,67 +1568,160 @@
 ion.
-*;%0A%0A/**%0A * use this annotation to tell jactiveresource what
+ElementType;%0Aimport java.lang.annotation.Retention;%0Aimport java.lang.annotation.RetentionPolicy;%0Aimport java.lang.annotation.Target;%0A%0A/**%0A * Specify the
  pat
@@ -1740,19 +1740,16 @@
  the
-%0A *
  URL to 
 use 
@@ -1748,46 +1748,62 @@
  to 
-use to find your collection
+retrieve the collection of your objects
 .%0A * 
+%3Cp%3E
 %0A * 
-If
+Say
  the
@@ -1858,20 +1858,22 @@
 ved 
-by%0A *   GET 
+from%0A * %3Ccode%3E
 http
@@ -1896,39 +1896,42 @@
 0/pe
-ople.xml
+eps.xml%3C/code%3E
 %0A * 
-  
+%3Cp%3E
 %0A * 
-And y
+Y
 ou have 
 a Pe
@@ -1926,16 +1926,24 @@
 ou have 
+created 
 a Person
@@ -1947,34 +1947,169 @@
 son 
+sub
 class
-, you could a
+ of ActiveResource, which would wrongly%0A * guess that people could be retrieved from%0A * %3Ccode%3Ehttp://localhost:3000/people.xml%3C/code%3E%0A * %3Cp%3E%0A * A
 nnotate 
 the 
@@ -2108,53 +2108,180 @@
 ate 
-the
+your
  class 
-with%0A *   @CollectionName(%22people%22)
+and specify the proper collection name.%0A * %3Cpre%3E%0A * &#64;CollectionName(%22peeps%22)%0A * public class Person extends ActiveResource &#123;%0A * ....%0A * &#125;%0A * %3C/pre%3E
 %0A * 
@@ -2478,20 +2478,17 @@
 nName %7B%0A
-    
+%09
 String v

Update javadocs