[jboss-svn-commits] JBL Code SVN: r5581 - in labs/jbosslabs/trunk/portal-extensions/forge-common/src/web: . WEB-INF
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Aug 7 19:21:55 EDT 2006
Author: unibrew
Date: 2006-08-07 19:21:52 -0400 (Mon, 07 Aug 2006)
New Revision: 5581
Added:
labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/WEB-INF/project.xsd
Removed:
labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/project.xsd
Log:
[JBLAB-679] Another update of XMLSchema for project.xml - file organization and comments.
Copied: labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/WEB-INF/project.xsd (from rev 5578, labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/project.xsd)
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/project.xsd 2006-08-07 22:31:41 UTC (rev 5578)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/WEB-INF/project.xsd 2006-08-07 23:21:52 UTC (rev 5581)
@@ -0,0 +1,418 @@
+<?xml version="1.0"?>
+
+<!--
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+-->
+
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
+ targetNamespace="http://jboss.org"
+ xmlns="http://jboss.org"
+ elementFormDefault="qualified"
+ jxb:version="2.0" >
+
+
+<!-- -->
+<!-- PROJECT -->
+<!-- -->
+
+<xs:element name="project" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:class>
+ <jxb:javadoc>
+ Root class describing whole project.
+ @author Ryszard Kozmik
+ </jxb:javadoc>
+ </jxb:class>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="id" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false" />
+ <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false" />
+ <xs:element name="company-name" type="xs:string" minOccurs="0" maxOccurs="1" />
+ <xs:element name="logo" type="xs:string" minOccurs="0" maxOccurs="1" />
+ <xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="1" />
+ <xs:element name="jems" minOccurs="0" maxOccurs="unbounded" type="xs:string" />
+ <xs:element name="repository" minOccurs="0" maxOccurs="unbounded" type="repository" />
+ <xs:element name="repo-monitor" minOccurs="0" maxOccurs="unbounded" type="repo-monitor" />
+ <xs:element name="issue-tracker" minOccurs="0" maxOccurs="unbounded" type="issue-tracker" />
+ <xs:element name="menu" type="menu" minOccurs="0" maxOccurs="1" />
+ <xs:element name="downloads" minOccurs="0" maxOccurs="1" type="downloads" />
+ <xs:element name="polls" minOccurs="0" maxOccurs="1" type="polls" />
+ </xs:sequence>
+ </xs:complexType>
+</xs:element>
+
+
+<!-- -->
+<!-- REPOSITORY AND TASKTRACKERS -->
+<!-- -->
+
+<xs:complexType name="repository" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:class>
+ <jxb:javadoc>
+ Class for keeping information about project's repository type.
+ @author Ryszard Kozmik
+ </jxb:javadoc>
+ </jxb:class>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:attribute name="type" use="required" type="RepoType" />
+</xs:complexType>
+
+<xs:simpleType name="RepoType" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:typesafeEnumClass>
+ <jxb:javadoc>
+ Enum describing types of possbile repositories.
+ @author Ryszard Kozmik
+ </jxb:javadoc>
+ </jxb:typesafeEnumClass>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="svn"/>
+ <xs:enumeration value="cvs"/>
+ </xs:restriction>
+</xs:simpleType>
+
+<xs:complexType name="repo-monitor" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:class>
+ <jxb:javadoc>
+ Class for keeping information about project's repository monitor.
+ @author Ryszard Kozmik
+ </jxb:javadoc>
+ </jxb:class>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:simpleContent>
+ <xs:extension base="xs:string" >
+ <xs:attribute name="type" use="required" type="MonitorType" />
+ </xs:extension>
+ </xs:simpleContent>
+</xs:complexType>
+
+<xs:simpleType name="MonitorType" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:typesafeEnumClass>
+ <jxb:javadoc>
+ Enum describing types of possbile repository-monitors.
+ @author Ryszard Kozmik
+ </jxb:javadoc>
+ </jxb:typesafeEnumClass>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="fisheye"/>
+ <xs:enumeration value="viewvc"/>
+ </xs:restriction>
+</xs:simpleType>
+
+<xs:complexType name="issue-tracker" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:class>
+ <jxb:javadoc>
+ Class for keeping information about project's issue tracker.
+ @author Ryszard Kozmik
+ </jxb:javadoc>
+ </jxb:class>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="type" use="required" />
+ </xs:extension>
+ </xs:simpleContent>
+</xs:complexType>
+
+
+<!-- -->
+<!-- NAVIGATION MENU -->
+<!-- -->
+
+<xs:complexType name="menu" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:class>
+ <jxb:javadoc>
+ Class for keeping information about project's navigation menu.
+ @author Ryszard Kozmik
+ </jxb:javadoc>
+ </jxb:class>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element name="page" type="page" minOccurs="0" maxOccurs="unbounded" />
+ <xs:element name="link" type="link" minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="page" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:class>
+ <jxb:javadoc>
+ Class for keeping information about one of pages for project's navigation menu.
+ @author Ryszard Kozmik
+ </jxb:javadoc>
+ </jxb:class>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:simpleContent>
+ <xs:extension base="xs:string" >
+ <xs:attribute name="display" type="xs:string" use="optional" />
+ </xs:extension>
+ </xs:simpleContent>
+</xs:complexType>
+
+<xs:complexType name="link" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:class>
+ <jxb:javadoc>
+ Class for keeping information about one of predefined links for project's navigation menu.
+ @author Ryszard Kozmik
+ </jxb:javadoc>
+ </jxb:class>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:simpleContent>
+ <xs:extension base="xs:string" >
+ <xs:attribute name="display" type="xs:string" use="optional" />
+ <xs:attribute name="type" use="required" type="LinkType" />
+ </xs:extension>
+ </xs:simpleContent>
+</xs:complexType>
+
+<xs:simpleType name="LinkType" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:typesafeEnumClass>
+ <jxb:javadoc>
+ Enum describing types of possbile repository-monitors.
+ @author Ryszard Kozmik
+ </jxb:javadoc>
+ </jxb:typesafeEnumClass>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="repository"/>
+ <xs:enumeration value="issue-tracker"/>
+ <xs:enumeration value="repo-monitor"/>
+ </xs:restriction>
+</xs:simpleType>
+
+
+<!-- -->
+<!-- POLLS -->
+<!-- -->
+
+<xs:complexType name="polls" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:class>
+ <jxb:javadoc>
+ Class for keeping information about polls.
+ @author Ryszard Kozmik
+ </jxb:javadoc>
+ </jxb:class>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element name="poll" minOccurs="0" maxOccurs="1" type="poll" />
+ </xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="poll" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:class>
+ <jxb:javadoc>
+ Class for keeping information about one poll.
+ @author Ryszard Kozmik
+ </jxb:javadoc>
+ </jxb:class>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element name="question" minOccurs="1" maxOccurs="1" type="xs:string" />
+ <xs:element name="answer" minOccurs="1" maxOccurs="unbounded" type="xs:string" />
+ </xs:sequence>
+</xs:complexType>
+
+
+<!-- -->
+<!-- DOWNLOADS -->
+<!-- -->
+
+<xs:complexType name="downloads" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:class>
+ <jxb:javadoc>
+ Class for keeping information about project's downloads.
+ @author Ryszard Kozmik
+ </jxb:javadoc>
+ </jxb:class>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:all>
+ <xs:element name="categories" minOccurs="0" maxOccurs="1" type="categories" />
+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
+ <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string" />
+ <xs:element name="counters" minOccurs="0" maxOccurs="1" >
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="sorting" minOccurs="0" maxOccurs="1" type="sorting" />
+ <xs:element name="visible" minOccurs="0" maxOccurs="1" type="xs:boolean" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="files" minOccurs="0" maxOccurs="1" type="files" />
+ </xs:all>
+</xs:complexType>
+
+<xs:complexType name="files" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:class>
+ <jxb:javadoc>
+ Class for keeping information about files available to download.
+ @author Ryszard Kozmik
+ </jxb:javadoc>
+ </jxb:class>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element name="file" minOccurs="0" maxOccurs="unbounded" type="file" />
+ </xs:sequence>
+ <xs:attribute name="visible" type="xs:boolean" use="optional" default="true" />
+ <xs:attribute name="sorting" type="sorting" use="optional" default="random" />
+</xs:complexType>
+
+<xs:complexType name="file" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:class>
+ <jxb:javadoc>
+ Class for keeping information about one file available for download.
+ @author Ryszard Kozmik
+ </jxb:javadoc>
+ </jxb:class>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element name="id" type="xs:string" minOccurs="1" maxOccurs="1" />
+ <xs:element name="name" type="xs:string" maxOccurs="1" />
+ <xs:element name="description" type="xs:string" maxOccurs="1" />
+ <xs:element name="size" type="xs:string" maxOccurs="1" />
+ <xs:element name="license" type="xs:string" maxOccurs="1" />
+ <xs:element name="release" type="xs:string" maxOccurs="1" />
+ <xs:element name="button" minOccurs="1" maxOccurs="unbounded" >
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="id" type="xs:string" />
+ <xs:element name="name" type="xs:string" />
+ <xs:element name="freezone" type="xs:boolean" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="visible" type="xs:boolean" default="true" />
+</xs:complexType>
+
+
+<!-- -->
+<!-- DOWNLOAD CATEGORIES -->
+<!-- -->
+
+<xs:complexType name="categories" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:class>
+ <jxb:javadoc>
+ Class for keeping information about download categories.
+ @author Ryszard Kozmik
+ </jxb:javadoc>
+ </jxb:class>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element name="category" type="category" minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="category" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:class>
+ <jxb:javadoc>
+ Class for keeping information about download category.
+ @author Ryszard Kozmik
+ </jxb:javadoc>
+ </jxb:class>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:all>
+ <xs:element name="id" type="xs:string" minOccurs="1" maxOccurs="1" />
+ <xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1" />
+ <xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="1" />
+ <xs:element name="files" type="files" minOccurs="0" maxOccurs="1" />
+ <xs:element name="categories" minOccurs="0" maxOccurs="1" type="categories" />
+ </xs:all>
+</xs:complexType>
+
+
+<!-- -->
+<!-- DOWNLOAD COUNTERS SORTING -->
+<!-- -->
+
+<xs:simpleType name="sorting" >
+ <xs:annotation>
+ <xs:appinfo>
+ <jxb:typesafeEnumClass>
+ <jxb:javadoc>
+ Enum describing types of possbile sorting orders for downloads showing purposes.
+ @author Ryszard Kozmik
+ </jxb:javadoc>
+ </jxb:typesafeEnumClass>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="asc"/>
+ <xs:enumeration value="desc"/>
+ <xs:enumeration value="random"/>
+ <xs:enumeration value="ascending"/>
+ <xs:enumeration value="descending"/>
+ </xs:restriction>
+</xs:simpleType>
+
+
+</xs:schema>
Deleted: labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/project.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/project.xsd 2006-08-07 22:36:33 UTC (rev 5580)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/project.xsd 2006-08-07 23:21:52 UTC (rev 5581)
@@ -1,461 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
--->
-
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
- targetNamespace="http://jboss.org"
- xmlns="http://jboss.org"
- elementFormDefault="qualified"
- jxb:version="2.0" >
-
-
-<!-- -->
-<!-- PROJECT -->
-<!-- -->
-
-<xs:element name="project" >
- <xs:annotation>
- <xs:appinfo>
- <jxb:class>
- <jxb:javadoc>
- Root class describing whole project.
- Generated using JAXB
- DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
- @author Ryszard Kozmik
- </jxb:javadoc>
- </jxb:class>
- </xs:appinfo>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="xs:string" minOccurs="1" maxOccurs="1" />
- <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1" />
- <xs:element name="company-name" type="xs:string" minOccurs="1" maxOccurs="1" />
- <xs:element name="logo" type="xs:string" minOccurs="0" maxOccurs="1" />
- <xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="1" />
- <xs:element name="jems" minOccurs="0" maxOccurs="unbounded" type="xs:string" />
- <xs:element name="repository" minOccurs="0" type="repository" />
- <xs:element name="repo-monitor" minOccurs="0" type="repo-monitor" />
- <xs:element name="issue-tracker" minOccurs="0" type="issue-tracker" />
- <xs:element name="menu" type="menu" />
- <xs:element name="downloads" minOccurs="0" maxOccurs="1" type="downloads" />
- <xs:element name="polls" minOccurs="0" maxOccurs="1" type="polls" />
- </xs:sequence>
- </xs:complexType>
-</xs:element>
-
-
-<!-- -->
-<!-- REPOSITORY AND TASKTRACKERS -->
-<!-- -->
-
-<xs:complexType name="repository" >
- <xs:annotation>
- <xs:appinfo>
- <jxb:class>
- <jxb:javadoc>
- Class for keeping information about project's repository type.
- Generated using JAXB
- DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
- @author Ryszard Kozmik
- </jxb:javadoc>
- </jxb:class>
- </xs:appinfo>
- </xs:annotation>
- <xs:attribute name="type" use="required" type="RepoType" />
-</xs:complexType>
-
-<xs:simpleType name="RepoType" >
- <xs:annotation>
- <xs:appinfo>
- <jxb:typesafeEnumClass>
- <jxb:javadoc>
- Enum describing types of possbile repositories.
- Generated using JAXB
- DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
- @author Ryszard Kozmik
- </jxb:javadoc>
- </jxb:typesafeEnumClass>
- </xs:appinfo>
- </xs:annotation>
- <xs:restriction base="xs:string">
- <xs:enumeration value="svn"/>
- <xs:enumeration value="cvs"/>
- </xs:restriction>
-</xs:simpleType>
-
-<xs:complexType name="repo-monitor" >
- <xs:annotation>
- <xs:appinfo>
- <jxb:class>
- <jxb:javadoc>
- Class for keeping information about project's repository monitor.
- Generated using JAXB
- DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
- @author Ryszard Kozmik
- </jxb:javadoc>
- </jxb:class>
- </xs:appinfo>
- </xs:annotation>
- <xs:simpleContent>
- <xs:extension base="xs:string" >
- <xs:attribute name="type" use="required" type="MonitorType" />
- </xs:extension>
- </xs:simpleContent>
-</xs:complexType>
-
-<xs:simpleType name="MonitorType" >
- <xs:annotation>
- <xs:appinfo>
- <jxb:typesafeEnumClass>
- <jxb:javadoc>
- Enum describing types of possbile repository-monitors.
- Generated using JAXB
- DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
- @author Ryszard Kozmik
- </jxb:javadoc>
- </jxb:typesafeEnumClass>
- </xs:appinfo>
- </xs:annotation>
- <xs:restriction base="xs:string">
- <xs:enumeration value="fisheye"/>
- <xs:enumeration value="viewvc"/>
- </xs:restriction>
-</xs:simpleType>
-
-<xs:complexType name="issue-tracker" >
- <xs:annotation>
- <xs:appinfo>
- <jxb:class>
- <jxb:javadoc>
- Class for keeping information about project's issue tracker.
- Generated using JAXB
- DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
- @author Ryszard Kozmik
- </jxb:javadoc>
- </jxb:class>
- </xs:appinfo>
- </xs:annotation>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="type" use="required" />
- </xs:extension>
- </xs:simpleContent>
-</xs:complexType>
-
-
-<!-- -->
-<!-- NAVIGATION MENU -->
-<!-- -->
-
-<xs:complexType name="menu" >
- <xs:annotation>
- <xs:appinfo>
- <jxb:class>
- <jxb:javadoc>
- Class for keeping information about project's navigation menu.
- Generated using JAXB
- DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
- @author Ryszard Kozmik
- </jxb:javadoc>
- </jxb:class>
- </xs:appinfo>
- </xs:annotation>
- <xs:all>
- <xs:element name="page" type="page" />
- <xs:element name="link" type="link" />
- </xs:all>
-</xs:complexType>
-
-<xs:complexType name="page" >
- <xs:annotation>
- <xs:appinfo>
- <jxb:class>
- <jxb:javadoc>
- Class for keeping information about one of pages for project's navigation menu.
- Generated using JAXB
- DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
- @author Ryszard Kozmik
- </jxb:javadoc>
- </jxb:class>
- </xs:appinfo>
- </xs:annotation>
- <xs:simpleContent>
- <xs:extension base="xs:string" >
- <xs:attribute name="display" type="xs:string" use="optional" />
- </xs:extension>
- </xs:simpleContent>
-</xs:complexType>
-
-<xs:complexType name="link" >
- <xs:annotation>
- <xs:appinfo>
- <jxb:class>
- <jxb:javadoc>
- Class for keeping information about one of predefined links for project's navigation menu.
- Generated using JAXB
- DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
- @author Ryszard Kozmik
- </jxb:javadoc>
- </jxb:class>
- </xs:appinfo>
- </xs:annotation>
- <xs:simpleContent>
- <xs:extension base="xs:string" >
- <xs:attribute name="display" type="xs:string" use="optional" />
- <xs:attribute name="type" use="optional" type="LinkType" />
- </xs:extension>
- </xs:simpleContent>
-</xs:complexType>
-
-<xs:simpleType name="LinkType" >
- <xs:annotation>
- <xs:appinfo>
- <jxb:typesafeEnumClass>
- <jxb:javadoc>
- Enum describing types of possbile repository-monitors.
- Generated using JAXB
- DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
- @author Ryszard Kozmik
- </jxb:javadoc>
- </jxb:typesafeEnumClass>
- </xs:appinfo>
- </xs:annotation>
- <xs:restriction base="xs:string">
- <xs:enumeration value="repository"/>
- <xs:enumeration value="issue-tracker"/>
- <xs:enumeration value="repo-monitor"/>
- </xs:restriction>
-</xs:simpleType>
-
-
-<!-- -->
-<!-- POLLS -->
-<!-- -->
-
-<xs:complexType name="polls" >
- <xs:annotation>
- <xs:appinfo>
- <jxb:class>
- <jxb:javadoc>
- Class for keeping information about polls.
- Generated using JAXB
- DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
- @author Ryszard Kozmik
- </jxb:javadoc>
- </jxb:class>
- </xs:appinfo>
- </xs:annotation>
- <xs:sequence>
- <xs:element name="poll" minOccurs="0" type="poll" />
- </xs:sequence>
-</xs:complexType>
-
-<xs:complexType name="poll" >
- <xs:annotation>
- <xs:appinfo>
- <jxb:class>
- <jxb:javadoc>
- Class for keeping information about one poll.
- Generated using JAXB
- DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
- @author Ryszard Kozmik
- </jxb:javadoc>
- </jxb:class>
- </xs:appinfo>
- </xs:annotation>
- <xs:all>
- <xs:element name="question" minOccurs="1" maxOccurs="1" type="xs:string" />
- <xs:element name="answer" minOccurs="1" type="xs:string" />
- </xs:all>
-</xs:complexType>
-
-
-<!-- -->
-<!-- DOWNLOADS -->
-<!-- -->
-
-<xs:complexType name="downloads" >
- <xs:annotation>
- <xs:appinfo>
- <jxb:class>
- <jxb:javadoc>
- Class for keeping information about project's downloads.
- Generated using JAXB
- DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
- @author Ryszard Kozmik
- </jxb:javadoc>
- </jxb:class>
- </xs:appinfo>
- </xs:annotation>
- <xs:all>
- <xs:element name="categories" minOccurs="0" maxOccurs="1" type="categories" />
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="counters" minOccurs="0" maxOccurs="1" >
- <xs:complexType>
- <xs:all>
- <xs:element name="sorting" minOccurs="0" maxOccurs="1" type="sorting" />
- <xs:element name="visible" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="files" minOccurs="0" maxOccurs="1" type="files" />
- </xs:all>
-</xs:complexType>
-
-<xs:complexType name="files" >
- <xs:annotation>
- <xs:appinfo>
- <jxb:class>
- <jxb:javadoc>
- Class for keeping information about files available to download.
- Generated using JAXB
- DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
- @author Ryszard Kozmik
- </jxb:javadoc>
- </jxb:class>
- </xs:appinfo>
- </xs:annotation>
- <xs:sequence>
- <xs:element name="file" minOccurs="0" maxOccurs="unbounded" type="file" />
- </xs:sequence>
- <xs:attribute name="visible" type="xs:boolean" default="true" />
- <xs:attribute name="sorting" type="sorting" default="random" />
-</xs:complexType>
-
-<xs:complexType name="file" >
- <xs:annotation>
- <xs:appinfo>
- <jxb:class>
- <jxb:javadoc>
- Class for keeping information about one file available for download.
- Generated using JAXB
- DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
- @author Ryszard Kozmik
- </jxb:javadoc>
- </jxb:class>
- </xs:appinfo>
- </xs:annotation>
- <xs:all>
- <xs:element name="id" type="xs:string" minOccurs="1" maxOccurs="1" />
- <xs:element name="name" type="xs:string" maxOccurs="1" />
- <xs:element name="description" type="xs:string" maxOccurs="1" />
- <xs:element name="size" type="xs:string" maxOccurs="1" />
- <xs:element name="license" type="xs:string" maxOccurs="1" />
- <xs:element name="release" type="xs:string" maxOccurs="1" />
- <xs:element name="button" >
- <xs:complexType>
- <xs:all>
- <xs:element name="id" type="xs:string" />
- <xs:element name="name" type="xs:string" />
- <xs:element name="freezone" type="xs:boolean" />
- </xs:all>
- </xs:complexType>
- </xs:element>
- </xs:all>
- <xs:attribute name="visible" type="xs:boolean" default="true" />
- <xs:attribute name="sorting" type="sorting" default="random" />
-</xs:complexType>
-
-
-<!-- -->
-<!-- DOWNLOAD CATEGORIES -->
-<!-- -->
-
-<xs:complexType name="categories" >
- <xs:annotation>
- <xs:appinfo>
- <jxb:class>
- <jxb:javadoc>
- Class for keeping information about download categories.
- Generated using JAXB
- DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
- @author Ryszard Kozmik
- </jxb:javadoc>
- </jxb:class>
- </xs:appinfo>
- </xs:annotation>
- <xs:sequence>
- <xs:element name="category" type="category" maxOccurs="unbounded" />
- </xs:sequence>
-</xs:complexType>
-
-<xs:complexType name="category" >
- <xs:annotation>
- <xs:appinfo>
- <jxb:class>
- <jxb:javadoc>
- Class for keeping information about download category.
- Generated using JAXB
- DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
- @author Ryszard Kozmik
- </jxb:javadoc>
- </jxb:class>
- </xs:appinfo>
- </xs:annotation>
- <xs:all>
- <xs:element name="id" type="xs:string" minOccurs="1" maxOccurs="1" />
- <xs:element name="name" type="xs:string" maxOccurs="1" />
- <xs:element name="description" type="xs:string" maxOccurs="1" />
- <xs:element name="files" type="files" maxOccurs="1" />
- <xs:element name="categories" minOccurs="0" maxOccurs="1" >
- <xs:complexType>
- <xs:sequence>
- <xs:element name="category" type="category" maxOccurs="unbounded" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:all>
-</xs:complexType>
-
-
-<!-- -->
-<!-- DOWNLOAD COUNTERS SORTING -->
-<!-- -->
-
-<xs:simpleType name="sorting" >
- <xs:annotation>
- <xs:appinfo>
- <jxb:typesafeEnumClass>
- <jxb:javadoc>
- Enum describing types of possbile sorting orders for downloads showing purposes.
- Generated using JAXB
- DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
- @author Ryszard Kozmik
- </jxb:javadoc>
- </jxb:typesafeEnumClass>
- </xs:appinfo>
- </xs:annotation>
- <xs:restriction base="xs:string">
- <xs:enumeration value="asc"/>
- <xs:enumeration value="desc"/>
- <xs:enumeration value="random"/>
- <xs:enumeration value="ascending"/>
- <xs:enumeration value="descending"/>
- </xs:restriction>
-</xs:simpleType>
-
-
-</xs:schema>
More information about the jboss-svn-commits
mailing list