commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcucchi...@apache.org
Subject svn commit: r1187621 [2/3] - in /commons/proper/ognl/performance-analysis: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/commons/ src/main/java/org/apache/commons/ognl/ src/main/java/org/apache/c...
Date Sat, 22 Oct 2011 01:20:55 GMT
Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/FirstBean.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/FirstBean.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/FirstBean.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/FirstBean.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,36 @@
+/*
+ * $Id: FirstBean.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+/**
+ * 
+ */
+package org.apache.commons.ognl.performance.objects;
+
+/**
+ */
+public class FirstBean
+    extends BaseBean
+{
+
+    public String getName()
+    {
+        return "FirstBean";
+    }
+
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/FirstBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/FormComponentImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/FormComponentImpl.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/FormComponentImpl.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/FormComponentImpl.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,41 @@
+/*
+ * $Id: FormComponentImpl.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+/**
+ *
+ */
+public class FormComponentImpl
+    extends ComponentImpl
+    implements IFormComponent
+{
+
+    IForm _form;
+
+    public IForm getForm()
+    {
+        return _form;
+    }
+
+    public void setForm( IForm form )
+    {
+        _form = form;
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/FormComponentImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/FormImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/FormImpl.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/FormImpl.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/FormImpl.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,30 @@
+/*
+ * $Id: FormImpl.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+/**
+ *
+ */
+public class FormImpl
+    extends ComponentImpl
+    implements IForm
+{
+
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/FormImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GameGeneric.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GameGeneric.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GameGeneric.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GameGeneric.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,33 @@
+/*
+ * $Id: GameGeneric.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+/**
+ *
+ */
+public class GameGeneric
+    extends BaseGeneric<GameGenericObject, Long>
+{
+
+    public GameGeneric()
+    {
+        _value = new GameGenericObject();
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GameGeneric.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GameGenericObject.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GameGenericObject.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GameGenericObject.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GameGenericObject.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,48 @@
+/*
+ * $Id: GameGenericObject.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+/**
+ *
+ */
+public class GameGenericObject
+    implements GenericObject
+{
+
+    public GameGenericObject()
+    {
+        super();
+    }
+
+    public int getId()
+    {
+        return 20;
+    }
+
+    public String getDisplayName()
+    {
+        return "Halo 3";
+    }
+
+    public String getHappy()
+    {
+        return "happy";
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GameGenericObject.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericCracker.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericCracker.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericCracker.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericCracker.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,40 @@
+/*
+ * $Id: GenericCracker.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+/**
+ *
+ */
+public class GenericCracker
+    implements Cracker<Integer>
+{
+
+    Integer _param;
+
+    public Integer getParam()
+    {
+        return _param;
+    }
+
+    public void setParam( Integer param )
+    {
+        _param = param;
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericCracker.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericObject.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericObject.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericObject.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericObject.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,31 @@
+/*
+ * $Id: GenericObject.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+/**
+ * Used by {@link BaseGeneric} to reference a class type.
+ */
+public interface GenericObject
+{
+
+    int getId();
+
+    String getDisplayName();
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericObject.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericRoot.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericRoot.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericRoot.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericRoot.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,51 @@
+/*
+ * $Id: GenericRoot.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+/**
+ *
+ */
+public class GenericRoot
+{
+
+    Root _root = new Root();
+
+    GenericCracker _cracker = new GenericCracker();
+
+    public Root getRoot()
+    {
+        return _root;
+    }
+
+    public void setRoot( Root root )
+    {
+        _root = root;
+    }
+
+    public GenericCracker getCracker()
+    {
+        return _cracker;
+    }
+
+    public void setCracker( GenericCracker cracker )
+    {
+        _cracker = cracker;
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericRoot.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericService.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericService.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericService.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericService.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,31 @@
+/*
+ * $Id: GenericService.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+/**
+ *
+ */
+public interface GenericService
+{
+
+    String getFullMessageFor( PersonGenericObject person, Object... arguments );
+
+    String getFullMessageFor( GameGenericObject game, Object... arguments );
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericServiceImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericServiceImpl.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericServiceImpl.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericServiceImpl.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,40 @@
+/*
+ * $Id: GenericServiceImpl.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+/**
+ *
+ */
+public class GenericServiceImpl
+    implements GenericService
+{
+
+    public String getFullMessageFor( GameGenericObject game, Object... arguments )
+    {
+        game.getHappy();
+
+        return game.getDisplayName();
+    }
+
+    public String getFullMessageFor( PersonGenericObject person, Object... arguments )
+    {
+        return person.getDisplayName();
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GenericServiceImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GetterMethods.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GetterMethods.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GetterMethods.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GetterMethods.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,44 @@
+/*
+ * $Id: GetterMethods.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+/**
+ *
+ */
+public class GetterMethods
+{
+
+    private int theInt = 1;
+
+    public boolean isAllowDisplay( Object something )
+    {
+        return true;
+    }
+
+    public int getAllowDisplay()
+    {
+        return theInt;
+    }
+
+    public void setAllowDisplay( int val )
+    {
+        theInt = val;
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/GetterMethods.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IComponent.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IComponent.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IComponent.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IComponent.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,35 @@
+/*
+ * $Id: IComponent.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+/**
+ *
+ */
+public interface IComponent
+{
+
+    String getClientId();
+
+    void setClientId( String id );
+
+    int getCount( String index );
+
+    void setCount( String index, int count );
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IComponent.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IContentProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IContentProvider.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IContentProvider.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IContentProvider.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,31 @@
+/*
+ * $Id: IContentProvider.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+import java.util.List;
+
+/**
+ *
+ */
+public interface IContentProvider
+{
+
+    public List getElements();
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IContentProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IForm.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IForm.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IForm.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IForm.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,29 @@
+/*
+ * $Id: IForm.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+/**
+ *
+ */
+public interface IForm
+    extends IComponent
+{
+
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IForm.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IFormComponent.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IFormComponent.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IFormComponent.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IFormComponent.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,34 @@
+/*
+ * $Id: IFormComponent.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+/**
+ *
+ */
+public interface IFormComponent
+    extends IComponent
+{
+
+    String getClientId();
+
+    IForm getForm();
+
+    void setForm( IForm form );
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IFormComponent.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/ITreeContentProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/ITreeContentProvider.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/ITreeContentProvider.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/ITreeContentProvider.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,34 @@
+/*
+ * $Id: ITreeContentProvider.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+import java.util.Collection;
+
+/**
+ *
+ */
+public interface ITreeContentProvider
+    extends IContentProvider
+{
+
+    public Collection getChildren( Object parentElement );
+
+    public boolean hasChildren( Object parentElement );
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/ITreeContentProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Indexed.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Indexed.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Indexed.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Indexed.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,105 @@
+/*
+ * $Id: Indexed.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+import java.util.*;
+
+public class Indexed
+    extends BaseIndexed
+{
+    private String[] _values = new String[] { "foo", "bar", "baz" };
+
+    private List _list = new ArrayList();
+
+    private ListSource _source = new ListSourceImpl();
+
+    private Map _props = new HashMap();
+
+    public Indexed()
+    {
+        _list.add( new Integer( 1 ) );
+        _list.add( new Integer( 2 ) );
+        _list.add( new Integer( 3 ) );
+
+        _source.addValue( new Bean2() );
+    }
+
+    public Indexed( String[] values )
+    {
+        _values = values;
+    }
+
+    /* Indexed property "_values" */
+    public String[] getValues()
+    {
+        return _values;
+    }
+
+    public void setValues( String[] value )
+    {
+        _values = value;
+    }
+
+    /**
+     * This method returns the string from the array and appends "xxx" to distinguish the "get" method from the direct
+     * array access.
+     */
+    public String getValues( int index )
+    {
+        return _values[index] + "xxx";
+    }
+
+    public void setValues( int index, String value )
+    {
+        if ( value.endsWith( "xxx" ) )
+        {
+            _values[index] = value.substring( 0, value.length() - 3 );
+        }
+        else
+        {
+            _values[index] = value;
+        }
+    }
+
+    public Collection getList()
+    {
+        return _list;
+    }
+
+    public String getTitle( int count )
+    {
+        return "Title count " + count;
+    }
+
+    public ListSource getSource()
+    {
+        return _source;
+    }
+
+    public void setProperty( String property, Object value )
+    {
+        _props.put( property, value );
+    }
+
+    public Object getProperty( String property )
+    {
+        return _props.get( property );
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Indexed.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IndexedMapObject.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IndexedMapObject.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IndexedMapObject.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IndexedMapObject.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,39 @@
+/*
+ * $Id: IndexedMapObject.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+/**
+ * Simple object used to test indexed map references using "#this" references.
+ */
+public class IndexedMapObject
+{
+
+    String property;
+
+    public IndexedMapObject( String property )
+    {
+        this.property = property;
+    }
+
+    public String getProperty()
+    {
+        return property;
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IndexedMapObject.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IndexedSetObject.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IndexedSetObject.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IndexedSetObject.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IndexedSetObject.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,66 @@
+/*
+ * $Id: IndexedSetObject.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+import java.util.HashMap;
+
+/**
+ * Test for OGNL-119.
+ */
+public class IndexedSetObject
+{
+
+    private final HashMap<String, Object> things = new HashMap<String, Object>();
+
+    public IndexedSetObject()
+    {
+        things.put( "x", new Container( 1 ) );
+    }
+
+    public Object getThing( String index )
+    {
+        return things.get( index );
+    }
+
+    public void setThing( String index, Object value )
+    {
+        things.put( index, value );
+    }
+
+    public static class Container
+    {
+        private int val;
+
+        public Container( int val )
+        {
+            this.val = val;
+        }
+
+        public int getVal()
+        {
+            return val;
+        }
+
+        public void setVal( int val )
+        {
+            this.val = val;
+        }
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/IndexedSetObject.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Inherited.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Inherited.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Inherited.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Inherited.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,29 @@
+/*
+ * $Id: Inherited.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+/**
+ *
+ */
+public interface Inherited
+{
+
+    String getMyString();
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Inherited.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/ListSource.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/ListSource.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/ListSource.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/ListSource.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,33 @@
+/*
+ * $Id: ListSource.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+/**
+ *
+ */
+public interface ListSource
+{
+
+    public int getTotal();
+
+    public Object addValue( Object value );
+
+    public Object getName();
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/ListSource.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/ListSourceImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/ListSourceImpl.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/ListSourceImpl.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/ListSourceImpl.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,50 @@
+/*
+ * $Id: ListSourceImpl.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+import java.util.ArrayList;
+
+/**
+ *
+ */
+public class ListSourceImpl
+    extends ArrayList
+    implements ListSource
+{
+
+    public ListSourceImpl()
+    {
+    }
+
+    public int getTotal()
+    {
+        return super.size();
+    }
+
+    public Object addValue( Object value )
+    {
+        return super.add( value );
+    }
+
+    public Object getName()
+    {
+        return null;
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/ListSourceImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/MenuItem.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/MenuItem.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/MenuItem.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/MenuItem.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,73 @@
+/*
+ * $Id: MenuItem.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ *
+ */
+public class MenuItem
+{
+
+    private String page;
+
+    private String label;
+
+    private List<MenuItem> children = new ArrayList<MenuItem>();
+
+    public MenuItem( String page, String label )
+    {
+        this( page, label, new ArrayList<MenuItem>() );
+    }
+
+    public MenuItem( String page, String label, List<MenuItem> children )
+    {
+        this.page = page;
+        this.label = label;
+        this.children = children;
+    }
+
+    public List<MenuItem> getChildren()
+    {
+        return children;
+    }
+
+    public String getLabel()
+    {
+        return label;
+    }
+
+    public String getPage()
+    {
+        return page;
+    }
+
+    public String toString()
+    {
+        StringBuffer sb = new StringBuffer( "MenuItem[" );
+        sb.append( "page=" + getPage() );
+        sb.append( ",label=" + getLabel() );
+        sb.append( ",children=" + getChildren().size() );
+        sb.append( "]" );
+        return sb.toString();
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/MenuItem.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Messages.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Messages.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Messages.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Messages.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,61 @@
+/*
+ * $Id: Messages.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+import java.util.Map;
+
+/**
+ *
+ */
+public class Messages
+{
+
+    Map _source;
+
+    public Messages( Map source )
+    {
+        _source = source;
+    }
+
+    public String getMessage( String key )
+    {
+        return (String) _source.get( key );
+    }
+
+    public String format( String key, Object[] parms )
+    {
+        return "foo";
+    }
+
+    public String format( String key, Object param1, Object param2, Object param3 )
+    {
+        return "blah";
+    }
+
+    public String format( String key, Object param1 )
+    {
+        return "first";
+    }
+
+    public String format( String key, Object param1, Object param2 )
+    {
+        return "haha";
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Model.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Model.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Model.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Model.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,32 @@
+/*
+ * $Id: Model.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+/**
+ *
+ */
+public class Model
+{
+
+    public int getOptionCount()
+    {
+        return 1;
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Model.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/MyMap.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/MyMap.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/MyMap.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/MyMap.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,32 @@
+/*
+ * $Id: MyMap.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+import java.util.*;
+
+/**
+ * This tests the interface inheritence test. This is a subinterface of Map and therefore should inherit the Map
+ * property accessor.
+ */
+public interface MyMap
+    extends Map
+{
+    public String getDescription();
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/MyMap.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/MyMapImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/MyMapImpl.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/MyMapImpl.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/MyMapImpl.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,108 @@
+/*
+ * $Id: MyMapImpl.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+import java.util.*;
+
+/**
+ * This tests the interface inheritence test. This test implements MyMap->Map but extends Object, therefore should be
+ * coded using MapPropertyAccessor instead of ObjectPropertyAccessor.
+ */
+public class MyMapImpl
+    extends Object
+    implements MyMap
+{
+    private Map map = new HashMap();
+
+    public void clear()
+    {
+        map.clear();
+    }
+
+    public boolean containsKey( Object key )
+    {
+        return map.containsKey( key );
+    }
+
+    public boolean containsValue( Object value )
+    {
+        return map.containsValue( value );
+    }
+
+    public Set entrySet()
+    {
+        return map.entrySet();
+    }
+
+    public boolean equals( Object o )
+    {
+        return map.equals( o );
+    }
+
+    public Object get( Object key )
+    {
+        return map.get( key );
+    }
+
+    public int hashCode()
+    {
+        return map.hashCode();
+    }
+
+    public boolean isEmpty()
+    {
+        return map.isEmpty();
+    }
+
+    public Set keySet()
+    {
+        return map.keySet();
+    }
+
+    public Object put( Object key, Object value )
+    {
+        return map.put( key, value );
+    }
+
+    public void putAll( Map t )
+    {
+        map.putAll( t );
+    }
+
+    public Object remove( Object key )
+    {
+        return map.remove( key );
+    }
+
+    public int size()
+    {
+        return map.size();
+    }
+
+    public Collection values()
+    {
+        return map.values();
+    }
+
+    public String getDescription()
+    {
+        return "MyMap implementation";
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/MyMapImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/ObjectIndexed.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/ObjectIndexed.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/ObjectIndexed.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/ObjectIndexed.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,32 @@
+/*
+ * $Id: ObjectIndexed.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+public class ObjectIndexed
+    extends BaseObjectIndexed
+{
+    public ObjectIndexed()
+    {
+        super();
+        setAttribute( "foo", "bar" );
+        setAttribute( "bar", "baz" );
+        setAttribute( "other", new OtherObjectIndexed() );
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/ObjectIndexed.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/OtherObjectIndexed.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/OtherObjectIndexed.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/OtherObjectIndexed.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/OtherObjectIndexed.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,31 @@
+/*
+ * $Id: OtherObjectIndexed.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+public class OtherObjectIndexed
+    extends BaseObjectIndexed
+{
+    public OtherObjectIndexed()
+    {
+        super();
+        setAttribute( "foo", "bar" );
+        setAttribute( "bar", "baz" );
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/OtherObjectIndexed.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/PersonGenericObject.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/PersonGenericObject.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/PersonGenericObject.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/PersonGenericObject.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,38 @@
+/*
+ * $Id: PersonGenericObject.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+/**
+ *
+ */
+public class PersonGenericObject
+    implements GenericObject
+{
+
+    public int getId()
+    {
+        return 1;
+    }
+
+    public String getDisplayName()
+    {
+        return "Henry Collins";
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/PersonGenericObject.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/PropertyHolder.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/PropertyHolder.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/PropertyHolder.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/PropertyHolder.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,60 @@
+/*
+ * $Id: PropertyHolder.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+/**
+ * Simple class used to test various kind of property resolutions.
+ */
+public class PropertyHolder
+{
+
+    String _value = "";
+
+    String _search = "foo";
+
+    public String getValue()
+    {
+        return _value;
+    }
+
+    public void setValue( String value )
+    {
+        _value = value;
+    }
+
+    public boolean hasValue()
+    {
+        return _value != null && _value.length() > 0;
+    }
+
+    public void setSearch( String value )
+    {
+        _search = value;
+    }
+
+    public String getSearch()
+    {
+        return _search;
+    }
+
+    public void search()
+    {
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/PropertyHolder.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Root.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Root.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Root.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Root.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,593 @@
+/*
+ * $Id: Root.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+import org.apache.commons.ognl.DynamicSubscript;
+
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Date;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Locale;
+import java.util.Map;
+
+public class Root
+    extends Object
+{
+    public static final String SIZE_STRING = "size";
+
+    public static final int STATIC_INT = 23;
+
+    private int[] array = { 1, 2, 3, 4 };
+
+    private Map map = new HashMap( 23 );
+
+    private MyMap myMap = new MyMapImpl();
+
+    private List list = Arrays.asList( new Object[] { null, this, array } );
+
+    private List settableList = new ArrayList( Arrays.asList( new Object[] { "foo", "bar", "baz" } ) );
+
+    private int index = 1;
+
+    private int intValue = 0;
+
+    private String stringValue;
+
+    private int yetAnotherIntValue = 46;
+
+    private boolean privateAccessorBooleanValue = true;
+
+    private int privateAccessorIntValue = 67;
+
+    private int privateAccessorIntValue2 = 67;
+
+    private int privateAccessorIntValue3 = 67;
+
+    public String anotherStringValue = "foo";
+
+    public int anotherIntValue = 123;
+
+    public int six = 6;
+
+    private boolean _disabled;
+
+    private Locale _selected = Locale.getDefault();
+
+    private List<List<Boolean>> _booleanValues = new ArrayList<List<Boolean>>();
+
+    private boolean[] _booleanArray = { true, false, true, true };
+
+    private List _list;
+
+    private int verbosity = 87;
+
+    private BeanProvider _beanProvider = new BeanProviderImpl();
+
+    private boolean _render;
+
+    private Boolean _readOnly = Boolean.FALSE;
+
+    private Integer _objIndex = new Integer( 1 );
+
+    private Object _genericObjIndex = new Integer( 2 );
+
+    private Date _date = new Date();
+
+    private boolean _openWindow = false;
+
+    private ITreeContentProvider _contentProvider = new TreeContentProvider();
+
+    private Indexed _indexed = new Indexed();
+
+    private SearchTab _tab = new SearchTab();
+
+    /*
+     * =================================================================== Public static methods
+     * ===================================================================
+     */
+    public static int getStaticInt()
+    {
+        return STATIC_INT;
+    }
+
+    /*
+     * =================================================================== Constructors
+     * ===================================================================
+     */
+    public Root()
+    {
+        super();
+    }
+
+    /*
+     * =================================================================== Private methods
+     * ===================================================================
+     */
+    {
+        map.put( "test", this );
+        map.put( "array", array );
+        map.put( "list", list );
+        map.put( "size", new Integer( 5000 ) );
+        map.put( DynamicSubscript.first, new Integer( 99 ) );
+        map.put( "baz", array );
+        map.put( "value", new Bean2() );
+        map.put( "bar", new Bean3() );
+        map.put( new Long( 82 ), "StringStuff=someValue" );
+
+        IFormComponent comp = new FormComponentImpl();
+        comp.setClientId( "formComponent" );
+
+        IForm form = new FormImpl();
+        form.setClientId( "form1" );
+        comp.setForm( form );
+
+        map.put( "comp", comp );
+
+        Map newMap = new HashMap();
+        Map chain = new HashMap();
+        newMap.put( "deep", chain );
+
+        chain.put( "last", Boolean.TRUE );
+
+        map.put( "nested", newMap );
+
+        /* make myMap identical */
+        myMap.putAll( map );
+
+        List<Boolean> bool1 = new ArrayList<Boolean>();
+        bool1.add( Boolean.TRUE );
+        bool1.add( Boolean.FALSE );
+        bool1.add( Boolean.TRUE );
+
+        _booleanValues.add( bool1 );
+
+        List<Boolean> bool2 = new ArrayList<Boolean>();
+        bool2.add( Boolean.TRUE );
+        bool2.add( Boolean.FALSE );
+        bool2.add( Boolean.TRUE );
+
+        _booleanValues.add( bool2 );
+    }
+
+    private boolean isPrivateAccessorBooleanValue()
+    {
+        return privateAccessorBooleanValue;
+    }
+
+    private void setPrivateAccessorBooleanValue( boolean value )
+    {
+        privateAccessorBooleanValue = value;
+    }
+
+    private int getPrivateAccessorIntValue()
+    {
+        return privateAccessorIntValue;
+    }
+
+    private void setPrivateAccessorIntValue( int value )
+    {
+        privateAccessorIntValue = value;
+    }
+
+    /*
+     * =================================================================== Protected methods
+     * ===================================================================
+     */
+    protected int getPrivateAccessorIntValue2()
+    {
+        return privateAccessorIntValue2;
+    }
+
+    protected void setPrivateAccessorIntValue2( int value )
+    {
+        privateAccessorIntValue2 = value;
+    }
+
+    /*
+     * =================================================================== Package protected methods
+     * ===================================================================
+     */
+    int getPrivateAccessorIntValue3()
+    {
+        return privateAccessorIntValue3;
+    }
+
+    void setPrivateAccessorIntValue3( int value )
+    {
+        privateAccessorIntValue3 = value;
+    }
+
+    /*
+     * =================================================================== Public methods
+     * ===================================================================
+     */
+    public int[] getArray()
+    {
+        return array;
+    }
+
+    public boolean[] getBooleanArray()
+    {
+        return _booleanArray;
+    }
+
+    public void setArray( int[] value )
+    {
+        array = value;
+    }
+
+    public String format( String key, Object value )
+    {
+        return format( key, new Object[] { value } );
+    }
+
+    public String format( String key, Object[] value )
+    {
+        return "formatted";
+    }
+
+    public String getCurrentClass( String value )
+    {
+        return value + " stop";
+    }
+
+    public Messages getMessages()
+    {
+        return new Messages( map );
+    }
+
+    public Map getMap()
+    {
+        return map;
+    }
+
+    public MyMap getMyMap()
+    {
+        return myMap;
+    }
+
+    public List getList()
+    {
+        return list;
+    }
+
+    public Object getAsset( String key )
+    {
+        return key;
+    }
+
+    public List getSettableList()
+    {
+        return settableList;
+    }
+
+    public int getIndex()
+    {
+        return index;
+    }
+
+    public Integer getObjectIndex()
+    {
+        return _objIndex;
+    }
+
+    public Integer getNullIndex()
+    {
+        return null;
+    }
+
+    public Object getGenericIndex()
+    {
+        return _genericObjIndex;
+    }
+
+    public int getIntValue()
+    {
+        return intValue;
+    }
+
+    public void setIntValue( int value )
+    {
+        intValue = value;
+    }
+
+    public int getTheInt()
+    {
+        return six;
+    }
+
+    public String getStringValue()
+    {
+        return stringValue;
+    }
+
+    public void setStringValue( String value )
+    {
+        stringValue = value;
+    }
+
+    public String getIndexedStringValue()
+    {
+        return "array";
+    }
+
+    public Object getNullObject()
+    {
+        return null;
+    }
+
+    public String getTestString()
+    {
+        return "wiggle";
+    }
+
+    public Object getProperty()
+    {
+        return new Bean2();
+    }
+
+    public Bean2 getBean2()
+    {
+        return new Bean2();
+    }
+
+    public Object getIndexedProperty( String name )
+    {
+        return myMap.get( name );
+    }
+
+    public Indexed getIndexer()
+    {
+        return _indexed;
+    }
+
+    public BeanProvider getBeans()
+    {
+        return _beanProvider;
+    }
+
+    public boolean getBooleanValue()
+    {
+        return _disabled;
+    }
+
+    public void setBooleanValue( boolean value )
+    {
+        _disabled = value;
+    }
+
+    public boolean getDisabled()
+    {
+        return _disabled;
+    }
+
+    public void setDisabled( boolean disabled )
+    {
+        _disabled = disabled;
+    }
+
+    public Locale getSelected()
+    {
+        return _selected;
+    }
+
+    public void setSelected( Locale locale )
+    {
+        _selected = locale;
+    }
+
+    public Locale getCurrLocale()
+    {
+        return Locale.getDefault();
+    }
+
+    public int getCurrentLocaleVerbosity()
+    {
+        return verbosity;
+    }
+
+    public boolean getRenderNavigation()
+    {
+        return _render;
+    }
+
+    public void setSelectedList( List selected )
+    {
+        _list = selected;
+    }
+
+    public List getSelectedList()
+    {
+        return _list;
+    }
+
+    public Boolean getReadonly()
+    {
+        return _readOnly;
+    }
+
+    public void setReadonly( Boolean value )
+    {
+        _readOnly = value;
+    }
+
+    public Object getSelf()
+    {
+        return this;
+    }
+
+    public Date getTestDate()
+    {
+        return _date;
+    }
+
+    public String getWidth()
+    {
+        return "238px";
+    }
+
+    public Long getTheLong()
+    {
+        return new Long( 4 );
+    }
+
+    public boolean isSorted()
+    {
+        return true;
+    }
+
+    public TestClass getMyTest()
+    {
+        return new TestImpl();
+    }
+
+    public ITreeContentProvider getContentProvider()
+    {
+        return _contentProvider;
+    }
+
+    public boolean isPrintDelivery()
+    {
+        return true;
+    }
+
+    public Long getCurrentDeliveryId()
+    {
+        return 1l;
+    }
+
+    public Boolean isFlyingMonkey()
+    {
+        return Boolean.TRUE;
+    }
+
+    public Boolean isDumb()
+    {
+        return Boolean.FALSE;
+    }
+
+    public Date getExpiration()
+    {
+        return null;
+    }
+
+    public Long getMapKey()
+    {
+        return new Long( 82 );
+    }
+
+    public Object getArrayValue()
+    {
+        return new Object[] { new Integer( "2" ), new Integer( "2" ) };
+    }
+
+    public List getResult()
+    {
+        List list = new ArrayList();
+        list.add( new Object[] { new Integer( "2" ), new Integer( "2" ) } );
+        list.add( new Object[] { new Integer( "2" ), new Integer( "2" ) } );
+        list.add( new Object[] { new Integer( "2" ), new Integer( "2" ) } );
+
+        return list;
+    }
+
+    public boolean isEditorDisabled()
+    {
+        return false;
+    }
+
+    public boolean isDisabled()
+    {
+        return true;
+    }
+
+    public boolean isOpenTransitionWin()
+    {
+        return _openWindow;
+    }
+
+    public void setOpenTransitionWin( boolean value )
+    {
+        _openWindow = value;
+    }
+
+    public boolean isOk( SimpleEnum value, String otherValue )
+    {
+        return true;
+    }
+
+    public List<List<Boolean>> getBooleanValues()
+    {
+        return _booleanValues;
+    }
+
+    public int getIndex1()
+    {
+        return 1;
+    }
+
+    public int getIndex2()
+    {
+        return 1;
+    }
+
+    public SearchTab getTab()
+    {
+        return _tab;
+    }
+
+    public void setTab( SearchTab tab )
+    {
+        _tab = tab;
+    }
+
+    public static class A
+    {
+        public int methodOfA( B b )
+        {
+            return 0;
+        }
+
+        public int getIntValue()
+        {
+            return 1;
+        }
+    }
+
+    public static class B
+    {
+        public int methodOfB( int i )
+        {
+            return 0;
+        }
+    }
+
+    public A getA()
+    {
+        return new A();
+    }
+
+    public B getB()
+    {
+        return new B();
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/Root.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/SearchCriteria.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/SearchCriteria.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/SearchCriteria.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/SearchCriteria.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,39 @@
+/*
+ * $Id: SearchCriteria.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+/**
+ * Test for OGNL-131.
+ */
+public class SearchCriteria
+{
+
+    String _displayName;
+
+    public SearchCriteria( String name )
+    {
+        _displayName = name;
+    }
+
+    public String getDisplayName()
+    {
+        return _displayName;
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/SearchCriteria.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/SearchTab.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/SearchTab.java?rev=1187621&view=auto
==============================================================================
--- commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/SearchTab.java (added)
+++ commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/SearchTab.java Sat Oct 22 01:20:52 2011
@@ -0,0 +1,85 @@
+/*
+ * $Id: SearchTab.java 1103095 2011-05-14 13:18:29Z simonetripodi $
+ * 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.
+ */
+package org.apache.commons.ognl.performance.objects;
+
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+
+/**
+ * Test for OGNL-131.
+ */
+public class SearchTab
+{
+
+    /**
+     * Flags stating which search criteria are selected
+     */
+    private List<List<Boolean>> searchCriteriaSelections = new ArrayList<List<Boolean>>();
+    {
+        searchCriteriaSelections.add( Arrays.asList( Boolean.TRUE, Boolean.FALSE, Boolean.FALSE ) );
+        searchCriteriaSelections.add( Arrays.asList( Boolean.FALSE, Boolean.TRUE, Boolean.TRUE ) );
+    }
+
+    public List<List<Boolean>> getSearchCriteriaSelections()
+    {
+        return this.searchCriteriaSelections;
+    }
+
+    public void setSearchCriteriaSelections( List<List<Boolean>> selections )
+    {
+        this.searchCriteriaSelections = selections;
+    }
+
+    /**
+     * Filters that can be applied to this tabs searches
+     */
+    private List<SearchCriteria> searchCriteria = new ArrayList<SearchCriteria>();
+    {
+        searchCriteria.add( new SearchCriteria( "Crittery critters" ) );
+        searchCriteria.add( new SearchCriteria( "Woodland creatures" ) );
+    }
+
+    public List<SearchCriteria> getSearchCriteria()
+    {
+        return this.searchCriteria;
+    }
+
+    public void setSearchCriteria( List<SearchCriteria> searchCriteria )
+    {
+        this.searchCriteria = searchCriteria;
+    }
+
+    /**
+     * 2D list of options available for each criteria
+     */
+    private List<List<String>> searchCriteriaOptions = new ArrayList<List<String>>();
+
+    public List<List<String>> getSearchCriteriaOptions()
+    {
+        return this.searchCriteriaOptions;
+    }
+
+    public void setSearchCriteriaOptions( List<List<String>> searchCriteriaOptions )
+    {
+
+        this.searchCriteriaOptions = searchCriteriaOptions;
+    }
+}

Propchange: commons/proper/ognl/performance-analysis/src/main/java/org/apache/commons/ognl/performance/objects/SearchTab.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message