[seam-commits] Seam SVN: r10065 - trunk/src/resteasy/org/jboss/seam/resteasy.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Fri Feb 20 09:46:52 EST 2009
Author: norman.richards at jboss.com
Date: 2009-02-20 09:46:52 -0500 (Fri, 20 Feb 2009)
New Revision: 10065
Added:
trunk/src/resteasy/org/jboss/seam/resteasy/resteasy-2.1.xsd
Removed:
trunk/src/resteasy/org/jboss/seam/resteasy/reasteasy-2.1.xsd
Log:
JBSEAM-3967
Deleted: trunk/src/resteasy/org/jboss/seam/resteasy/reasteasy-2.1.xsd
===================================================================
--- trunk/src/resteasy/org/jboss/seam/resteasy/reasteasy-2.1.xsd 2009-02-20 11:32:14 UTC (rev 10064)
+++ trunk/src/resteasy/org/jboss/seam/resteasy/reasteasy-2.1.xsd 2009-02-20 14:46:52 UTC (rev 10065)
@@ -1,96 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
- targetNamespace="http://jboss.com/products/seam/resteasy" xmlns:resteasy="http://jboss.com/products/seam/resteasy"
- xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
-
- <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="http://jboss.com/products/seam/components-2.1.xsd"/>
-
- <xs:element name="application">
- <xs:annotation>
- <xs:documentation>
- An implementation of JAX-RS Application with additional properties for RESTEasy.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType mixed="true">
- <xs:sequence>
- <xs:element minOccurs="0" maxOccurs="1"
- name="provider-class-names" type="components:multiValuedProperty">
- <xs:annotation>
- <xs:documentation>
- List of provider classes.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1"
- name="resource-class-names" type="components:multiValuedProperty">
- <xs:annotation>
- <xs:documentation>
- List of resource classes.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1"
- name="media-type-mappings" type="components:multiValuedProperty">
- <xs:annotation>
- <xs:documentation>
- Maps media type URI extensions to Accept header, see RESTEasy documentation and JAX-RS (JSR 311).
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1"
- name="language-mappings" type="components:multiValuedProperty">
- <xs:annotation>
- <xs:documentation>
- Maps language URI extension to Accept header, see RESTEasy documentation and JAX-RS (JSR 311).
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attributeGroup ref="components:attlist.component"/>
- <xs:attributeGroup ref="resteasy:attlist.application"/>
- </xs:complexType>
- </xs:element>
-
- <xs:attributeGroup name="attlist.application">
- <xs:attribute name="scan-providers" type="components:boolean">
- <xs:annotation>
- <xs:documentation>
- Enable automatic discovery of classes annoated with JAX-RS @Provider, defaults to 'true'.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="scan-resources" type="components:boolean">
- <xs:annotation>
- <xs:documentation>
- Enable automatic discovery of classes annoated with JAX-RS @Path, defaults to 'true'.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="use-builtin-providers" type="components:boolean">
- <xs:annotation>
- <xs:documentation>
- Enable RESTEasy built-in providers, defaults to 'true'.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="resource-path-prefix" type="components:string">
- <xs:annotation>
- <xs:documentation>
- Append this prefix to any request path, after the SeamResourceServlet
- url-pattern prefix (configured in web.xml). Defaults to "/rest".
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="strip-seam-resource-path" type="components:boolean">
- <xs:annotation>
- <xs:documentation>
- Remove the "/<url-pattern-of-seam-resource-servlet>/<resource-path-prefix>" part
- of the request path before the request is mapped to a @Path resource. If disabled,
- all @Path definitions must use the full prefix of the SeamResourceServlet as
- mapped with the url-pattern in web.xml, plus the resourcePathPrefix.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:attributeGroup>
-
-</xs:schema>
Added: trunk/src/resteasy/org/jboss/seam/resteasy/resteasy-2.1.xsd
===================================================================
--- trunk/src/resteasy/org/jboss/seam/resteasy/resteasy-2.1.xsd (rev 0)
+++ trunk/src/resteasy/org/jboss/seam/resteasy/resteasy-2.1.xsd 2009-02-20 14:46:52 UTC (rev 10065)
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/resteasy" xmlns:resteasy="http://jboss.com/products/seam/resteasy"
+ xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
+
+ <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="http://jboss.com/products/seam/components-2.1.xsd"/>
+
+ <xs:element name="application">
+ <xs:annotation>
+ <xs:documentation>
+ An implementation of JAX-RS Application with additional properties for RESTEasy.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="1"
+ name="provider-class-names" type="components:multiValuedProperty">
+ <xs:annotation>
+ <xs:documentation>
+ List of provider classes.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" maxOccurs="1"
+ name="resource-class-names" type="components:multiValuedProperty">
+ <xs:annotation>
+ <xs:documentation>
+ List of resource classes.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" maxOccurs="1"
+ name="media-type-mappings" type="components:multiValuedProperty">
+ <xs:annotation>
+ <xs:documentation>
+ Maps media type URI extensions to Accept header, see RESTEasy documentation and JAX-RS (JSR 311).
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" maxOccurs="1"
+ name="language-mappings" type="components:multiValuedProperty">
+ <xs:annotation>
+ <xs:documentation>
+ Maps language URI extension to Accept header, see RESTEasy documentation and JAX-RS (JSR 311).
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="resteasy:attlist.application"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.application">
+ <xs:attribute name="scan-providers" type="components:boolean">
+ <xs:annotation>
+ <xs:documentation>
+ Enable automatic discovery of classes annoated with JAX-RS @Provider, defaults to 'true'.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="scan-resources" type="components:boolean">
+ <xs:annotation>
+ <xs:documentation>
+ Enable automatic discovery of classes annoated with JAX-RS @Path, defaults to 'true'.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="use-builtin-providers" type="components:boolean">
+ <xs:annotation>
+ <xs:documentation>
+ Enable RESTEasy built-in providers, defaults to 'true'.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="resource-path-prefix" type="components:string">
+ <xs:annotation>
+ <xs:documentation>
+ Append this prefix to any request path, after the SeamResourceServlet
+ url-pattern prefix (configured in web.xml). Defaults to "/rest".
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="strip-seam-resource-path" type="components:boolean">
+ <xs:annotation>
+ <xs:documentation>
+ Remove the "/<url-pattern-of-seam-resource-servlet>/<resource-path-prefix>" part
+ of the request path before the request is mapped to a @Path resource. If disabled,
+ all @Path definitions must use the full prefix of the SeamResourceServlet as
+ mapped with the url-pattern in web.xml, plus the resourcePathPrefix.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:attributeGroup>
+
+</xs:schema>
More information about the seam-commits
mailing list