cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dani...@apache.org
Subject svn commit: r170439 - /cocoon/blocks/unsupported/taglib/trunk/java/org/apache/cocoon/jxpath/JXPathCocoonContexts.java
Date Mon, 16 May 2005 19:56:25 GMT
Author: danielf
Date: Mon May 16 12:56:25 2005
New Revision: 170439

URL: http://svn.apache.org/viewcvs?rev=170439&view=rev
Log:
Added reflection friendly utility methods for map like structures in the environment classes
Request, Context and Sessionaccording to vote http://marc.theaimsgroup.com/?t=111590936900001&r=1&w=2.
Updated all implementing classes. The implementation is based on some classes that I moved
from the faces block to core.

Modified:
    cocoon/blocks/unsupported/taglib/trunk/java/org/apache/cocoon/jxpath/JXPathCocoonContexts.java

Modified: cocoon/blocks/unsupported/taglib/trunk/java/org/apache/cocoon/jxpath/JXPathCocoonContexts.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/unsupported/taglib/trunk/java/org/apache/cocoon/jxpath/JXPathCocoonContexts.java?rev=170439&r1=170438&r2=170439&view=diff
==============================================================================
--- cocoon/blocks/unsupported/taglib/trunk/java/org/apache/cocoon/jxpath/JXPathCocoonContexts.java
(original)
+++ cocoon/blocks/unsupported/taglib/trunk/java/org/apache/cocoon/jxpath/JXPathCocoonContexts.java
Mon May 16 12:56:25 2005
@@ -24,6 +24,9 @@
 import org.apache.cocoon.environment.ObjectModelHelper;
 import org.apache.cocoon.environment.Request;
 import org.apache.cocoon.environment.Session;
+import org.apache.cocoon.environment.impl.AbstractContext;
+import org.apache.cocoon.environment.impl.AbstractRequest;
+import org.apache.cocoon.environment.impl.AbstractSession;
 
 import org.apache.commons.jxpath.JXPathContext;
 import org.apache.commons.jxpath.JXPathContextFactory;
@@ -161,7 +164,7 @@
         return context;
     }
 
-    public static final class RequestProxy implements Request {
+    public static final class RequestProxy extends AbstractRequest {
         private Request delegate;
 
         public RequestProxy (Request delegate) {
@@ -400,7 +403,7 @@
         }
     }
 
-    public class SessionProxy implements Session {
+    public class SessionProxy extends AbstractSession {
         private Session delegate;
 
         public SessionProxy(Session delegate) {
@@ -452,7 +455,7 @@
         }
     }
 
-    public class ContextProxy implements Context {
+    public class ContextProxy extends AbstractContext {
         private Context delegate;
 
         public ContextProxy(org.apache.cocoon.environment.Context delegate) {



Mime
View raw message