Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E186DE772 for ; Fri, 11 Jan 2013 14:33:43 +0000 (UTC) Received: (qmail 10125 invoked by uid 500); 11 Jan 2013 14:33:43 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 10063 invoked by uid 500); 11 Jan 2013 14:33:43 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 10054 invoked by uid 99); 11 Jan 2013 14:33:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2013 14:33:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2013 14:33:39 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 567082388B3A for ; Fri, 11 Jan 2013 14:33:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r846168 [5/14] - in /websites/production/commons/content/propers/commons-attributes: ./ ant_demo/ api/ api/org/ api/org/apache/ api/org/apache/commons/ api/org/apache/commons/attributes/ api/org/apache/commons/attributes/class-use/ api/org/... Date: Fri, 11 Jan 2013 14:32:47 -0000 To: commits@commons.apache.org From: olamy@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130111143305.567082388B3A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: websites/production/commons/content/propers/commons-attributes/api/org/apache/commons/attributes/CircularDependencyError.html ============================================================================== --- websites/production/commons/content/propers/commons-attributes/api/org/apache/commons/attributes/CircularDependencyError.html (added) +++ websites/production/commons/content/propers/commons-attributes/api/org/apache/commons/attributes/CircularDependencyError.html Fri Jan 11 14:32:44 2013 @@ -0,0 +1,268 @@ + + + + + + +CircularDependencyError (Commons-Apache Commons Attributes Site 2.2 API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.commons.attributes +
+Class CircularDependencyError

+
+java.lang.Object
+  extended byjava.lang.Throwable
+      extended byjava.lang.Error
+          extended byorg.apache.commons.attributes.RepositoryError
+              extended byorg.apache.commons.attributes.CircularDependencyError
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class CircularDependencyError
extends RepositoryError
+ +

+Thrown when an attribute repository class can't be + loaded because it resulted in a circular dependency. +

+ +

+

+
Since:
+
2.1
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
CircularDependencyError(String className, + List dependencyList) + +
+          Create a new CircularDependencyError.
+  + + + + + + + + + + +
Methods inherited from class org.apache.commons.attributes.RepositoryError
getCause, getNested
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+CircularDependencyError

+
+public CircularDependencyError(String className,
+                               List dependencyList)
+
+
Create a new CircularDependencyError. +

+

Parameters:
className - the name of the class that started it all.
dependencyList - a list of the classes (Class) + that the original + class depended on, the classes they + depended on, and so on. The list should + show the chain of dependencies that resulted + in the exception being thrown. Note: + Versions prior to 2.2 accepted a list of Objects + of any type. This is still supported, but the + formatting may suffer. Please only use lists of + Class.
Since:
+
2.1
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © The Apache Software Foundation. All Rights Reserved. + + Added: websites/production/commons/content/propers/commons-attributes/api/org/apache/commons/attributes/DefaultSealable.html ============================================================================== --- websites/production/commons/content/propers/commons-attributes/api/org/apache/commons/attributes/DefaultSealable.html (added) +++ websites/production/commons/content/propers/commons-attributes/api/org/apache/commons/attributes/DefaultSealable.html Fri Jan 11 14:32:44 2013 @@ -0,0 +1,306 @@ + + + + + + +DefaultSealable (Commons-Apache Commons Attributes Site 2.2 API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.commons.attributes +
+Class DefaultSealable

+
+java.lang.Object
+  extended byorg.apache.commons.attributes.DefaultSealable
+
+
+
All Implemented Interfaces:
Sealable
+
+
+
+
public class DefaultSealable
extends Object
implements Sealable
+ +

+Implementation of the Sealable interface. Subclasses should call + checkSealed() before setting any bean properties. +

+ +

+

+
Since:
+
2.1
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
DefaultSealable() + +
+          Default ctor.
+  + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidcheckSealed() + +
+          Checks if the seal() method has been called and throws a + IllegalStateException if it has.
+ voidseal() + +
+          Seals this attribute.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+DefaultSealable

+
+public DefaultSealable()
+
+
Default ctor. +

+

+ + + + + + + + +
+Method Detail
+ +

+checkSealed

+
+protected void checkSealed()
+                    throws IllegalStateException
+
+
Checks if the seal() method has been called and throws a + IllegalStateException if it has. +

+

+
+
+
+ +
Throws: +
IllegalStateException - if this attribute has been sealed.
Since:
+
2.1
+
+
+
+
+ +

+seal

+
+public void seal()
+
+
Seals this attribute. Any future calls to the + checkSealed() method will result in an + IllegalStateException being thrown. +

+

+
Specified by:
seal in interface Sealable
+
+
+
Since:
+
2.1
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © The Apache Software Foundation. All Rights Reserved. + + Added: websites/production/commons/content/propers/commons-attributes/api/org/apache/commons/attributes/Indexed.html ============================================================================== --- websites/production/commons/content/propers/commons-attributes/api/org/apache/commons/attributes/Indexed.html (added) +++ websites/production/commons/content/propers/commons-attributes/api/org/apache/commons/attributes/Indexed.html Fri Jan 11 14:32:44 2013 @@ -0,0 +1,236 @@ + + + + + + +Indexed (Commons-Apache Commons Attributes Site 2.2 API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.commons.attributes +
+Class Indexed

+
+java.lang.Object
+  extended byorg.apache.commons.attributes.Indexed
+
+
+
+
public class Indexed
extends Object
+ +

+This attribute is used to mark attributes as being indexed. + Elements with indexed attributes can be found via an AttributeIndex, + but incur a slight processing and memory penalty. You must also + run the attribute-indexer tool on the Jar-file containing the classes + you wish to find via the index. + +

Note regarding Inheritable attributes: Indexed attributes + that are inherited will not be found via an AttributeIndex. You will + only find the class/method/field where the attribute is actually declared via the index. +

+ +

+

+
Since:
+
2.1
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
Indexed() + +
+           
+  + + + + + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+Indexed

+
+public Indexed()
+
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © The Apache Software Foundation. All Rights Reserved. + + Added: websites/production/commons/content/propers/commons-attributes/api/org/apache/commons/attributes/Inheritable.html ============================================================================== --- websites/production/commons/content/propers/commons-attributes/api/org/apache/commons/attributes/Inheritable.html (added) +++ websites/production/commons/content/propers/commons-attributes/api/org/apache/commons/attributes/Inheritable.html Fri Jan 11 14:32:44 2013 @@ -0,0 +1,230 @@ + + + + + + +Inheritable (Commons-Apache Commons Attributes Site 2.2 API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.commons.attributes +
+Class Inheritable

+
+java.lang.Object
+  extended byorg.apache.commons.attributes.Inheritable
+
+
+
+
public class Inheritable
extends Object
+ +

+This attribute is used to mark attributes as being inheritable. + Inheritable attributes are inherited down the class and interface + hierarchy. +

+ +

+

+
Since:
+
2.1
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
Inheritable() + +
+           
+  + + + + + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+Inheritable

+
+public Inheritable()
+
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © The Apache Software Foundation. All Rights Reserved. + + Added: websites/production/commons/content/propers/commons-attributes/api/org/apache/commons/attributes/InvalidAttributeTargetError.html ============================================================================== --- websites/production/commons/content/propers/commons-attributes/api/org/apache/commons/attributes/InvalidAttributeTargetError.html (added) +++ websites/production/commons/content/propers/commons-attributes/api/org/apache/commons/attributes/InvalidAttributeTargetError.html Fri Jan 11 14:32:44 2013 @@ -0,0 +1,270 @@ + + + + + + +InvalidAttributeTargetError (Commons-Apache Commons Attributes Site 2.2 API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.commons.attributes +
+Class InvalidAttributeTargetError

+
+java.lang.Object
+  extended byjava.lang.Throwable
+      extended byjava.lang.Error
+          extended byorg.apache.commons.attributes.InvalidAttributeTargetError
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class InvalidAttributeTargetError
extends Error
+ +

+Thrown when an attribute has a Target declaration that forbids + it being applied to the program element it has been applied to. + +

For example: + +


+ /**
+  * This attribute can only be applied to Classes.
+  * Target(Target.CLASS)
+  */
+ public class MyAttribute {}
+
+ public class MyClass {
+     /** 
+       * Error: Can't apply MyAttribute to a field!
+       * @@MyAttribute() 
+       */
+     private String myField;
+ }
+ 
+

+ +

+

+
Since:
+
2.1
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
InvalidAttributeTargetError(String attributeClass, + String element, + int targetFlags) + +
+          Creates a new InvalidAttributeTargetError.
+  + + + + + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+InvalidAttributeTargetError

+
+public InvalidAttributeTargetError(String attributeClass,
+                                   String element,
+                                   int targetFlags)
+
+
Creates a new InvalidAttributeTargetError. +

+

Parameters:
attributeClass - name of the type of the attribute that was applied to the wrong target.
element - the element that the user tried to apply the attribute to.
targetFlags - the targets (bitwise OR of the Target.XXX flags that the attributeClass + can be applied to.
Since:
+
2.1
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © The Apache Software Foundation. All Rights Reserved. + + Added: websites/production/commons/content/propers/commons-attributes/api/org/apache/commons/attributes/MultipleAttributesError.html ============================================================================== --- websites/production/commons/content/propers/commons-attributes/api/org/apache/commons/attributes/MultipleAttributesError.html (added) +++ websites/production/commons/content/propers/commons-attributes/api/org/apache/commons/attributes/MultipleAttributesError.html Fri Jan 11 14:32:44 2013 @@ -0,0 +1,248 @@ + + + + + + +MultipleAttributesError (Commons-Apache Commons Attributes Site 2.2 API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.commons.attributes +
+Class MultipleAttributesError

+
+java.lang.Object
+  extended byjava.lang.Throwable
+      extended byjava.lang.Error
+          extended byorg.apache.commons.attributes.MultipleAttributesError
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class MultipleAttributesError
extends Error
+ +

+Thrown when one of the Attributes.getAttribute methods find more + than one instance of the specified attribute class and the method + only expected to find a single instance. +

+ +

+

+
Since:
+
2.1
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
MultipleAttributesError(String clazz) + +
+          Create a new MultipleAttributesError.
+  + + + + + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+MultipleAttributesError

+
+public MultipleAttributesError(String clazz)
+
+
Create a new MultipleAttributesError. +

+

Parameters:
clazz - the name of the attribute class of which multiple instances were found.
Since:
+
2.1
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © The Apache Software Foundation. All Rights Reserved. + +