struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsm...@apache.org
Subject svn commit: r356734 [3/8] - in /struts/shale/trunk/tiger: ./ src/conf/ src/java/ src/java/org/apache/shale/tiger/config/ src/java/org/apache/shale/tiger/faces/ src/java/org/apache/shale/tiger/managed/ src/java/org/apache/shale/tiger/managed/config/ src...
Date Wed, 14 Dec 2005 05:14:59 GMT
Modified: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ListEntriesHolder.java
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ListEntriesHolder.java?rev=356734&r1=356733&r2=356734&view=diff
==============================================================================
--- struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ListEntriesHolder.java (original)
+++ struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ListEntriesHolder.java Tue Dec 13 21:14:36 2005
@@ -1,29 +1,29 @@
-/*
- * Copyright 2004-2005 The Apache Software Foundation.
- * 
- * Licensed 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.shale.tiger.managed.config;
-
-/**
- * <p>Marker interface for a configuration bean that supports a
- * <code>listEntries</code> property.</p>
- */
-public interface ListEntriesHolder {
-    
-    public ListEntriesConfig getListEntries();
-
-    public void setListEntries(ListEntriesConfig listEntries);
-
-}
+/*
+ * Copyright 2004-2005 The Apache Software Foundation.
+ * 
+ * Licensed 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.shale.tiger.managed.config;
+
+/**
+ * <p>Marker interface for a configuration bean that supports a
+ * <code>listEntries</code> property.</p>
+ */
+public interface ListEntriesHolder {
+    
+    public ListEntriesConfig getListEntries();
+
+    public void setListEntries(ListEntriesConfig listEntries);
+
+}

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ListEntriesHolder.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ListEntriesHolder.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Modified: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ListEntryConfig.java
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ListEntryConfig.java?rev=356734&r1=356733&r2=356734&view=diff
==============================================================================
--- struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ListEntryConfig.java (original)
+++ struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ListEntryConfig.java Tue Dec 13 21:14:36 2005
@@ -1,88 +1,88 @@
-/*
- * Copyright 2004-2005 The Apache Software Foundation.
- * 
- * Licensed 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.shale.tiger.managed.config;
-
-/**
- * <p>Representation of the runtime relevant contents of a JavaServer Faces
- * <code>&lt;list-entry&gt;</code> configuration element.</p>
- */
-public class ListEntryConfig implements NullValueHolder {
-    
-    /** Creates a new instance of ListEntryConfig */
-    public ListEntryConfig() {
-    }
-
-    /**
-     * <p>Return <code>true</code> if the specified <code>value</code>
-     * is a value binding expression, rather than a literal value.</p>
-     */
-    public boolean isExpression() {
-        if ((value != null) && value.startsWith("#{") &&
-            value.endsWith("}")) {
-            return true;
-        } else {
-            return false;
-        }
-    }
-
-    /**
-     * Holds value of property value.
-     */
-    private String value;
-
-    /**
-     * Getter for property value.
-     * @return Value of property value.
-     */
-    public String getValue() {
-
-        return this.value;
-    }
-
-    /**
-     * Setter for property value.
-     * @param value New value of property value.
-     */
-    public void setValue(String value) {
-
-        this.value = value;
-    }
-
-    /**
-     * Holds value of property nullValue.
-     */
-    private boolean nullValue;
-
-    /**
-     * Getter for property nullValue.
-     * @return Value of property nullValue.
-     */
-    public boolean isNullValue() {
-
-        return this.nullValue;
-    }
-
-    /**
-     * Setter for property nullValue.
-     * @param nullValue New value of property nullValue.
-     */
-    public void setNullValue(boolean nullValue) {
-
-        this.nullValue = nullValue;
-    }
-    
-}
+/*
+ * Copyright 2004-2005 The Apache Software Foundation.
+ * 
+ * Licensed 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.shale.tiger.managed.config;
+
+/**
+ * <p>Representation of the runtime relevant contents of a JavaServer Faces
+ * <code>&lt;list-entry&gt;</code> configuration element.</p>
+ */
+public class ListEntryConfig implements NullValueHolder {
+    
+    /** Creates a new instance of ListEntryConfig */
+    public ListEntryConfig() {
+    }
+
+    /**
+     * <p>Return <code>true</code> if the specified <code>value</code>
+     * is a value binding expression, rather than a literal value.</p>
+     */
+    public boolean isExpression() {
+        if ((value != null) && value.startsWith("#{") &&
+            value.endsWith("}")) {
+            return true;
+        } else {
+            return false;
+        }
+    }
+
+    /**
+     * Holds value of property value.
+     */
+    private String value;
+
+    /**
+     * Getter for property value.
+     * @return Value of property value.
+     */
+    public String getValue() {
+
+        return this.value;
+    }
+
+    /**
+     * Setter for property value.
+     * @param value New value of property value.
+     */
+    public void setValue(String value) {
+
+        this.value = value;
+    }
+
+    /**
+     * Holds value of property nullValue.
+     */
+    private boolean nullValue;
+
+    /**
+     * Getter for property nullValue.
+     * @return Value of property nullValue.
+     */
+    public boolean isNullValue() {
+
+        return this.nullValue;
+    }
+
+    /**
+     * Setter for property nullValue.
+     * @param nullValue New value of property nullValue.
+     */
+    public void setNullValue(boolean nullValue) {
+
+        this.nullValue = nullValue;
+    }
+    
+}

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ListEntryConfig.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ListEntryConfig.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Modified: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ManagedBeanConfig.java
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ManagedBeanConfig.java?rev=356734&r1=356733&r2=356734&view=diff
==============================================================================
--- struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ManagedBeanConfig.java (original)
+++ struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ManagedBeanConfig.java Tue Dec 13 21:14:36 2005
@@ -1,184 +1,184 @@
-/*
- * Copyright 2004-2005 The Apache Software Foundation.
- * 
- * Licensed 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.shale.tiger.managed.config;
-
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * <p>Representation of the runtime relevant contents of a JavaServer Faces
- * <code>&lt;managed-bean&gt;</code> configuration element.</p>
- */
-public class ManagedBeanConfig implements ListEntriesHolder, MapEntriesHolder {
-
-    /** Creates a new instance of ManagedBeanConfig */
-    public ManagedBeanConfig() {
-    }
-
-    /**
-     * Holds value of property name.
-     */
-    private String name;
-
-    /**
-     * Getter for property name.
-     * @return Value of property name.
-     */
-    public String getName() {
-
-        return this.name;
-    }
-
-    /**
-     * Setter for property name.
-     * @param name New value of property name.
-     */
-    public void setName(String name) {
-
-        this.name = name;
-    }
-
-    /**
-     * Holds value of property type.
-     */
-    private String type;
-
-    /**
-     * Getter for property type.
-     * @return Value of property type.
-     */
-    public String getType() {
-
-        return this.type;
-    }
-
-    /**
-     * Setter for property type.
-     * @param type New value of property type.
-     */
-    public void setType(String type) {
-
-        this.type = type;
-    }
-
-    /**
-     * Holds value of property scope.
-     */
-    private String scope;
-
-    /**
-     * Getter for property scope.
-     * @return Value of property scope.
-     */
-    public String getScope() {
-
-        return this.scope;
-    }
-
-    /**
-     * Setter for property scope.
-     * @param scope New value of property scope.
-     */
-    public void setScope(String scope) {
-
-        this.scope = scope;
-    }
-
-    /**
-     * <p>Map of managed properties associated with this managed bean,
-     * keyed by property name.</p>
-     */
-    private Map<String,ManagedPropertyConfig> properties =
-      new HashMap<String,ManagedPropertyConfig>();
-
-
-    /**
-     * <p>Add the specified managed property to the set that is associated
-     * with this managed bean, replacing any previous entry.</p>
-     */
-    public void addProperty(ManagedPropertyConfig property) {
-        properties.put(property.getName(), property);
-    }
-
-
-    /**
-     * <p>Return the list of managed properties associated with this
-     * managed bean.</p>
-     */
-    public Map<String,ManagedPropertyConfig> getProperties() {
-        return this.properties;
-    }
-
-
-    /**
-     * <p>Return the managed property (associated with this managed bean)
-     * with the specified name, if any; otherwise, return null.</p>
-     *
-     * @param name Name of the managed property to return
-     */
-    public ManagedPropertyConfig getProperty(String name) {
-        return properties.get(name);
-    }
-
-    /**
-     * Holds value of property listEntries.
-     */
-    private ListEntriesConfig listEntries;
-
-    /**
-     * Getter for property listEntries.
-     * @return Value of property listEntries.
-     */
-    public ListEntriesConfig getListEntries() {
-
-        return this.listEntries;
-    }
-
-    /**
-     * Setter for property listEntries.
-     * @param listEntries New value of property listEntries.
-     */
-    public void setListEntries(ListEntriesConfig listEntries) {
-
-        this.listEntries = listEntries;
-    }
-
-    /**
-     * Holds value of property mapEntries.
-     */
-    private MapEntriesConfig mapEntries;
-
-    /**
-     * Getter for property mapEntries.
-     * @return Value of property mapEntries.
-     */
-    public MapEntriesConfig getMapEntries() {
-
-        return this.mapEntries;
-    }
-
-    /**
-     * Setter for property mapEntries.
-     * @param mapEntries New value of property mapEntries.
-     */
-    public void setMapEntries(MapEntriesConfig mapEntries) {
-
-        this.mapEntries = mapEntries;
-    }
-
-
-}
+/*
+ * Copyright 2004-2005 The Apache Software Foundation.
+ * 
+ * Licensed 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.shale.tiger.managed.config;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * <p>Representation of the runtime relevant contents of a JavaServer Faces
+ * <code>&lt;managed-bean&gt;</code> configuration element.</p>
+ */
+public class ManagedBeanConfig implements ListEntriesHolder, MapEntriesHolder {
+
+    /** Creates a new instance of ManagedBeanConfig */
+    public ManagedBeanConfig() {
+    }
+
+    /**
+     * Holds value of property name.
+     */
+    private String name;
+
+    /**
+     * Getter for property name.
+     * @return Value of property name.
+     */
+    public String getName() {
+
+        return this.name;
+    }
+
+    /**
+     * Setter for property name.
+     * @param name New value of property name.
+     */
+    public void setName(String name) {
+
+        this.name = name;
+    }
+
+    /**
+     * Holds value of property type.
+     */
+    private String type;
+
+    /**
+     * Getter for property type.
+     * @return Value of property type.
+     */
+    public String getType() {
+
+        return this.type;
+    }
+
+    /**
+     * Setter for property type.
+     * @param type New value of property type.
+     */
+    public void setType(String type) {
+
+        this.type = type;
+    }
+
+    /**
+     * Holds value of property scope.
+     */
+    private String scope;
+
+    /**
+     * Getter for property scope.
+     * @return Value of property scope.
+     */
+    public String getScope() {
+
+        return this.scope;
+    }
+
+    /**
+     * Setter for property scope.
+     * @param scope New value of property scope.
+     */
+    public void setScope(String scope) {
+
+        this.scope = scope;
+    }
+
+    /**
+     * <p>Map of managed properties associated with this managed bean,
+     * keyed by property name.</p>
+     */
+    private Map<String,ManagedPropertyConfig> properties =
+      new HashMap<String,ManagedPropertyConfig>();
+
+
+    /**
+     * <p>Add the specified managed property to the set that is associated
+     * with this managed bean, replacing any previous entry.</p>
+     */
+    public void addProperty(ManagedPropertyConfig property) {
+        properties.put(property.getName(), property);
+    }
+
+
+    /**
+     * <p>Return the list of managed properties associated with this
+     * managed bean.</p>
+     */
+    public Map<String,ManagedPropertyConfig> getProperties() {
+        return this.properties;
+    }
+
+
+    /**
+     * <p>Return the managed property (associated with this managed bean)
+     * with the specified name, if any; otherwise, return null.</p>
+     *
+     * @param name Name of the managed property to return
+     */
+    public ManagedPropertyConfig getProperty(String name) {
+        return properties.get(name);
+    }
+
+    /**
+     * Holds value of property listEntries.
+     */
+    private ListEntriesConfig listEntries;
+
+    /**
+     * Getter for property listEntries.
+     * @return Value of property listEntries.
+     */
+    public ListEntriesConfig getListEntries() {
+
+        return this.listEntries;
+    }
+
+    /**
+     * Setter for property listEntries.
+     * @param listEntries New value of property listEntries.
+     */
+    public void setListEntries(ListEntriesConfig listEntries) {
+
+        this.listEntries = listEntries;
+    }
+
+    /**
+     * Holds value of property mapEntries.
+     */
+    private MapEntriesConfig mapEntries;
+
+    /**
+     * Getter for property mapEntries.
+     * @return Value of property mapEntries.
+     */
+    public MapEntriesConfig getMapEntries() {
+
+        return this.mapEntries;
+    }
+
+    /**
+     * Setter for property mapEntries.
+     * @param mapEntries New value of property mapEntries.
+     */
+    public void setMapEntries(MapEntriesConfig mapEntries) {
+
+        this.mapEntries = mapEntries;
+    }
+
+
+}

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ManagedBeanConfig.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ManagedBeanConfig.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Modified: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ManagedPropertyConfig.java
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ManagedPropertyConfig.java?rev=356734&r1=356733&r2=356734&view=diff
==============================================================================
--- struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ManagedPropertyConfig.java (original)
+++ struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ManagedPropertyConfig.java Tue Dec 13 21:14:36 2005
@@ -1,181 +1,181 @@
-/*
- * Copyright 2004-2005 The Apache Software Foundation.
- * 
- * Licensed 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.shale.tiger.managed.config;
-
-/**
- * <p>Representation of the runtime relevant contents of a JavaServer Faces
- * <code>&lt;managed-property&gt;</code> configuration element.</p>
- */
-public class ManagedPropertyConfig
-    implements ListEntriesHolder, MapEntriesHolder, NullValueHolder {
-    
-    /** Creates a new instance of ManagedPropertyConfig */
-    public ManagedPropertyConfig() {
-    }
-
-    /**
-     * <p>Return <code>true</code> if the specified <code>value</code>
-     * is a value binding expression, rather than a literal value.</p>
-     */
-    public boolean isExpression() {
-        if ((value != null) && value.startsWith("#{") &&
-            value.endsWith("}")) {
-            return true;
-        } else {
-            return false;
-        }
-    }
-
-    /**
-     * Holds value of property name.
-     */
-    private String name;
-
-    /**
-     * Getter for property name.
-     * @return Value of property name.
-     */
-    public String getName() {
-
-        return this.name;
-    }
-
-    /**
-     * Setter for property name.
-     * @param name New value of property name.
-     */
-    public void setName(String name) {
-
-        this.name = name;
-    }
-
-    /**
-     * Holds value of property type.
-     */
-    private String type;
-
-    /**
-     * Getter for property type.
-     * @return Value of property type.
-     */
-    public String getType() {
-
-        return this.type;
-    }
-
-    /**
-     * Setter for property type.
-     * @param type New value of property type.
-     */
-    public void setType(String type) {
-
-        this.type = type;
-    }
-
-    /**
-     * Holds value of property value.
-     */
-    private String value;
-
-    /**
-     * Getter for property value.
-     * @return Value of property value.
-     */
-    public String getValue() {
-
-        return this.value;
-    }
-
-    /**
-     * Setter for property value.
-     * @param value New value of property value.
-     */
-    public void setValue(String value) {
-
-        this.value = value;
-    }
-
-    /**
-     * Holds value of property nullValue.
-     */
-    private boolean nullValue;
-
-    /**
-     * Getter for property nullValue.
-     * @return Value of property nullValue.
-     */
-    public boolean isNullValue() {
-
-        return this.nullValue;
-    }
-
-    /**
-     * Setter for property nullValue.
-     * @param nullValue New value of property nullValue.
-     */
-    public void setNullValue(boolean nullValue) {
-
-        this.nullValue = nullValue;
-    }
-
-    /**
-     * Holds value of property listEntries.
-     */
-    private ListEntriesConfig listEntries;
-
-    /**
-     * Getter for property listEntries.
-     * @return Value of property listEntries.
-     */
-    public ListEntriesConfig getListEntries() {
-
-        return this.listEntries;
-    }
-
-    /**
-     * Setter for property listEntries.
-     * @param listEntries New value of property listEntries.
-     */
-    public void setListEntries(ListEntriesConfig listEntries) {
-
-        this.listEntries = listEntries;
-    }
-
-    /**
-     * Holds value of property mapEntries.
-     */
-    private MapEntriesConfig mapEntries;
-
-    /**
-     * Getter for property mapEntries.
-     * @return Value of property mapEntries.
-     */
-    public MapEntriesConfig getMapEntries() {
-
-        return this.mapEntries;
-    }
-
-    /**
-     * Setter for property mapEntries.
-     * @param mapEntries New value of property mapEntries.
-     */
-    public void setMapEntries(MapEntriesConfig mapEntries) {
-
-        this.mapEntries = mapEntries;
-    }
-
-}
+/*
+ * Copyright 2004-2005 The Apache Software Foundation.
+ * 
+ * Licensed 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.shale.tiger.managed.config;
+
+/**
+ * <p>Representation of the runtime relevant contents of a JavaServer Faces
+ * <code>&lt;managed-property&gt;</code> configuration element.</p>
+ */
+public class ManagedPropertyConfig
+    implements ListEntriesHolder, MapEntriesHolder, NullValueHolder {
+    
+    /** Creates a new instance of ManagedPropertyConfig */
+    public ManagedPropertyConfig() {
+    }
+
+    /**
+     * <p>Return <code>true</code> if the specified <code>value</code>
+     * is a value binding expression, rather than a literal value.</p>
+     */
+    public boolean isExpression() {
+        if ((value != null) && value.startsWith("#{") &&
+            value.endsWith("}")) {
+            return true;
+        } else {
+            return false;
+        }
+    }
+
+    /**
+     * Holds value of property name.
+     */
+    private String name;
+
+    /**
+     * Getter for property name.
+     * @return Value of property name.
+     */
+    public String getName() {
+
+        return this.name;
+    }
+
+    /**
+     * Setter for property name.
+     * @param name New value of property name.
+     */
+    public void setName(String name) {
+
+        this.name = name;
+    }
+
+    /**
+     * Holds value of property type.
+     */
+    private String type;
+
+    /**
+     * Getter for property type.
+     * @return Value of property type.
+     */
+    public String getType() {
+
+        return this.type;
+    }
+
+    /**
+     * Setter for property type.
+     * @param type New value of property type.
+     */
+    public void setType(String type) {
+
+        this.type = type;
+    }
+
+    /**
+     * Holds value of property value.
+     */
+    private String value;
+
+    /**
+     * Getter for property value.
+     * @return Value of property value.
+     */
+    public String getValue() {
+
+        return this.value;
+    }
+
+    /**
+     * Setter for property value.
+     * @param value New value of property value.
+     */
+    public void setValue(String value) {
+
+        this.value = value;
+    }
+
+    /**
+     * Holds value of property nullValue.
+     */
+    private boolean nullValue;
+
+    /**
+     * Getter for property nullValue.
+     * @return Value of property nullValue.
+     */
+    public boolean isNullValue() {
+
+        return this.nullValue;
+    }
+
+    /**
+     * Setter for property nullValue.
+     * @param nullValue New value of property nullValue.
+     */
+    public void setNullValue(boolean nullValue) {
+
+        this.nullValue = nullValue;
+    }
+
+    /**
+     * Holds value of property listEntries.
+     */
+    private ListEntriesConfig listEntries;
+
+    /**
+     * Getter for property listEntries.
+     * @return Value of property listEntries.
+     */
+    public ListEntriesConfig getListEntries() {
+
+        return this.listEntries;
+    }
+
+    /**
+     * Setter for property listEntries.
+     * @param listEntries New value of property listEntries.
+     */
+    public void setListEntries(ListEntriesConfig listEntries) {
+
+        this.listEntries = listEntries;
+    }
+
+    /**
+     * Holds value of property mapEntries.
+     */
+    private MapEntriesConfig mapEntries;
+
+    /**
+     * Getter for property mapEntries.
+     * @return Value of property mapEntries.
+     */
+    public MapEntriesConfig getMapEntries() {
+
+        return this.mapEntries;
+    }
+
+    /**
+     * Setter for property mapEntries.
+     * @param mapEntries New value of property mapEntries.
+     */
+    public void setMapEntries(MapEntriesConfig mapEntries) {
+
+        this.mapEntries = mapEntries;
+    }
+
+}

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ManagedPropertyConfig.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/ManagedPropertyConfig.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Modified: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/MapEntriesConfig.java
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/MapEntriesConfig.java?rev=356734&r1=356733&r2=356734&view=diff
==============================================================================
--- struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/MapEntriesConfig.java (original)
+++ struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/MapEntriesConfig.java Tue Dec 13 21:14:36 2005
@@ -1,122 +1,122 @@
-/*
- * Copyright 2004-2005 The Apache Software Foundation.
- * 
- * Licensed 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.shale.tiger.managed.config;
-
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * <p>Representation of the runtime relevant contents of a JavaServer Faces
- * <code>&lt;map-entries&gt;</code> configuration element.</p>
- */
-public class MapEntriesConfig {
-    
-    /** Creates a new instance of MapEntriesConfig */
-    public MapEntriesConfig() {
-    }
-
-    /**
-     * Holds value of property keyType.
-     */
-    private String keyType;
-
-    /**
-     * Getter for property keyType.
-     * @return Value of property keyType.
-     */
-    public String getKeyType() {
-
-        return this.keyType;
-    }
-
-    /**
-     * Setter for property keyType.
-     * @param keyType New value of property keyType.
-     */
-    public void setKeyType(String keyType) {
-
-        this.keyType = keyType;
-    }
-
-    /**
-     * Holds value of property valueType.
-     */
-    private String valueType;
-
-    /**
-     * Getter for property valueType.
-     * @return Value of property valueType.
-     */
-    public String getValueType() {
-
-        return this.valueType;
-    }
-
-    /**
-     * Setter for property valueType.
-     * @param valueType New value of property valueType.
-     */
-    public void setValueType(String valueType) {
-
-        this.valueType = valueType;
-    }
-    
-
-    /**
-     * <p><code>List</code> of map entry configurations for this
-     * map entries configuration.</p>
-     */
-    private List<MapEntryConfig> entries = new ArrayList<MapEntryConfig>();
-
-
-    /**
-     * <p>Add a map entry configuration to the list for this
-     * map entries configuration.</p>
-     *
-     * @param entry The map entry configuration to add
-     */
-    public void addEntry(MapEntryConfig entry) {
-        this.entries.add(entry);
-    }
-
-
-    /**
-     * <p>Return the list of map entry configurations for this
-     * map entries configuration.</p>
-     */
-    public List<MapEntryConfig> getEntries() {
-        return this.entries;
-    }
-
-
-    /**
-     * <p>REturn the map entry configuration for the specified key, if any;
-     * otherwise, return <code>null</code>.</p>
-     *
-     * @param key Key for which to return a map entry configuration
-     */
-    public MapEntryConfig getEntry(String key) {
-        for (MapEntryConfig entry : entries) {
-            if (key.equals(entry.getKey())) {
-                return entry;
-            }
-        }
-        return null;
-    }
-
-
-}
+/*
+ * Copyright 2004-2005 The Apache Software Foundation.
+ * 
+ * Licensed 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.shale.tiger.managed.config;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * <p>Representation of the runtime relevant contents of a JavaServer Faces
+ * <code>&lt;map-entries&gt;</code> configuration element.</p>
+ */
+public class MapEntriesConfig {
+    
+    /** Creates a new instance of MapEntriesConfig */
+    public MapEntriesConfig() {
+    }
+
+    /**
+     * Holds value of property keyType.
+     */
+    private String keyType;
+
+    /**
+     * Getter for property keyType.
+     * @return Value of property keyType.
+     */
+    public String getKeyType() {
+
+        return this.keyType;
+    }
+
+    /**
+     * Setter for property keyType.
+     * @param keyType New value of property keyType.
+     */
+    public void setKeyType(String keyType) {
+
+        this.keyType = keyType;
+    }
+
+    /**
+     * Holds value of property valueType.
+     */
+    private String valueType;
+
+    /**
+     * Getter for property valueType.
+     * @return Value of property valueType.
+     */
+    public String getValueType() {
+
+        return this.valueType;
+    }
+
+    /**
+     * Setter for property valueType.
+     * @param valueType New value of property valueType.
+     */
+    public void setValueType(String valueType) {
+
+        this.valueType = valueType;
+    }
+    
+
+    /**
+     * <p><code>List</code> of map entry configurations for this
+     * map entries configuration.</p>
+     */
+    private List<MapEntryConfig> entries = new ArrayList<MapEntryConfig>();
+
+
+    /**
+     * <p>Add a map entry configuration to the list for this
+     * map entries configuration.</p>
+     *
+     * @param entry The map entry configuration to add
+     */
+    public void addEntry(MapEntryConfig entry) {
+        this.entries.add(entry);
+    }
+
+
+    /**
+     * <p>Return the list of map entry configurations for this
+     * map entries configuration.</p>
+     */
+    public List<MapEntryConfig> getEntries() {
+        return this.entries;
+    }
+
+
+    /**
+     * <p>REturn the map entry configuration for the specified key, if any;
+     * otherwise, return <code>null</code>.</p>
+     *
+     * @param key Key for which to return a map entry configuration
+     */
+    public MapEntryConfig getEntry(String key) {
+        for (MapEntryConfig entry : entries) {
+            if (key.equals(entry.getKey())) {
+                return entry;
+            }
+        }
+        return null;
+    }
+
+
+}

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/MapEntriesConfig.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/MapEntriesConfig.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Modified: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/MapEntriesHolder.java
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/MapEntriesHolder.java?rev=356734&r1=356733&r2=356734&view=diff
==============================================================================
--- struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/MapEntriesHolder.java (original)
+++ struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/MapEntriesHolder.java Tue Dec 13 21:14:36 2005
@@ -1,29 +1,29 @@
-/*
- * Copyright 2004-2005 The Apache Software Foundation.
- * 
- * Licensed 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.shale.tiger.managed.config;
-
-/**
- * <p>Marker interface for a configuration bean that supports a
- * <code>mapEntries</code> property.</p>
- */
-public interface MapEntriesHolder {
-    
-    public MapEntriesConfig getMapEntries();
-
-    public void setMapEntries(MapEntriesConfig mapEntries);
-
-}
+/*
+ * Copyright 2004-2005 The Apache Software Foundation.
+ * 
+ * Licensed 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.shale.tiger.managed.config;
+
+/**
+ * <p>Marker interface for a configuration bean that supports a
+ * <code>mapEntries</code> property.</p>
+ */
+public interface MapEntriesHolder {
+    
+    public MapEntriesConfig getMapEntries();
+
+    public void setMapEntries(MapEntriesConfig mapEntries);
+
+}

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/MapEntriesHolder.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/MapEntriesHolder.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Modified: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/MapEntryConfig.java
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/MapEntryConfig.java?rev=356734&r1=356733&r2=356734&view=diff
==============================================================================
--- struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/MapEntryConfig.java (original)
+++ struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/MapEntryConfig.java Tue Dec 13 21:14:36 2005
@@ -1,111 +1,111 @@
-/*
- * Copyright 2004-2005 The Apache Software Foundation.
- * 
- * Licensed 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.shale.tiger.managed.config;
-
-/**
- * <p>Representation of the runtime relevant contents of a JavaServer Faces
- * <code>&lt;map-entry&gt;</code> configuration element.</p>
- */
-public class MapEntryConfig implements NullValueHolder {
-    
-    /** Creates a new instance of MapEntryConfig */
-    public MapEntryConfig() {
-    }
-
-    /**
-     * <p>Return <code>true</code> if the specified <code>value</code>
-     * is a value binding expression, rather than a literal value.</p>
-     */
-    public boolean isExpression() {
-        if ((value != null) && value.startsWith("#{") &&
-            value.endsWith("}")) {
-            return true;
-        } else {
-            return false;
-        }
-    }
-
-    /**
-     * Holds value of property key.
-     */
-    private String key;
-
-    /**
-     * Getter for property key.
-     * @return Value of property key.
-     */
-    public String getKey() {
-
-        return this.key;
-    }
-
-    /**
-     * Setter for property key.
-     * @param key New value of property key.
-     */
-    public void setKey(String key) {
-
-        this.key = key;
-    }
-
-    /**
-     * Holds value of property value.
-     */
-    private String value;
-
-    /**
-     * Getter for property value.
-     * @return Value of property value.
-     */
-    public String getValue() {
-
-        return this.value;
-    }
-
-    /**
-     * Setter for property value.
-     * @param value New value of property value.
-     */
-    public void setValue(String value) {
-
-        this.value = value;
-    }
-
-    /**
-     * Holds value of property nullValue.
-     */
-    private boolean nullValue;
-
-    /**
-     * Getter for property nullValue.
-     * @return Value of property nullValue.
-     */
-    public boolean isNullValue() {
-
-        return this.nullValue;
-    }
-
-    /**
-     * Setter for property nullValue.
-     * @param nullValue New value of property nullValue.
-     */
-    public void setNullValue(boolean nullValue) {
-
-        this.nullValue = nullValue;
-    }
-    
-}
+/*
+ * Copyright 2004-2005 The Apache Software Foundation.
+ * 
+ * Licensed 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.shale.tiger.managed.config;
+
+/**
+ * <p>Representation of the runtime relevant contents of a JavaServer Faces
+ * <code>&lt;map-entry&gt;</code> configuration element.</p>
+ */
+public class MapEntryConfig implements NullValueHolder {
+    
+    /** Creates a new instance of MapEntryConfig */
+    public MapEntryConfig() {
+    }
+
+    /**
+     * <p>Return <code>true</code> if the specified <code>value</code>
+     * is a value binding expression, rather than a literal value.</p>
+     */
+    public boolean isExpression() {
+        if ((value != null) && value.startsWith("#{") &&
+            value.endsWith("}")) {
+            return true;
+        } else {
+            return false;
+        }
+    }
+
+    /**
+     * Holds value of property key.
+     */
+    private String key;
+
+    /**
+     * Getter for property key.
+     * @return Value of property key.
+     */
+    public String getKey() {
+
+        return this.key;
+    }
+
+    /**
+     * Setter for property key.
+     * @param key New value of property key.
+     */
+    public void setKey(String key) {
+
+        this.key = key;
+    }
+
+    /**
+     * Holds value of property value.
+     */
+    private String value;
+
+    /**
+     * Getter for property value.
+     * @return Value of property value.
+     */
+    public String getValue() {
+
+        return this.value;
+    }
+
+    /**
+     * Setter for property value.
+     * @param value New value of property value.
+     */
+    public void setValue(String value) {
+
+        this.value = value;
+    }
+
+    /**
+     * Holds value of property nullValue.
+     */
+    private boolean nullValue;
+
+    /**
+     * Getter for property nullValue.
+     * @return Value of property nullValue.
+     */
+    public boolean isNullValue() {
+
+        return this.nullValue;
+    }
+
+    /**
+     * Setter for property nullValue.
+     * @param nullValue New value of property nullValue.
+     */
+    public void setNullValue(boolean nullValue) {
+
+        this.nullValue = nullValue;
+    }
+    
+}

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/MapEntryConfig.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/MapEntryConfig.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Modified: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/NullValueHolder.java
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/NullValueHolder.java?rev=356734&r1=356733&r2=356734&view=diff
==============================================================================
--- struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/NullValueHolder.java (original)
+++ struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/NullValueHolder.java Tue Dec 13 21:14:36 2005
@@ -1,29 +1,29 @@
-/*
- * Copyright 2004-2005 The Apache Software Foundation.
- * 
- * Licensed 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.shale.tiger.managed.config;
-
-/**
- * <p>Marker interface for a configuration bean that supports a
- * <code>nullValue</code> property.</p>
- */
-public interface NullValueHolder {
-    
-    public boolean isNullValue();
-
-    public void setNullValue(boolean nullValue);
-
-}
+/*
+ * Copyright 2004-2005 The Apache Software Foundation.
+ * 
+ * Licensed 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.shale.tiger.managed.config;
+
+/**
+ * <p>Marker interface for a configuration bean that supports a
+ * <code>nullValue</code> property.</p>
+ */
+public interface NullValueHolder {
+    
+    public boolean isNullValue();
+
+    public void setNullValue(boolean nullValue);
+
+}

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/NullValueHolder.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/NullValueHolder.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/config/package.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/package.html
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/rules/ListEntriesRule.java
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/rules/ListEntriesRule.java?rev=356734&r1=356733&r2=356734&view=diff
==============================================================================
--- struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/rules/ListEntriesRule.java (original)
+++ struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/rules/ListEntriesRule.java Tue Dec 13 21:14:36 2005
@@ -1,110 +1,110 @@
-/*
- * Copyright 2004-2005 The Apache Software Foundation.
- * 
- * Licensed 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.shale.tiger.managed.rules;
-
-import org.apache.commons.digester.Rule;
-import org.apache.shale.tiger.managed.config.ListEntriesConfig;
-import org.apache.shale.tiger.managed.config.ListEntriesHolder;
-import org.xml.sax.Attributes;
-
-/**
- * <p>Digester rule for processing a <code>&lt;list-entries&gt;</code>
- * element.</p>
- */
-public class ListEntriesRule extends Rule {
-    
-    /** Creates a new instance of ListEntriesRule */
-    public ListEntriesRule() {
-    }
-
-    /** <p>Fully qualified class name of our configuration element bean.</p> */
-    private static final String CLASS_NAME =
-            "org.apache.shale.tiger.managed.config.ListEntriesConfig";
-
-    /**
-     * <p>Create a new {@link ListEntriesConfig} and push it on to the
-     * Digester stack.</p>
-     *
-     * @param namespace Namespace URI of the matching element
-     * @param name Local name of the matching element
-     * @param attributes Attribute list of the matching element
-     *
-     * @exception Exception if a parsing error occurs
-     */
-    public void begin(String namespace, String name,
-                      Attributes attributes) throws Exception {
-
-        Class clazz = digester.getClassLoader().loadClass(CLASS_NAME);
-        digester.push(clazz.newInstance());
-
-    }
-
-
-    /**
-     * <p>No body processing for this element.</p>
-     *
-     * @param namespace Namespace URI of the matching element
-     * @param name Local name of the matching element
-     *
-     * @throws Exception if a parsing error occurs
-     */
-    public void body(String namespace, String name) throws Exception {
-    }
-
-
-    /**
-     * <p>Pop the {@link ListEntriesConfig} instance from the stack,
-     * and either add it or merge it with parent information.</p>
-     *
-     * @param namespace Namespace URI of the matching element
-     * @param name Local name of the matching element
-     *
-     * @exception IllegalStateException if the popped object is not
-     *  of the correct type
-     */
-    public void end(String namespace, String name) throws Exception {
-
-        ListEntriesConfig config = (ListEntriesConfig) digester.pop();
-        ListEntriesHolder parent = (ListEntriesHolder) digester.peek();
-        ListEntriesConfig previous = (ListEntriesConfig) parent.getListEntries();
-        if (previous == null) {
-            parent.setListEntries(config);
-        } else {
-            merge(config, previous);
-        }
-
-    }
-
-
-    /**
-     * <p>Merge properties from <code>config</code> into
-     * <code>previous</code>.</p>
-     *
-     * @param config Newly constructed bean
-     * @param previous Previous bean to merge into
-     */
-    static void merge(ListEntriesConfig config, ListEntriesConfig previous) {
-
-        if (config.getValueType() != null) {
-            previous.setValueType(config.getValueType());
-        }
-        previous.getEntries().addAll(config.getEntries());
-
-    }
-
-
-}
+/*
+ * Copyright 2004-2005 The Apache Software Foundation.
+ * 
+ * Licensed 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.shale.tiger.managed.rules;
+
+import org.apache.commons.digester.Rule;
+import org.apache.shale.tiger.managed.config.ListEntriesConfig;
+import org.apache.shale.tiger.managed.config.ListEntriesHolder;
+import org.xml.sax.Attributes;
+
+/**
+ * <p>Digester rule for processing a <code>&lt;list-entries&gt;</code>
+ * element.</p>
+ */
+public class ListEntriesRule extends Rule {
+    
+    /** Creates a new instance of ListEntriesRule */
+    public ListEntriesRule() {
+    }
+
+    /** <p>Fully qualified class name of our configuration element bean.</p> */
+    private static final String CLASS_NAME =
+            "org.apache.shale.tiger.managed.config.ListEntriesConfig";
+
+    /**
+     * <p>Create a new {@link ListEntriesConfig} and push it on to the
+     * Digester stack.</p>
+     *
+     * @param namespace Namespace URI of the matching element
+     * @param name Local name of the matching element
+     * @param attributes Attribute list of the matching element
+     *
+     * @exception Exception if a parsing error occurs
+     */
+    public void begin(String namespace, String name,
+                      Attributes attributes) throws Exception {
+
+        Class clazz = digester.getClassLoader().loadClass(CLASS_NAME);
+        digester.push(clazz.newInstance());
+
+    }
+
+
+    /**
+     * <p>No body processing for this element.</p>
+     *
+     * @param namespace Namespace URI of the matching element
+     * @param name Local name of the matching element
+     *
+     * @throws Exception if a parsing error occurs
+     */
+    public void body(String namespace, String name) throws Exception {
+    }
+
+
+    /**
+     * <p>Pop the {@link ListEntriesConfig} instance from the stack,
+     * and either add it or merge it with parent information.</p>
+     *
+     * @param namespace Namespace URI of the matching element
+     * @param name Local name of the matching element
+     *
+     * @exception IllegalStateException if the popped object is not
+     *  of the correct type
+     */
+    public void end(String namespace, String name) throws Exception {
+
+        ListEntriesConfig config = (ListEntriesConfig) digester.pop();
+        ListEntriesHolder parent = (ListEntriesHolder) digester.peek();
+        ListEntriesConfig previous = (ListEntriesConfig) parent.getListEntries();
+        if (previous == null) {
+            parent.setListEntries(config);
+        } else {
+            merge(config, previous);
+        }
+
+    }
+
+
+    /**
+     * <p>Merge properties from <code>config</code> into
+     * <code>previous</code>.</p>
+     *
+     * @param config Newly constructed bean
+     * @param previous Previous bean to merge into
+     */
+    static void merge(ListEntriesConfig config, ListEntriesConfig previous) {
+
+        if (config.getValueType() != null) {
+            previous.setValueType(config.getValueType());
+        }
+        previous.getEntries().addAll(config.getEntries());
+
+    }
+
+
+}

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/rules/ListEntriesRule.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/rules/ListEntriesRule.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Modified: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/rules/ListEntryRule.java
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/rules/ListEntryRule.java?rev=356734&r1=356733&r2=356734&view=diff
==============================================================================
--- struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/rules/ListEntryRule.java (original)
+++ struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/rules/ListEntryRule.java Tue Dec 13 21:14:36 2005
@@ -1,88 +1,88 @@
-/*
- * Copyright 2004-2005 The Apache Software Foundation.
- * 
- * Licensed 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.shale.tiger.managed.rules;
-
-import org.apache.commons.digester.Rule;
-import org.apache.shale.tiger.managed.config.ListEntriesConfig;
-import org.apache.shale.tiger.managed.config.ListEntryConfig;
-import org.xml.sax.Attributes;
-
-/**
- * <p>Digester rule for processing a <code>&lt;list-entries&gt;</code>
- * nested element.</p>
- */
-public class ListEntryRule extends Rule {
-    
-    /** Creates a new instance of ListEntryRule */
-    public ListEntryRule() {
-    }
-
-    /** <p>Fully qualified class name of our configuration element bean.</p> */
-    private static final String CLASS_NAME =
-            "org.apache.shale.tiger.managed.config.ListEntryConfig";
-
-    /**
-     * <p>Create a new {@link ListEntryConfig} and push it on to the
-     * Digester stack.</p>
-     *
-     * @param namespace Namespace URI of the matching element
-     * @param name Local name of the matching element
-     * @param attributes Attribute list of the matching element
-     *
-     * @exception Exception if a parsing error occurs
-     */
-    public void begin(String namespace, String name,
-                      Attributes attributes) throws Exception {
-
-        Class clazz = digester.getClassLoader().loadClass(CLASS_NAME);
-        digester.push(clazz.newInstance());
-
-    }
-
-
-    /**
-     * <p>No body processing for this element.</p>
-     *
-     * @param namespace Namespace URI of the matching element
-     * @param name Local name of the matching element
-     *
-     * @throws Exception if a parsing error occurs
-     */
-    public void body(String namespace, String name) throws Exception {
-    }
-
-
-    /**
-     * <p>Pop the {@link ListEntryConfig} instance from the stack,
-     * and either add it to the parent configuration.</p>
-     *
-     * @param namespace Namespace URI of the matching element
-     * @param name Local name of the matching element
-     *
-     * @exception IllegalStateException if the popped object is not
-     *  of the correct type
-     */
-    public void end(String namespace, String name) throws Exception {
-
-        ListEntryConfig config = (ListEntryConfig) digester.pop();
-        ListEntriesConfig parent = (ListEntriesConfig) digester.peek();
-        parent.addEntry(config);
-
-    }
-
-
-}
+/*
+ * Copyright 2004-2005 The Apache Software Foundation.
+ * 
+ * Licensed 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.shale.tiger.managed.rules;
+
+import org.apache.commons.digester.Rule;
+import org.apache.shale.tiger.managed.config.ListEntriesConfig;
+import org.apache.shale.tiger.managed.config.ListEntryConfig;
+import org.xml.sax.Attributes;
+
+/**
+ * <p>Digester rule for processing a <code>&lt;list-entries&gt;</code>
+ * nested element.</p>
+ */
+public class ListEntryRule extends Rule {
+    
+    /** Creates a new instance of ListEntryRule */
+    public ListEntryRule() {
+    }
+
+    /** <p>Fully qualified class name of our configuration element bean.</p> */
+    private static final String CLASS_NAME =
+            "org.apache.shale.tiger.managed.config.ListEntryConfig";
+
+    /**
+     * <p>Create a new {@link ListEntryConfig} and push it on to the
+     * Digester stack.</p>
+     *
+     * @param namespace Namespace URI of the matching element
+     * @param name Local name of the matching element
+     * @param attributes Attribute list of the matching element
+     *
+     * @exception Exception if a parsing error occurs
+     */
+    public void begin(String namespace, String name,
+                      Attributes attributes) throws Exception {
+
+        Class clazz = digester.getClassLoader().loadClass(CLASS_NAME);
+        digester.push(clazz.newInstance());
+
+    }
+
+
+    /**
+     * <p>No body processing for this element.</p>
+     *
+     * @param namespace Namespace URI of the matching element
+     * @param name Local name of the matching element
+     *
+     * @throws Exception if a parsing error occurs
+     */
+    public void body(String namespace, String name) throws Exception {
+    }
+
+
+    /**
+     * <p>Pop the {@link ListEntryConfig} instance from the stack,
+     * and either add it to the parent configuration.</p>
+     *
+     * @param namespace Namespace URI of the matching element
+     * @param name Local name of the matching element
+     *
+     * @exception IllegalStateException if the popped object is not
+     *  of the correct type
+     */
+    public void end(String namespace, String name) throws Exception {
+
+        ListEntryConfig config = (ListEntryConfig) digester.pop();
+        ListEntriesConfig parent = (ListEntriesConfig) digester.peek();
+        parent.addEntry(config);
+
+    }
+
+
+}

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/rules/ListEntryRule.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/rules/ListEntryRule.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Modified: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/rules/ManagedBeanRule.java
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/rules/ManagedBeanRule.java?rev=356734&r1=356733&r2=356734&view=diff
==============================================================================
--- struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/rules/ManagedBeanRule.java (original)
+++ struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/rules/ManagedBeanRule.java Tue Dec 13 21:14:36 2005
@@ -1,142 +1,142 @@
-/*
- * Copyright 2004-2005 The Apache Software Foundation.
- * 
- * Licensed 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.shale.tiger.managed.rules;
-
-import com.sun.corba.se.impl.encoding.OSFCodeSetRegistry.Entry;
-import java.util.Iterator;
-import java.util.Map;
-import java.util.Set;
-import org.apache.commons.digester.Rule;
-import org.apache.shale.tiger.config.FacesConfigConfig;
-import org.apache.shale.tiger.managed.config.ManagedBeanConfig;
-import org.apache.shale.tiger.managed.config.ManagedPropertyConfig;
-import org.xml.sax.Attributes;
-
-/**
- * <p>Digester rule for processing a <code>&lt;managed-bean&gt;</code>
- * element.</p>
- */
-public class ManagedBeanRule extends Rule {
-    
-    /** Creates a new instance of ManagedBeanRule */
-    public ManagedBeanRule() {
-    }
-
-    /** <p>Fully qualified class name of our configuration element bean.</p> */
-    private static final String CLASS_NAME =
-            "org.apache.shale.tiger.managed.config.ManagedBeanConfig";
-
-    /**
-     * <p>Create a new {@link ManagedBeanConfig} and push it on to the
-     * Digester stack.</p>
-     *
-     * @param namespace Namespace URI of the matching element
-     * @param name Local name of the matching element
-     * @param attributes Attribute list of the matching element
-     *
-     * @exception Exception if a parsing error occurs
-     */
-    public void begin(String namespace, String name,
-                      Attributes attributes) throws Exception {
-
-        Class clazz = digester.getClassLoader().loadClass(CLASS_NAME);
-        digester.push(clazz.newInstance());
-
-    }
-
-
-    /**
-     * <p>No body processing for this element.</p>
-     *
-     * @param namespace Namespace URI of the matching element
-     * @param name Local name of the matching element
-     *
-     * @throws Exception if a parsing error occurs
-     */
-    public void body(String namespace, String name) throws Exception {
-    }
-
-
-    /**
-     * <p>Pop the {@link ManagedBeanConfig} instance from the stack,
-     * and either add it or merge it with parent information.</p>
-     *
-     * @param namespace Namespace URI of the matching element
-     * @param name Local name of the matching element
-     *
-     * @exception IllegalStateException if the popped object is not
-     *  of the correct type
-     */
-    public void end(String namespace, String name) throws Exception {
-
-        ManagedBeanConfig config = (ManagedBeanConfig) digester.pop();
-        FacesConfigConfig parent = (FacesConfigConfig) digester.peek();
-        ManagedBeanConfig previous = parent.getManagedBean(config.getName());
-        if (previous == null) {
-            parent.addManagedBean(config);
-        } else {
-            merge(config, previous);
-        }
-
-    }
-
-
-    /**
-     * <p>Merge properties from <code>config</code> into
-     * <code>previous</code>.</p>
-     *
-     * @param config Newly constructed bean
-     * @param previous Previous bean to merge into
-     */
-    static void merge(ManagedBeanConfig config, ManagedBeanConfig previous) {
-
-        if (config.getType() != null) {
-            previous.setType(config.getType());
-        }
-        if (config.getScope() != null) {
-            previous.setScope(config.getScope());
-        }
-        Set<Map.Entry<String,ManagedPropertyConfig>> properties =
-                config.getProperties().entrySet();
-        for (Map.Entry<String,ManagedPropertyConfig> property : properties) {
-            ManagedPropertyConfig prevProperty =
-                    previous.getProperty(property.getValue().getName());
-            if (prevProperty == null) {
-                previous.addProperty(property.getValue());
-            } else {
-                ManagedPropertyRule.merge(property.getValue(), prevProperty);
-            }
-        }
-        if (config.getListEntries() != null) {
-            if (previous.getListEntries() != null) {
-                ListEntriesRule.merge(config.getListEntries(), previous.getListEntries());
-            } else {
-                previous.setListEntries(config.getListEntries());
-            }
-        }
-        if (config.getMapEntries() != null) {
-            if (previous.getMapEntries() != null) {
-                MapEntriesRule.merge(config.getMapEntries(), previous.getMapEntries());
-            } else {
-                previous.setMapEntries(config.getMapEntries());
-            }
-        }
-
-    }
-
-
-}
+/*
+ * Copyright 2004-2005 The Apache Software Foundation.
+ * 
+ * Licensed 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.shale.tiger.managed.rules;
+
+import com.sun.corba.se.impl.encoding.OSFCodeSetRegistry.Entry;
+import java.util.Iterator;
+import java.util.Map;
+import java.util.Set;
+import org.apache.commons.digester.Rule;
+import org.apache.shale.tiger.config.FacesConfigConfig;
+import org.apache.shale.tiger.managed.config.ManagedBeanConfig;
+import org.apache.shale.tiger.managed.config.ManagedPropertyConfig;
+import org.xml.sax.Attributes;
+
+/**
+ * <p>Digester rule for processing a <code>&lt;managed-bean&gt;</code>
+ * element.</p>
+ */
+public class ManagedBeanRule extends Rule {
+    
+    /** Creates a new instance of ManagedBeanRule */
+    public ManagedBeanRule() {
+    }
+
+    /** <p>Fully qualified class name of our configuration element bean.</p> */
+    private static final String CLASS_NAME =
+            "org.apache.shale.tiger.managed.config.ManagedBeanConfig";
+
+    /**
+     * <p>Create a new {@link ManagedBeanConfig} and push it on to the
+     * Digester stack.</p>
+     *
+     * @param namespace Namespace URI of the matching element
+     * @param name Local name of the matching element
+     * @param attributes Attribute list of the matching element
+     *
+     * @exception Exception if a parsing error occurs
+     */
+    public void begin(String namespace, String name,
+                      Attributes attributes) throws Exception {
+
+        Class clazz = digester.getClassLoader().loadClass(CLASS_NAME);
+        digester.push(clazz.newInstance());
+
+    }
+
+
+    /**
+     * <p>No body processing for this element.</p>
+     *
+     * @param namespace Namespace URI of the matching element
+     * @param name Local name of the matching element
+     *
+     * @throws Exception if a parsing error occurs
+     */
+    public void body(String namespace, String name) throws Exception {
+    }
+
+
+    /**
+     * <p>Pop the {@link ManagedBeanConfig} instance from the stack,
+     * and either add it or merge it with parent information.</p>
+     *
+     * @param namespace Namespace URI of the matching element
+     * @param name Local name of the matching element
+     *
+     * @exception IllegalStateException if the popped object is not
+     *  of the correct type
+     */
+    public void end(String namespace, String name) throws Exception {
+
+        ManagedBeanConfig config = (ManagedBeanConfig) digester.pop();
+        FacesConfigConfig parent = (FacesConfigConfig) digester.peek();
+        ManagedBeanConfig previous = parent.getManagedBean(config.getName());
+        if (previous == null) {
+            parent.addManagedBean(config);
+        } else {
+            merge(config, previous);
+        }
+
+    }
+
+
+    /**
+     * <p>Merge properties from <code>config</code> into
+     * <code>previous</code>.</p>
+     *
+     * @param config Newly constructed bean
+     * @param previous Previous bean to merge into
+     */
+    static void merge(ManagedBeanConfig config, ManagedBeanConfig previous) {
+
+        if (config.getType() != null) {
+            previous.setType(config.getType());
+        }
+        if (config.getScope() != null) {
+            previous.setScope(config.getScope());
+        }
+        Set<Map.Entry<String,ManagedPropertyConfig>> properties =
+                config.getProperties().entrySet();
+        for (Map.Entry<String,ManagedPropertyConfig> property : properties) {
+            ManagedPropertyConfig prevProperty =
+                    previous.getProperty(property.getValue().getName());
+            if (prevProperty == null) {
+                previous.addProperty(property.getValue());
+            } else {
+                ManagedPropertyRule.merge(property.getValue(), prevProperty);
+            }
+        }
+        if (config.getListEntries() != null) {
+            if (previous.getListEntries() != null) {
+                ListEntriesRule.merge(config.getListEntries(), previous.getListEntries());
+            } else {
+                previous.setListEntries(config.getListEntries());
+            }
+        }
+        if (config.getMapEntries() != null) {
+            if (previous.getMapEntries() != null) {
+                MapEntriesRule.merge(config.getMapEntries(), previous.getMapEntries());
+            } else {
+                previous.setMapEntries(config.getMapEntries());
+            }
+        }
+
+    }
+
+
+}

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/rules/ManagedBeanRule.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: struts/shale/trunk/tiger/src/java/org/apache/shale/tiger/managed/rules/ManagedBeanRule.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message