portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r607450 [16/36] - in /portals/pluto/trunk: ./ assembly/src/main/assembly/ assembly/src/main/resources/ maven-pluto-plugin/ maven-pluto-plugin/src/main/java/org/apache/pluto/maven/ pluto-ant-tasks/ pluto-ant-tasks/src/assemble/ pluto-ant-tas...
Date Sat, 29 Dec 2007 17:32:18 GMT
Modified: portals/pluto/trunk/pluto-descriptor-impl/src/main/resources/org/apache/pluto/descriptors/services/castor/castor-web-xml-mapping.xml
URL: http://svn.apache.org/viewvc/portals/pluto/trunk/pluto-descriptor-impl/src/main/resources/org/apache/pluto/descriptors/services/castor/castor-web-xml-mapping.xml?rev=607450&r1=607449&r2=607450&view=diff
==============================================================================
--- portals/pluto/trunk/pluto-descriptor-impl/src/main/resources/org/apache/pluto/descriptors/services/castor/castor-web-xml-mapping.xml
(original)
+++ portals/pluto/trunk/pluto-descriptor-impl/src/main/resources/org/apache/pluto/descriptors/services/castor/castor-web-xml-mapping.xml
Sat Dec 29 09:31:56 2007
@@ -1,387 +1,387 @@
-<?xml version="1.0"?>
-<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Object Mapping DTD Version 1.0//EN"
-                         "http://castor.org/mapping.dtd">
-<!-- 
+<?xml version="1.0"?>
+<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Object Mapping DTD Version 1.0//EN"
+                         "http://castor.org/mapping.dtd">
+<!-- 
   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.
--->
-<mapping>
-  <description>Servlet Deployment Descriptor Mapping</description>
-
-  <!--
-    The Root WebApplication Element
-    This element should map each and every one of the possible 2.4
-    elements in order.
-      + icon,
-      + display-name
-      + description
-      + distributable
-      + context-param
-      + filter
-      + filter-mapping
-      + listener
-      + servlet
-      + servlet-mapping
-      + session-config
-      + mime-mapping
-      + welcome-file-list?,
-      + error-page
-      + taglib
-      + resource-env-ref
-      + resource-ref
-      + security-constraint
-      + login-config
-      + security-role
-      + env-entry
-      + ejb-ref
-      + ejb-local-ref
-    -->
-  <class name="org.apache.pluto.descriptors.servlet.WebAppDD">
-    <map-to xml="web-app"/>
-    
-    <field name="ServletVersion"
-           handler="org.apache.pluto.descriptors.services.castor.ServletVersionCastorFieldHandler"
+  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.
+-->
+<mapping>
+  <description>Servlet Deployment Descriptor Mapping</description>
+
+  <!--
+    The Root WebApplication Element
+    This element should map each and every one of the possible 2.4
+    elements in order.
+      + icon,
+      + display-name
+      + description
+      + distributable
+      + context-param
+      + filter
+      + filter-mapping
+      + listener
+      + servlet
+      + servlet-mapping
+      + session-config
+      + mime-mapping
+      + welcome-file-list?,
+      + error-page
+      + taglib
+      + resource-env-ref
+      + resource-ref
+      + security-constraint
+      + login-config
+      + security-role
+      + env-entry
+      + ejb-ref
+      + ejb-local-ref
+    -->
+  <class name="org.apache.pluto.descriptors.servlet.WebAppDD">
+    <map-to xml="web-app"/>
+    
+    <field name="ServletVersion"
+           handler="org.apache.pluto.descriptors.services.castor.ServletVersionCastorFieldHandler"
            type="java.lang.String">
         <bind-xml name="version" node="attribute"/>
-    </field>
-        
-    <field name="Icon"
-           type="org.apache.pluto.descriptors.common.IconDD"/>
-
-    <field name="DisplayName">
-      <bind-xml name="display-name" node="element"/>
-    </field>
-
-    <field name="Description">
-      <bind-xml name="description" node="element"/>
-    </field>
-
-    <field name="Distributable"
-           type="org.apache.pluto.descriptors.servlet.DistributableDD"
-           handler="org.apache.pluto.descriptors.services.castor.DistributableDDCastorFieldHandler">
-      <bind-xml name="distributable" node="element"/>
-    </field>
-
-    <field name="ContextParams"
-           type="org.apache.pluto.descriptors.common.InitParamDD"
-           collection="arraylist">
-      <bind-xml name="context-param" node="element"/>
-    </field>
-
-    <field name="Filters"
-           type="org.apache.pluto.descriptors.servlet.FilterDD"
-           collection="arraylist">
-      <bind-xml name="filter" node="element"/>
-    </field>
-
-    <field name="Listeners"
-        type="org.apache.pluto.descriptors.servlet.ListenerDD"
-        collection="arraylist">
-        <bind-xml name="listener" node="element"/>
-    </field>
-
-    <field name="Servlets"
-           type="org.apache.pluto.descriptors.servlet.ServletDD"
-           collection="arraylist">
-      <bind-xml name="servlet" node="element"/>
-    </field>
-
-    <field name="FilterMappings"
-           type="org.apache.pluto.descriptors.servlet.FilterMappingDD"
-           collection="arraylist">
-      <bind-xml name="filter-mapping" node="element"/>
-    </field>
-
-    <field name="ServletMappings"
-        type="org.apache.pluto.descriptors.servlet.ServletMappingDD"
-        collection="arraylist">
-        <bind-xml name="servlet-mapping" node="element"/>
-    </field>
-
-    <field name="SessionConfig"
-           type="org.apache.pluto.descriptors.servlet.SessionConfigDD">
-      <bind-xml name="session-config" node="element"/>
-    </field>
-
-    <field name="MimeMappings"
-           type="org.apache.pluto.descriptors.servlet.MimeMappingDD"
-           collection="arraylist">
-      <bind-xml name="mime-mapping" node="element"/>
-    </field>
-
-    <field name="WelcomeFileList"
-           type="org.apache.pluto.descriptors.servlet.WelcomeFileListDD">
-       <bind-xml name="welcome-file-list" node="element"/>
-    </field>
-
-    <field name="ErrorPages"
-           type="org.apache.pluto.descriptors.servlet.ErrorPageDD"
-           collection="arraylist">
-        <bind-xml name="error-page" node="element"/>
-    </field>
-
-    <field name="Taglibs"
-           type="org.apache.pluto.descriptors.servlet.TaglibDD"
-           collection="arraylist">
-      <bind-xml name="taglib" node="element"/>
-    </field>
-
-    <field name="ResourceRefs"
-           type="org.apache.pluto.descriptors.servlet.ResourceRefDD"
-           collection="arraylist">
-      <bind-xml name="resource-ref" node="element"/>
-    </field>
-
-    <field name="SecurityConstraints"
-           type="org.apache.pluto.descriptors.servlet.SecurityConstraintDD"
-           collection="arraylist">
-      <bind-xml name="security-constraint" node="element"/>
-    </field>
-
-    <field name="LoginConfig"
-           type="org.apache.pluto.descriptors.servlet.LoginConfigDD">
-        <bind-xml name="login-config" node="element"/>
-    </field>
-
-    <field name="SecurityRoles"
-           type="org.apache.pluto.descriptors.servlet.SecurityRoleDD"
-           collection="arraylist">
-        <bind-xml name="security-role" node="element"/>
-    </field>
-
-    <field name="envEntrys"
-           type="org.apache.pluto.descriptors.servlet.EnvEntryDD"
-           collection="arraylist">
-      <bind-xml name="env-entry" node="element"/>    
-    </field>
-      
-    <field name="ejbRefs"
-           type="org.apache.pluto.descriptors.servlet.EjbRefDD"
-           collection="arraylist">
-      <bind-xml name="ejb-ref" node="element"/>
-    </field>
-  </class>
-
-  <!--
-    Filter DDuration
-     + filter
-     + filter-mapping
-    -->
-  <class name="org.apache.pluto.descriptors.servlet.FilterDD">
-      <field name="Icon" type="org.apache.pluto.descriptors.common.IconDD"/>
-
-      <field name="FilterName">
-          <bind-xml name="filter-name" node="element"/>
-      </field>
-
-      <field name="DisplayName">
-          <bind-xml name="display-name" node="element"/>
-      </field>
-
-      <field name="Description">
-          <bind-xml name="description" node="element"/>
-      </field>
-
-      <field name="FilterClass">
-          <bind-xml name="filter-class" node="element"/>
-      </field>
-
-      <field name="InitParams"
-          type="org.apache.pluto.descriptors.common.InitParamDD"
-          collection="arraylist">
-          <bind-xml name="init-param" node="element"/>
-      </field>
-  </class>
-  <class name="org.apache.pluto.descriptors.servlet.FilterMappingDD">
-
-    <field name="FilterName">
-        <bind-xml name="filter-name" node="element"/>
-    </field>
-
-    <field name="ServletName">
-        <bind-xml name="servlet-name" node="element"/>
-    </field>
-
-    <field name="UrlPatterns" type="java.lang.String"
-           collection="arraylist">
-        <bind-xml name="url-pattern" node="element"/>
-    </field>
-    <field name="Dispatchers" type="java.lang.String"
-           collection="arraylist">
-        <bind-xml name="dispatcher" node="element"/>
-    </field>
-  </class>
-
-
-    <!--
-      Servlet DDuration
-      -->
-
-    <class name="org.apache.pluto.descriptors.servlet.ServletDD">
-      <field name="Icon" type="org.apache.pluto.descriptors.common.IconDD"/>
-
-      <field name="ServletName">
-          <bind-xml name="servlet-name" node="element"/>
-      </field>
-
-      <field name="DisplayName">
-          <bind-xml name="display-name" node="element"/>
-      </field>
-
-      <field name="Description">
-          <bind-xml name="description" node="element"/>
-      </field>
-
-      <field name="ServletClass">
-          <bind-xml name="servlet-class" node="element"/>
-      </field>
-
-      <field name="JspFile">
-          <bind-xml name="jsp-file" node="element"/>
-      </field>
-
-      <field name="InitParams"
-             type="org.apache.pluto.descriptors.common.InitParamDD"
-             collection="arraylist">
-          <bind-xml name="init-param"/>
-      </field>
-
-      <field name="LoadOnStartup"
-             type="org.apache.pluto.descriptors.servlet.LoadOnStartupDD">
-          <bind-xml name="load-on-startup" node="element"/>
-      </field>
-
-      <field name="SecurityRoleRefs"
-             type="org.apache.pluto.descriptors.common.SecurityRoleRefDD"
-             collection="arraylist">
-        <bind-xml name="security-role-ref" node="element"/>
-      </field>
-    </class>
-
-    <class name="org.apache.pluto.descriptors.servlet.SessionConfigDD">
-      <field name="SessionTimeout" type="int">
-        <bind-xml name="session-timeout" node="element"/>
-      </field>
-    </class>
-
-    <class name="org.apache.pluto.descriptors.servlet.WelcomeFileListDD">
-      <field name="WelcomeFiles"
-          type="java.lang.String"
-          collection="arraylist">
-          <bind-xml name="welcome-file" node="element"/>
-      </field>
-    </class>
-
-    <!--
-      Security Constraint
-      + SecurityConstraint
-      + WebResourceCollection
-      -->
-    <class name="org.apache.pluto.descriptors.servlet.SecurityConstraintDD">
-        <field name="DisplayName" type="java.lang.String"/>
-        <field name="WebResourceCollections"
-               type="org.apache.pluto.descriptors.servlet.WebResourceCollectionDD"
-               collection="arraylist">
-          <bind-xml name="web-resource-collection" node="element"/>
-        </field>
-        <field name="AuthConstraint"
-               type="org.apache.pluto.descriptors.servlet.AuthConstraintDD"/>
-        <field name="UserDataConstraint"
-               type="org.apache.pluto.descriptors.common.UserDataConstraintDD"/>
-    </class>
-    <class name="org.apache.pluto.descriptors.servlet.WebResourceCollectionDD">
-        <field name="description" type="java.lang.String"/>
-        <field name="webResourceName" type="java.lang.String"/>
-        <field name="httpMethods" type="java.lang.String" collection="arraylist">
-          <bind-xml name="http-method" node="element"/>
-        </field>
-        <field name="urlPatterns" type="java.lang.String" collection="arraylist">
-            <bind-xml name="url-pattern" node="element"/>
-        </field>
-    </class>
-
-    <class name="org.apache.pluto.descriptors.servlet.LoginConfigDD">
-        <field name="AuthMethod" type="java.lang.String"/>
-        <field name="FormLoginConfig"
-               type="org.apache.pluto.descriptors.servlet.FormLoginConfigDD">
-          <bind-xml name="form-login-config" node="element"/>
-        </field>
-        <field name="RealmName" type="java.lang.String"/>
-    </class>
-
-    <class name="org.apache.pluto.descriptors.servlet.LoadOnStartupDD">
-        <field name="Priority" type="int">
-            <bind-xml name="load-on-startup" node="text"/>
-        </field>
-    </class>
-    
-    <class name="org.apache.pluto.descriptors.common.DescriptionDD">
-        <field name="Lang">
-            <bind-xml name="lang" node="attribute"/>
-        </field>
-
-        <field name="Description">
-            <bind-xml name="description" node="text"/>
-        </field>
-    </class>
-
-    <class name="org.apache.pluto.descriptors.common.InitParamDD">
-        <field name="ParamName">
-            <bind-xml name="param-name" node="element"/>
-        </field>
-        <field name="ParamValue">
-            <bind-xml name="param-value" node="element"/>
-        </field>
-        <field name="Descriptions" type="org.apache.pluto.descriptors.common.DescriptionDD"
-               collection="arraylist">
-            <bind-xml name="description" node="element"/>
-        </field>
-    </class>
-
-
-    <class name="org.apache.pluto.descriptors.common.SecurityRoleRefDD">
-        <field name="RoleName">
-            <bind-xml name="role-name" node="element"/>
-        </field>
-        <field name="RoleLink">
-            <bind-xml name="role-link" node="element"/>
-        </field>
-        <field name="Descriptions" type="org.apache.pluto.descriptors.common.DescriptionDD"
-               collection="arraylist">
-            <bind-xml name="description"/>
-        </field>
-    </class>
-
-    <class name="org.apache.pluto.descriptors.common.UserDataConstraintDD">
-        <field name="Descriptions" type="org.apache.pluto.descriptors.common.DescriptionDD"
-               collection="arraylist">
-            <bind-xml name="description" node="element"/>
-        </field>
-
-        <field name="TransportGuarantee">
-            <bind-xml name="transport-guarantee" node="element"/>
-        </field>
-    </class>
-    
-    <class name="org.apache.pluto.descriptors.servlet.DistributableDD">
-         <field name="Distributable" 
-                type="java.lang.Boolean"
-                handler="org.apache.pluto.descriptors.services.castor.DistributableCastorFieldHandler">
-             <bind-xml name="distributable" node="element"/>
-         </field>
-    </class>        
-
-</mapping>
-
+    </field>
+        
+    <field name="Icon"
+           type="org.apache.pluto.descriptors.common.IconDD"/>
+
+    <field name="DisplayName">
+      <bind-xml name="display-name" node="element"/>
+    </field>
+
+    <field name="Description">
+      <bind-xml name="description" node="element"/>
+    </field>
+
+    <field name="Distributable"
+           type="org.apache.pluto.descriptors.servlet.DistributableDD"
+           handler="org.apache.pluto.descriptors.services.castor.DistributableDDCastorFieldHandler">
+      <bind-xml name="distributable" node="element"/>
+    </field>
+
+    <field name="ContextParams"
+           type="org.apache.pluto.descriptors.common.InitParamDD"
+           collection="arraylist">
+      <bind-xml name="context-param" node="element"/>
+    </field>
+
+    <field name="Filters"
+           type="org.apache.pluto.descriptors.servlet.FilterDD"
+           collection="arraylist">
+      <bind-xml name="filter" node="element"/>
+    </field>
+
+    <field name="Listeners"
+        type="org.apache.pluto.descriptors.servlet.ListenerDD"
+        collection="arraylist">
+        <bind-xml name="listener" node="element"/>
+    </field>
+
+    <field name="Servlets"
+           type="org.apache.pluto.descriptors.servlet.ServletDD"
+           collection="arraylist">
+      <bind-xml name="servlet" node="element"/>
+    </field>
+
+    <field name="FilterMappings"
+           type="org.apache.pluto.descriptors.servlet.FilterMappingDD"
+           collection="arraylist">
+      <bind-xml name="filter-mapping" node="element"/>
+    </field>
+
+    <field name="ServletMappings"
+        type="org.apache.pluto.descriptors.servlet.ServletMappingDD"
+        collection="arraylist">
+        <bind-xml name="servlet-mapping" node="element"/>
+    </field>
+
+    <field name="SessionConfig"
+           type="org.apache.pluto.descriptors.servlet.SessionConfigDD">
+      <bind-xml name="session-config" node="element"/>
+    </field>
+
+    <field name="MimeMappings"
+           type="org.apache.pluto.descriptors.servlet.MimeMappingDD"
+           collection="arraylist">
+      <bind-xml name="mime-mapping" node="element"/>
+    </field>
+
+    <field name="WelcomeFileList"
+           type="org.apache.pluto.descriptors.servlet.WelcomeFileListDD">
+       <bind-xml name="welcome-file-list" node="element"/>
+    </field>
+
+    <field name="ErrorPages"
+           type="org.apache.pluto.descriptors.servlet.ErrorPageDD"
+           collection="arraylist">
+        <bind-xml name="error-page" node="element"/>
+    </field>
+
+    <field name="Taglibs"
+           type="org.apache.pluto.descriptors.servlet.TaglibDD"
+           collection="arraylist">
+      <bind-xml name="taglib" node="element"/>
+    </field>
+
+    <field name="ResourceRefs"
+           type="org.apache.pluto.descriptors.servlet.ResourceRefDD"
+           collection="arraylist">
+      <bind-xml name="resource-ref" node="element"/>
+    </field>
+
+    <field name="SecurityConstraints"
+           type="org.apache.pluto.descriptors.servlet.SecurityConstraintDD"
+           collection="arraylist">
+      <bind-xml name="security-constraint" node="element"/>
+    </field>
+
+    <field name="LoginConfig"
+           type="org.apache.pluto.descriptors.servlet.LoginConfigDD">
+        <bind-xml name="login-config" node="element"/>
+    </field>
+
+    <field name="SecurityRoles"
+           type="org.apache.pluto.descriptors.servlet.SecurityRoleDD"
+           collection="arraylist">
+        <bind-xml name="security-role" node="element"/>
+    </field>
+
+    <field name="envEntrys"
+           type="org.apache.pluto.descriptors.servlet.EnvEntryDD"
+           collection="arraylist">
+      <bind-xml name="env-entry" node="element"/>    
+    </field>
+      
+    <field name="ejbRefs"
+           type="org.apache.pluto.descriptors.servlet.EjbRefDD"
+           collection="arraylist">
+      <bind-xml name="ejb-ref" node="element"/>
+    </field>
+  </class>
+
+  <!--
+    Filter DDuration
+     + filter
+     + filter-mapping
+    -->
+  <class name="org.apache.pluto.descriptors.servlet.FilterDD">
+      <field name="Icon" type="org.apache.pluto.descriptors.common.IconDD"/>
+
+      <field name="FilterName">
+          <bind-xml name="filter-name" node="element"/>
+      </field>
+
+      <field name="DisplayName">
+          <bind-xml name="display-name" node="element"/>
+      </field>
+
+      <field name="Description">
+          <bind-xml name="description" node="element"/>
+      </field>
+
+      <field name="FilterClass">
+          <bind-xml name="filter-class" node="element"/>
+      </field>
+
+      <field name="InitParams"
+          type="org.apache.pluto.descriptors.common.InitParamDD"
+          collection="arraylist">
+          <bind-xml name="init-param" node="element"/>
+      </field>
+  </class>
+  <class name="org.apache.pluto.descriptors.servlet.FilterMappingDD">
+
+    <field name="FilterName">
+        <bind-xml name="filter-name" node="element"/>
+    </field>
+
+    <field name="ServletName">
+        <bind-xml name="servlet-name" node="element"/>
+    </field>
+
+    <field name="UrlPatterns" type="java.lang.String"
+           collection="arraylist">
+        <bind-xml name="url-pattern" node="element"/>
+    </field>
+    <field name="Dispatchers" type="java.lang.String"
+           collection="arraylist">
+        <bind-xml name="dispatcher" node="element"/>
+    </field>
+  </class>
+
+
+    <!--
+      Servlet DDuration
+      -->
+
+    <class name="org.apache.pluto.descriptors.servlet.ServletDD">
+      <field name="Icon" type="org.apache.pluto.descriptors.common.IconDD"/>
+
+      <field name="ServletName">
+          <bind-xml name="servlet-name" node="element"/>
+      </field>
+
+      <field name="DisplayName">
+          <bind-xml name="display-name" node="element"/>
+      </field>
+
+      <field name="Description">
+          <bind-xml name="description" node="element"/>
+      </field>
+
+      <field name="ServletClass">
+          <bind-xml name="servlet-class" node="element"/>
+      </field>
+
+      <field name="JspFile">
+          <bind-xml name="jsp-file" node="element"/>
+      </field>
+
+      <field name="InitParams"
+             type="org.apache.pluto.descriptors.common.InitParamDD"
+             collection="arraylist">
+          <bind-xml name="init-param"/>
+      </field>
+
+      <field name="LoadOnStartup"
+             type="org.apache.pluto.descriptors.servlet.LoadOnStartupDD">
+          <bind-xml name="load-on-startup" node="element"/>
+      </field>
+
+      <field name="SecurityRoleRefs"
+             type="org.apache.pluto.descriptors.common.SecurityRoleRefDD"
+             collection="arraylist">
+        <bind-xml name="security-role-ref" node="element"/>
+      </field>
+    </class>
+
+    <class name="org.apache.pluto.descriptors.servlet.SessionConfigDD">
+      <field name="SessionTimeout" type="int">
+        <bind-xml name="session-timeout" node="element"/>
+      </field>
+    </class>
+
+    <class name="org.apache.pluto.descriptors.servlet.WelcomeFileListDD">
+      <field name="WelcomeFiles"
+          type="java.lang.String"
+          collection="arraylist">
+          <bind-xml name="welcome-file" node="element"/>
+      </field>
+    </class>
+
+    <!--
+      Security Constraint
+      + SecurityConstraint
+      + WebResourceCollection
+      -->
+    <class name="org.apache.pluto.descriptors.servlet.SecurityConstraintDD">
+        <field name="DisplayName" type="java.lang.String"/>
+        <field name="WebResourceCollections"
+               type="org.apache.pluto.descriptors.servlet.WebResourceCollectionDD"
+               collection="arraylist">
+          <bind-xml name="web-resource-collection" node="element"/>
+        </field>
+        <field name="AuthConstraint"
+               type="org.apache.pluto.descriptors.servlet.AuthConstraintDD"/>
+        <field name="UserDataConstraint"
+               type="org.apache.pluto.descriptors.common.UserDataConstraintDD"/>
+    </class>
+    <class name="org.apache.pluto.descriptors.servlet.WebResourceCollectionDD">
+        <field name="description" type="java.lang.String"/>
+        <field name="webResourceName" type="java.lang.String"/>
+        <field name="httpMethods" type="java.lang.String" collection="arraylist">
+          <bind-xml name="http-method" node="element"/>
+        </field>
+        <field name="urlPatterns" type="java.lang.String" collection="arraylist">
+            <bind-xml name="url-pattern" node="element"/>
+        </field>
+    </class>
+
+    <class name="org.apache.pluto.descriptors.servlet.LoginConfigDD">
+        <field name="AuthMethod" type="java.lang.String"/>
+        <field name="FormLoginConfig"
+               type="org.apache.pluto.descriptors.servlet.FormLoginConfigDD">
+          <bind-xml name="form-login-config" node="element"/>
+        </field>
+        <field name="RealmName" type="java.lang.String"/>
+    </class>
+
+    <class name="org.apache.pluto.descriptors.servlet.LoadOnStartupDD">
+        <field name="Priority" type="int">
+            <bind-xml name="load-on-startup" node="text"/>
+        </field>
+    </class>
+    
+    <class name="org.apache.pluto.descriptors.common.DescriptionDD">
+        <field name="Lang">
+            <bind-xml name="lang" node="attribute"/>
+        </field>
+
+        <field name="Description">
+            <bind-xml name="description" node="text"/>
+        </field>
+    </class>
+
+    <class name="org.apache.pluto.descriptors.common.InitParamDD">
+        <field name="ParamName">
+            <bind-xml name="param-name" node="element"/>
+        </field>
+        <field name="ParamValue">
+            <bind-xml name="param-value" node="element"/>
+        </field>
+        <field name="Descriptions" type="org.apache.pluto.descriptors.common.DescriptionDD"
+               collection="arraylist">
+            <bind-xml name="description" node="element"/>
+        </field>
+    </class>
+
+
+    <class name="org.apache.pluto.descriptors.common.SecurityRoleRefDD">
+        <field name="RoleName">
+            <bind-xml name="role-name" node="element"/>
+        </field>
+        <field name="RoleLink">
+            <bind-xml name="role-link" node="element"/>
+        </field>
+        <field name="Descriptions" type="org.apache.pluto.descriptors.common.DescriptionDD"
+               collection="arraylist">
+            <bind-xml name="description"/>
+        </field>
+    </class>
+
+    <class name="org.apache.pluto.descriptors.common.UserDataConstraintDD">
+        <field name="Descriptions" type="org.apache.pluto.descriptors.common.DescriptionDD"
+               collection="arraylist">
+            <bind-xml name="description" node="element"/>
+        </field>
+
+        <field name="TransportGuarantee">
+            <bind-xml name="transport-guarantee" node="element"/>
+        </field>
+    </class>
+    
+    <class name="org.apache.pluto.descriptors.servlet.DistributableDD">
+         <field name="Distributable" 
+                type="java.lang.Boolean"
+                handler="org.apache.pluto.descriptors.services.castor.DistributableCastorFieldHandler">
+             <bind-xml name="distributable" node="element"/>
+         </field>
+    </class>        
+
+</mapping>
+

Propchange: portals/pluto/trunk/pluto-descriptor-impl/src/main/resources/org/apache/pluto/descriptors/services/castor/castor-web-xml-mapping.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: portals/pluto/trunk/pluto-descriptor-impl/src/main/resources/org/apache/pluto/descriptors/services/castor/datatypes.dtd
URL: http://svn.apache.org/viewvc/portals/pluto/trunk/pluto-descriptor-impl/src/main/resources/org/apache/pluto/descriptors/services/castor/datatypes.dtd?rev=607450&r1=607449&r2=607450&view=diff
==============================================================================
--- portals/pluto/trunk/pluto-descriptor-impl/src/main/resources/org/apache/pluto/descriptors/services/castor/datatypes.dtd
(original)
+++ portals/pluto/trunk/pluto-descriptor-impl/src/main/resources/org/apache/pluto/descriptors/services/castor/datatypes.dtd
Sat Dec 29 09:31:56 2007
@@ -1,221 +1,221 @@
-<!-- 
+<!-- 
 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.
--->
-<!--
-        DTD for XML Schemas: Part 2: Datatypes
-        $Id: datatypes.dtd,v 1.1.1.1 2003/09/30 14:03:00 rubys Exp $
-        Note this DTD is NOT normative, or even definitive. - - the
-        prose copy in the datatypes REC is the definitive version
-        (which shouldn't differ from this one except for this comment
-        and entity expansions, but just in case)
-  -->
-
-<!--
-        This DTD cannot be used on its own, it is intended
-        only for incorporation in XMLSchema.dtd, q.v.
-  -->
-
-<!-- Define all the element names, with optional prefix -->
-<!ENTITY % simpleType "%p;simpleType">
-<!ENTITY % restriction "%p;restriction">
-<!ENTITY % list "%p;list">
-<!ENTITY % union "%p;union">
-<!ENTITY % maxExclusive "%p;maxExclusive">
-<!ENTITY % minExclusive "%p;minExclusive">
-<!ENTITY % maxInclusive "%p;maxInclusive">
-<!ENTITY % minInclusive "%p;minInclusive">
-<!ENTITY % totalDigits "%p;totalDigits">
-<!ENTITY % fractionDigits "%p;fractionDigits">
-<!ENTITY % length "%p;length">
-<!ENTITY % minLength "%p;minLength">
-<!ENTITY % maxLength "%p;maxLength">
-<!ENTITY % enumeration "%p;enumeration">
-<!ENTITY % whiteSpace "%p;whiteSpace">
-<!ENTITY % pattern "%p;pattern">
-
-<!--
-        Customisation entities for the ATTLIST of each element
-        type. Define one of these if your schema takes advantage
-        of the anyAttribute='##other' in the schema for schemas
-  -->
-
-<!ENTITY % simpleTypeAttrs "">
-<!ENTITY % restrictionAttrs "">
-<!ENTITY % listAttrs "">
-<!ENTITY % unionAttrs "">
-<!ENTITY % maxExclusiveAttrs "">
-<!ENTITY % minExclusiveAttrs "">
-<!ENTITY % maxInclusiveAttrs "">
-<!ENTITY % minInclusiveAttrs "">
-<!ENTITY % totalDigitsAttrs "">
-<!ENTITY % fractionDigitsAttrs "">
-<!ENTITY % lengthAttrs "">
-<!ENTITY % minLengthAttrs "">
-<!ENTITY % maxLengthAttrs "">
-<!ENTITY % enumerationAttrs "">
-<!ENTITY % whiteSpaceAttrs "">
-<!ENTITY % patternAttrs "">
-
-<!-- Define some entities for informative use as attribute
-        types -->
-<!ENTITY % URIref "CDATA">
-<!ENTITY % XPathExpr "CDATA">
-<!ENTITY % QName "NMTOKEN">
-<!ENTITY % QNames "NMTOKENS">
-<!ENTITY % NCName "NMTOKEN">
-<!ENTITY % nonNegativeInteger "NMTOKEN">
-<!ENTITY % boolean "(true|false)">
-<!ENTITY % simpleDerivationSet "CDATA">
-<!--
-        #all or space-separated list drawn from derivationChoice
-  -->
-
-<!--
-        Note that the use of 'facet' below is less restrictive
-        than is really intended:  There should in fact be no
-        more than one of each of minInclusive, minExclusive,
-        maxInclusive, maxExclusive, totalDigits, fractionDigits,
-        length, maxLength, minLength within datatype,
-        and the min- and max- variants of Inclusive and Exclusive
-        are mutually exclusive. On the other hand,  pattern and
-        enumeration may repeat.
-  -->
-<!ENTITY % minBound "(%minInclusive; | %minExclusive;)">
-<!ENTITY % maxBound "(%maxInclusive; | %maxExclusive;)">
-<!ENTITY % bounds "%minBound; | %maxBound;">
-<!ENTITY % numeric "%totalDigits; | %fractionDigits;">
-<!ENTITY % ordered "%bounds; | %numeric;">
-<!ENTITY % unordered
-   "%pattern; | %enumeration; | %whiteSpace; | %length; |
-   %maxLength; | %minLength;">
-<!ENTITY % facet "%ordered; | %unordered;">
-<!ENTITY % facetAttr 
-        "value CDATA #REQUIRED
-        id ID #IMPLIED">
-<!ENTITY % fixedAttr "fixed %boolean; #IMPLIED">
-<!ENTITY % facetModel "(%annotation;)?">
-<!ELEMENT %simpleType;
-        ((%annotation;)?, (%restriction; | %list; | %union;))>
-<!ATTLIST %simpleType;
-    name      %NCName; #IMPLIED
-    final     %simpleDerivationSet; #IMPLIED
-    id        ID       #IMPLIED
-    %simpleTypeAttrs;>
-<!-- name is required at top level -->
-<!ELEMENT %restriction; ((%annotation;)?,
-                         (%restriction1; |
-                          ((%simpleType;)?,(%facet;)*)),
-                         (%attrDecls;))>
-<!ATTLIST %restriction;
-    base      %QName;                  #IMPLIED
-    id        ID       #IMPLIED
-    %restrictionAttrs;>
-<!--
-        base and simpleType child are mutually exclusive,
-        one is required.
-
-        restriction is shared between simpleType and
-        simpleContent and complexContent (in XMLSchema.xsd).
-        restriction1 is for the latter cases, when this
-        is restricting a complex type, as is attrDecls.
-  -->
-<!ELEMENT %list; ((%annotation;)?,(%simpleType;)?)>
-<!ATTLIST %list;
-    itemType      %QName;             #IMPLIED
-    id        ID       #IMPLIED
-    %listAttrs;>
-<!--
-        itemType and simpleType child are mutually exclusive,
-        one is required
-  -->
-<!ELEMENT %union; ((%annotation;)?,(%simpleType;)*)>
-<!ATTLIST %union;
-    id            ID       #IMPLIED
-    memberTypes   %QNames;            #IMPLIED
-    %unionAttrs;>
-<!--
-        At least one item in memberTypes or one simpleType
-        child is required
-  -->
-
-<!ELEMENT %maxExclusive; %facetModel;>
-<!ATTLIST %maxExclusive;
-        %facetAttr;
-        %fixedAttr;
-        %maxExclusiveAttrs;>
-<!ELEMENT %minExclusive; %facetModel;>
-<!ATTLIST %minExclusive;
-        %facetAttr;
-        %fixedAttr;
-        %minExclusiveAttrs;>
-
-<!ELEMENT %maxInclusive; %facetModel;>
-<!ATTLIST %maxInclusive;
-        %facetAttr;
-        %fixedAttr;
-        %maxInclusiveAttrs;>
-<!ELEMENT %minInclusive; %facetModel;>
-<!ATTLIST %minInclusive;
-        %facetAttr;
-        %fixedAttr;
-        %minInclusiveAttrs;>
-
-<!ELEMENT %totalDigits; %facetModel;>
-<!ATTLIST %totalDigits;
-        %facetAttr;
-        %fixedAttr;
-        %totalDigitsAttrs;>
-<!ELEMENT %fractionDigits; %facetModel;>
-<!ATTLIST %fractionDigits;
-        %facetAttr;
-        %fixedAttr;
-        %fractionDigitsAttrs;>
-
-<!ELEMENT %length; %facetModel;>
-<!ATTLIST %length;
-        %facetAttr;
-        %fixedAttr;
-        %lengthAttrs;>
-<!ELEMENT %minLength; %facetModel;>
-<!ATTLIST %minLength;
-        %facetAttr;
-        %fixedAttr;
-        %minLengthAttrs;>
-<!ELEMENT %maxLength; %facetModel;>
-<!ATTLIST %maxLength;
-        %facetAttr;
-        %fixedAttr;
-        %maxLengthAttrs;>
-
-<!-- This one can be repeated -->
-<!ELEMENT %enumeration; %facetModel;>
-<!ATTLIST %enumeration;
-        %facetAttr;
-        %enumerationAttrs;>
-
-<!ELEMENT %whiteSpace; %facetModel;>
-<!ATTLIST %whiteSpace;
-        %facetAttr;
-        %fixedAttr;
-        %whiteSpaceAttrs;>
-
-<!-- This one can be repeated -->
-<!ELEMENT %pattern; %facetModel;>
-<!ATTLIST %pattern;
-        %facetAttr;
-        %patternAttrs;>
+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.
+-->
+<!--
+        DTD for XML Schemas: Part 2: Datatypes
+        $Id: datatypes.dtd,v 1.1.1.1 2003/09/30 14:03:00 rubys Exp $
+        Note this DTD is NOT normative, or even definitive. - - the
+        prose copy in the datatypes REC is the definitive version
+        (which shouldn't differ from this one except for this comment
+        and entity expansions, but just in case)
+  -->
+
+<!--
+        This DTD cannot be used on its own, it is intended
+        only for incorporation in XMLSchema.dtd, q.v.
+  -->
+
+<!-- Define all the element names, with optional prefix -->
+<!ENTITY % simpleType "%p;simpleType">
+<!ENTITY % restriction "%p;restriction">
+<!ENTITY % list "%p;list">
+<!ENTITY % union "%p;union">
+<!ENTITY % maxExclusive "%p;maxExclusive">
+<!ENTITY % minExclusive "%p;minExclusive">
+<!ENTITY % maxInclusive "%p;maxInclusive">
+<!ENTITY % minInclusive "%p;minInclusive">
+<!ENTITY % totalDigits "%p;totalDigits">
+<!ENTITY % fractionDigits "%p;fractionDigits">
+<!ENTITY % length "%p;length">
+<!ENTITY % minLength "%p;minLength">
+<!ENTITY % maxLength "%p;maxLength">
+<!ENTITY % enumeration "%p;enumeration">
+<!ENTITY % whiteSpace "%p;whiteSpace">
+<!ENTITY % pattern "%p;pattern">
+
+<!--
+        Customisation entities for the ATTLIST of each element
+        type. Define one of these if your schema takes advantage
+        of the anyAttribute='##other' in the schema for schemas
+  -->
+
+<!ENTITY % simpleTypeAttrs "">
+<!ENTITY % restrictionAttrs "">
+<!ENTITY % listAttrs "">
+<!ENTITY % unionAttrs "">
+<!ENTITY % maxExclusiveAttrs "">
+<!ENTITY % minExclusiveAttrs "">
+<!ENTITY % maxInclusiveAttrs "">
+<!ENTITY % minInclusiveAttrs "">
+<!ENTITY % totalDigitsAttrs "">
+<!ENTITY % fractionDigitsAttrs "">
+<!ENTITY % lengthAttrs "">
+<!ENTITY % minLengthAttrs "">
+<!ENTITY % maxLengthAttrs "">
+<!ENTITY % enumerationAttrs "">
+<!ENTITY % whiteSpaceAttrs "">
+<!ENTITY % patternAttrs "">
+
+<!-- Define some entities for informative use as attribute
+        types -->
+<!ENTITY % URIref "CDATA">
+<!ENTITY % XPathExpr "CDATA">
+<!ENTITY % QName "NMTOKEN">
+<!ENTITY % QNames "NMTOKENS">
+<!ENTITY % NCName "NMTOKEN">
+<!ENTITY % nonNegativeInteger "NMTOKEN">
+<!ENTITY % boolean "(true|false)">
+<!ENTITY % simpleDerivationSet "CDATA">
+<!--
+        #all or space-separated list drawn from derivationChoice
+  -->
+
+<!--
+        Note that the use of 'facet' below is less restrictive
+        than is really intended:  There should in fact be no
+        more than one of each of minInclusive, minExclusive,
+        maxInclusive, maxExclusive, totalDigits, fractionDigits,
+        length, maxLength, minLength within datatype,
+        and the min- and max- variants of Inclusive and Exclusive
+        are mutually exclusive. On the other hand,  pattern and
+        enumeration may repeat.
+  -->
+<!ENTITY % minBound "(%minInclusive; | %minExclusive;)">
+<!ENTITY % maxBound "(%maxInclusive; | %maxExclusive;)">
+<!ENTITY % bounds "%minBound; | %maxBound;">
+<!ENTITY % numeric "%totalDigits; | %fractionDigits;">
+<!ENTITY % ordered "%bounds; | %numeric;">
+<!ENTITY % unordered
+   "%pattern; | %enumeration; | %whiteSpace; | %length; |
+   %maxLength; | %minLength;">
+<!ENTITY % facet "%ordered; | %unordered;">
+<!ENTITY % facetAttr 
+        "value CDATA #REQUIRED
+        id ID #IMPLIED">
+<!ENTITY % fixedAttr "fixed %boolean; #IMPLIED">
+<!ENTITY % facetModel "(%annotation;)?">
+<!ELEMENT %simpleType;
+        ((%annotation;)?, (%restriction; | %list; | %union;))>
+<!ATTLIST %simpleType;
+    name      %NCName; #IMPLIED
+    final     %simpleDerivationSet; #IMPLIED
+    id        ID       #IMPLIED
+    %simpleTypeAttrs;>
+<!-- name is required at top level -->
+<!ELEMENT %restriction; ((%annotation;)?,
+                         (%restriction1; |
+                          ((%simpleType;)?,(%facet;)*)),
+                         (%attrDecls;))>
+<!ATTLIST %restriction;
+    base      %QName;                  #IMPLIED
+    id        ID       #IMPLIED
+    %restrictionAttrs;>
+<!--
+        base and simpleType child are mutually exclusive,
+        one is required.
+
+        restriction is shared between simpleType and
+        simpleContent and complexContent (in XMLSchema.xsd).
+        restriction1 is for the latter cases, when this
+        is restricting a complex type, as is attrDecls.
+  -->
+<!ELEMENT %list; ((%annotation;)?,(%simpleType;)?)>
+<!ATTLIST %list;
+    itemType      %QName;             #IMPLIED
+    id        ID       #IMPLIED
+    %listAttrs;>
+<!--
+        itemType and simpleType child are mutually exclusive,
+        one is required
+  -->
+<!ELEMENT %union; ((%annotation;)?,(%simpleType;)*)>
+<!ATTLIST %union;
+    id            ID       #IMPLIED
+    memberTypes   %QNames;            #IMPLIED
+    %unionAttrs;>
+<!--
+        At least one item in memberTypes or one simpleType
+        child is required
+  -->
+
+<!ELEMENT %maxExclusive; %facetModel;>
+<!ATTLIST %maxExclusive;
+        %facetAttr;
+        %fixedAttr;
+        %maxExclusiveAttrs;>
+<!ELEMENT %minExclusive; %facetModel;>
+<!ATTLIST %minExclusive;
+        %facetAttr;
+        %fixedAttr;
+        %minExclusiveAttrs;>
+
+<!ELEMENT %maxInclusive; %facetModel;>
+<!ATTLIST %maxInclusive;
+        %facetAttr;
+        %fixedAttr;
+        %maxInclusiveAttrs;>
+<!ELEMENT %minInclusive; %facetModel;>
+<!ATTLIST %minInclusive;
+        %facetAttr;
+        %fixedAttr;
+        %minInclusiveAttrs;>
+
+<!ELEMENT %totalDigits; %facetModel;>
+<!ATTLIST %totalDigits;
+        %facetAttr;
+        %fixedAttr;
+        %totalDigitsAttrs;>
+<!ELEMENT %fractionDigits; %facetModel;>
+<!ATTLIST %fractionDigits;
+        %facetAttr;
+        %fixedAttr;
+        %fractionDigitsAttrs;>
+
+<!ELEMENT %length; %facetModel;>
+<!ATTLIST %length;
+        %facetAttr;
+        %fixedAttr;
+        %lengthAttrs;>
+<!ELEMENT %minLength; %facetModel;>
+<!ATTLIST %minLength;
+        %facetAttr;
+        %fixedAttr;
+        %minLengthAttrs;>
+<!ELEMENT %maxLength; %facetModel;>
+<!ATTLIST %maxLength;
+        %facetAttr;
+        %fixedAttr;
+        %maxLengthAttrs;>
+
+<!-- This one can be repeated -->
+<!ELEMENT %enumeration; %facetModel;>
+<!ATTLIST %enumeration;
+        %facetAttr;
+        %enumerationAttrs;>
+
+<!ELEMENT %whiteSpace; %facetModel;>
+<!ATTLIST %whiteSpace;
+        %facetAttr;
+        %fixedAttr;
+        %whiteSpaceAttrs;>
+
+<!-- This one can be repeated -->
+<!ELEMENT %pattern; %facetModel;>
+<!ATTLIST %pattern;
+        %facetAttr;
+        %patternAttrs;>

Propchange: portals/pluto/trunk/pluto-descriptor-impl/src/main/resources/org/apache/pluto/descriptors/services/castor/datatypes.dtd
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message