Return-Path: Delivered-To: apmail-cocoon-cvs-archive@www.apache.org Received: (qmail 55920 invoked from network); 9 Aug 2007 20:38:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Aug 2007 20:38:13 -0000 Received: (qmail 79670 invoked by uid 500); 9 Aug 2007 20:38:12 -0000 Delivered-To: apmail-cocoon-cvs-archive@cocoon.apache.org Received: (qmail 79543 invoked by uid 500); 9 Aug 2007 20:38:12 -0000 Mailing-List: contact cvs-help@cocoon.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@cocoon.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@cocoon.apache.org Received: (qmail 79532 invoked by uid 99); 9 Aug 2007 20:38:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2007 13:38:12 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2007 20:38:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6098B1A981A; Thu, 9 Aug 2007 13:37:52 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r564375 - /cocoon/trunk/core/cocoon-expression-language/cocoon-expression-language-api/src/main/java/org/apache/cocoon/objectmodel/ObjectModel.java Date: Thu, 09 Aug 2007 20:37:52 -0000 To: cvs@cocoon.apache.org From: gkossakowski@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070809203752.6098B1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gkossakowski Date: Thu Aug 9 13:37:51 2007 New Revision: 564375 URL: http://svn.apache.org/viewvc?view=rev&rev=564375 Log: Formatting. Modified: cocoon/trunk/core/cocoon-expression-language/cocoon-expression-language-api/src/main/java/org/apache/cocoon/objectmodel/ObjectModel.java Modified: cocoon/trunk/core/cocoon-expression-language/cocoon-expression-language-api/src/main/java/org/apache/cocoon/objectmodel/ObjectModel.java URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-expression-language/cocoon-expression-language-api/src/main/java/org/apache/cocoon/objectmodel/ObjectModel.java?view=diff&rev=564375&r1=564374&r2=564375 ============================================================================== --- cocoon/trunk/core/cocoon-expression-language/cocoon-expression-language-api/src/main/java/org/apache/cocoon/objectmodel/ObjectModel.java (original) +++ cocoon/trunk/core/cocoon-expression-language/cocoon-expression-language-api/src/main/java/org/apache/cocoon/objectmodel/ObjectModel.java Thu Aug 9 13:37:51 2007 @@ -19,47 +19,52 @@ import java.util.Map; /** - * ObjectModel is a special {@link Map} that cannot be modified using standard {@link Map} methods, except {@link #put(Object, Object)} method. + * ObjectModel is a special {@link Map} that cannot be modified using standard {@link Map} methods, except + * {@link #put(Object, Object)} method. */ public interface ObjectModel extends Map { - + static public String ROLE = ObjectModel.class.getName(); - + public static final String CONTEXTBEAN = "contextBean"; + public static final String NAMESPACE = "namespace"; - + /** - * @return a {@link org.apache.commons.collections.MultiMap} that contains all stored values in all context in LIFO-compliant order. - * Returned {@link org.apache.commons.collections.MultiMap} is {@link org.apache.commons.collections.Unmodifiable}. + * @return a {@link org.apache.commons.collections.MultiMap} that contains all stored values in all context in + * LIFO-compliant order. Returned {@link org.apache.commons.collections.MultiMap} is + * {@link org.apache.commons.collections.Unmodifiable}. */ public Map getAll(); - + /** - * Works exactly the same way as {@link Map#put(Object, Object)} but previous value associated to key is not lost in - * a case {@link #markLocalContext()} was called before. The previous value is stored and can be recovered by calling - * {@link #markLocalContext()}. + * Works exactly the same way as {@link Map#put(Object, Object)} but previous value associated to key + * is not lost in a case {@link #markLocalContext()} was called before. The previous value is stored and can be + * recovered by calling {@link #markLocalContext()}. */ public Object put(Object key, Object value); - - /** + + /** * @see #put(Object, Object) */ public void putAll(Map mapToCopy); - + /** - * Marks new local context. Such mark is useful to do a clean up of entries. + * Marks new local context. Such mark is useful to do a clean up of entries. */ public void markLocalContext(); - + /** * Cleans up entries put to ObjectModel since last {@link #markLocalContext()} call. */ public void cleanupLocalContext(); - + /** - *

Copies properties (both static and dynamic) of current context bean to the Object Model. The method is useful - * when you want, for example, to access properties of context bean in JEXL expression and omit contextBean. - * part.

+ *

+ * Copies properties (both static and dynamic) of current context bean to the Object Model. The method is useful + * when you want, for example, to access properties of context bean in JEXL expression and omit + * contextBean. part. + *

* * @see org.apache.commons.jxpath.JXPathBeanInfo.isDynamic() for description of static and dynamic properties */