[jboss-svn-commits] JBL Code SVN: r5395 - in labs/jbosslabs/trunk/portal-extensions: binaries/maven-repo-addons binaries/maven-repo-addons/jaxb binaries/maven-repo-addons/jaxb/jars forge-common forge-common/src/java/org/jboss/forge/common/projects forge-common/src/java/org/jboss/forge/common/projects/test forge-common/src/web

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Aug 1 20:29:00 EDT 2006


Author: unibrew
Date: 2006-08-01 20:27:16 -0400 (Tue, 01 Aug 2006)
New Revision: 5395

Added:
   labs/jbosslabs/trunk/portal-extensions/binaries/maven-repo-addons/jaxb/
   labs/jbosslabs/trunk/portal-extensions/binaries/maven-repo-addons/jaxb/jars/
   labs/jbosslabs/trunk/portal-extensions/binaries/maven-repo-addons/jaxb/jars/activation.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/maven-repo-addons/jaxb/jars/jaxb-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/maven-repo-addons/jaxb/jars/jaxb-impl.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/maven-repo-addons/jaxb/jars/jaxb-xjc.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/maven-repo-addons/jaxb/jars/jaxb1-impl.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/maven-repo-addons/jaxb/jars/jsr173_1.0_api.jar
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Category.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Files.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ObjectFactory.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Project.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/package-info.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/project.xsd
Modified:
   labs/jbosslabs/trunk/portal-extensions/forge-common/project.xml
Log:
[JBLAB-679] Adding JAXB libraries, adding XMLSchema file for project.xml descriptor, adding first versions of classes for project.xml parsing.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/maven-repo-addons/jaxb/jars/activation.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/maven-repo-addons/jaxb/jars/activation.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/maven-repo-addons/jaxb/jars/jaxb-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/maven-repo-addons/jaxb/jars/jaxb-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/maven-repo-addons/jaxb/jars/jaxb-impl.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/maven-repo-addons/jaxb/jars/jaxb-impl.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/maven-repo-addons/jaxb/jars/jaxb-xjc.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/maven-repo-addons/jaxb/jars/jaxb-xjc.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/maven-repo-addons/jaxb/jars/jaxb1-impl.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/maven-repo-addons/jaxb/jars/jaxb1-impl.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/maven-repo-addons/jaxb/jars/jsr173_1.0_api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/maven-repo-addons/jaxb/jars/jsr173_1.0_api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/project.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/project.xml	2006-08-01 23:57:21 UTC (rev 5394)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/project.xml	2006-08-02 00:27:16 UTC (rev 5395)
@@ -30,6 +30,12 @@
             <version>1.0</version>
             <jar>javax.servlet.jsp.jar</jar>
         </dependency>
+	<dependency>
+		<groupId>jaxb</groupId>
+		<artifactId>JAXB2</artifactId>
+		<version>2.0</version>
+		<jar>jaxb-api.jar</jar>
+        </dependency>
 
 	<dependency>
 	    <groupId>xerces</groupId>

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Category.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Category.java	2006-08-01 23:57:21 UTC (rev 5394)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Category.java	2006-08-02 00:27:16 UTC (rev 5395)
@@ -0,0 +1,243 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2006.08.02 at 02:11:11 AM CEST 
+//
+
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.jboss.forge.common.projects.test.Category.Categories;
+
+
+/**
+ * <p>Java class for category complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="category">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;all>
+ *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="files" type="{http://jboss.org}files"/>
+ *         &lt;element name="categories" minOccurs="0">
+ *           &lt;complexType>
+ *             &lt;complexContent>
+ *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 &lt;sequence>
+ *                   &lt;element name="category" type="{http://jboss.org}category"/>
+ *                 &lt;/sequence>
+ *               &lt;/restriction>
+ *             &lt;/complexContent>
+ *           &lt;/complexType>
+ *         &lt;/element>
+ *       &lt;/all>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "category", propOrder = {
+
+})
+public class Category {
+
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected String id;
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected String name;
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected String description;
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected Files files;
+    @XmlElement(namespace = "http://jboss.org")
+    protected Categories categories;
+
+    /**
+     * Gets the value of the id property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * Sets the value of the id property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setId(String value) {
+        this.id = value;
+    }
+
+    /**
+     * Gets the value of the name property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * Sets the value of the name property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setName(String value) {
+        this.name = value;
+    }
+
+    /**
+     * Gets the value of the description property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getDescription() {
+        return description;
+    }
+
+    /**
+     * Sets the value of the description property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setDescription(String value) {
+        this.description = value;
+    }
+
+    /**
+     * Gets the value of the files property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Files }
+     *     
+     */
+    public Files getFiles() {
+        return files;
+    }
+
+    /**
+     * Sets the value of the files property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Files }
+     *     
+     */
+    public void setFiles(Files value) {
+        this.files = value;
+    }
+
+    /**
+     * Gets the value of the categories property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Categories }
+     *     
+     */
+    public Categories getCategories() {
+        return categories;
+    }
+
+    /**
+     * Sets the value of the categories property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Categories }
+     *     
+     */
+    public void setCategories(Categories value) {
+        this.categories = value;
+    }
+
+
+    /**
+     * <p>Java class for anonymous complex type.
+     * 
+     * <p>The following schema fragment specifies the expected content contained within this class.
+     * 
+     * <pre>
+     * &lt;complexType>
+     *   &lt;complexContent>
+     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       &lt;sequence>
+     *         &lt;element name="category" type="{http://jboss.org}category"/>
+     *       &lt;/sequence>
+     *     &lt;/restriction>
+     *   &lt;/complexContent>
+     * &lt;/complexType>
+     * </pre>
+     * 
+     * 
+     */
+    @XmlAccessorType(XmlAccessType.FIELD)
+    @XmlType(name = "", propOrder = {
+        "category"
+    })
+    public static class Categories {
+
+        @XmlElement(namespace = "http://jboss.org", required = true)
+        protected Category category;
+
+        /**
+         * Gets the value of the category property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link Category }
+         *     
+         */
+        public Category getCategory() {
+            return category;
+        }
+
+        /**
+         * Sets the value of the category property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link Category }
+         *     
+         */
+        public void setCategory(Category value) {
+            this.category = value;
+        }
+
+    }
+
+}

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Files.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Files.java	2006-08-01 23:57:21 UTC (rev 5394)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Files.java	2006-08-02 00:27:16 UTC (rev 5395)
@@ -0,0 +1,464 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2006.08.02 at 02:11:11 AM CEST 
+//
+
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.jboss.forge.common.projects.test.Files.File;
+import org.jboss.forge.common.projects.test.Files.File.Button;
+
+
+/**
+ * <p>Java class for files complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="files">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="file" minOccurs="0">
+ *           &lt;complexType>
+ *             &lt;complexContent>
+ *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 &lt;all>
+ *                   &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                   &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                   &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                   &lt;element name="size" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                   &lt;element name="license" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                   &lt;element name="release" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                   &lt;element name="button">
+ *                     &lt;complexType>
+ *                       &lt;complexContent>
+ *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           &lt;all>
+ *                             &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                             &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                             &lt;element name="freezone">
+ *                               &lt;simpleType>
+ *                                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   &lt;enumeration value="true"/>
+ *                                   &lt;enumeration value="TRUE"/>
+ *                                   &lt;enumeration value="false"/>
+ *                                   &lt;enumeration value="FALSE"/>
+ *                                 &lt;/restriction>
+ *                               &lt;/simpleType>
+ *                             &lt;/element>
+ *                           &lt;/all>
+ *                         &lt;/restriction>
+ *                       &lt;/complexContent>
+ *                     &lt;/complexType>
+ *                   &lt;/element>
+ *                 &lt;/all>
+ *               &lt;/restriction>
+ *             &lt;/complexContent>
+ *           &lt;/complexType>
+ *         &lt;/element>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "files", propOrder = {
+    "file"
+})
+public class Files {
+
+    @XmlElement(namespace = "http://jboss.org")
+    protected File file;
+
+    /**
+     * Gets the value of the file property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link File }
+     *     
+     */
+    public File getFile() {
+        return file;
+    }
+
+    /**
+     * Sets the value of the file property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link File }
+     *     
+     */
+    public void setFile(File value) {
+        this.file = value;
+    }
+
+
+    /**
+     * <p>Java class for anonymous complex type.
+     * 
+     * <p>The following schema fragment specifies the expected content contained within this class.
+     * 
+     * <pre>
+     * &lt;complexType>
+     *   &lt;complexContent>
+     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       &lt;all>
+     *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *         &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *         &lt;element name="size" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *         &lt;element name="license" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *         &lt;element name="release" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *         &lt;element name="button">
+     *           &lt;complexType>
+     *             &lt;complexContent>
+     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 &lt;all>
+     *                   &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *                   &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *                   &lt;element name="freezone">
+     *                     &lt;simpleType>
+     *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         &lt;enumeration value="true"/>
+     *                         &lt;enumeration value="TRUE"/>
+     *                         &lt;enumeration value="false"/>
+     *                         &lt;enumeration value="FALSE"/>
+     *                       &lt;/restriction>
+     *                     &lt;/simpleType>
+     *                   &lt;/element>
+     *                 &lt;/all>
+     *               &lt;/restriction>
+     *             &lt;/complexContent>
+     *           &lt;/complexType>
+     *         &lt;/element>
+     *       &lt;/all>
+     *     &lt;/restriction>
+     *   &lt;/complexContent>
+     * &lt;/complexType>
+     * </pre>
+     * 
+     * 
+     */
+    @XmlAccessorType(XmlAccessType.FIELD)
+    @XmlType(name = "", propOrder = {
+
+    })
+    public static class File {
+
+        @XmlElement(namespace = "http://jboss.org", required = true)
+        protected String id;
+        @XmlElement(namespace = "http://jboss.org", required = true)
+        protected String name;
+        @XmlElement(namespace = "http://jboss.org", required = true)
+        protected String description;
+        @XmlElement(namespace = "http://jboss.org", required = true)
+        protected String size;
+        @XmlElement(namespace = "http://jboss.org", required = true)
+        protected String license;
+        @XmlElement(namespace = "http://jboss.org", required = true)
+        protected String release;
+        @XmlElement(namespace = "http://jboss.org", required = true)
+        protected Button button;
+
+        /**
+         * Gets the value of the id property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link String }
+         *     
+         */
+        public String getId() {
+            return id;
+        }
+
+        /**
+         * Sets the value of the id property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link String }
+         *     
+         */
+        public void setId(String value) {
+            this.id = value;
+        }
+
+        /**
+         * Gets the value of the name property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link String }
+         *     
+         */
+        public String getName() {
+            return name;
+        }
+
+        /**
+         * Sets the value of the name property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link String }
+         *     
+         */
+        public void setName(String value) {
+            this.name = value;
+        }
+
+        /**
+         * Gets the value of the description property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link String }
+         *     
+         */
+        public String getDescription() {
+            return description;
+        }
+
+        /**
+         * Sets the value of the description property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link String }
+         *     
+         */
+        public void setDescription(String value) {
+            this.description = value;
+        }
+
+        /**
+         * Gets the value of the size property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link String }
+         *     
+         */
+        public String getSize() {
+            return size;
+        }
+
+        /**
+         * Sets the value of the size property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link String }
+         *     
+         */
+        public void setSize(String value) {
+            this.size = value;
+        }
+
+        /**
+         * Gets the value of the license property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link String }
+         *     
+         */
+        public String getLicense() {
+            return license;
+        }
+
+        /**
+         * Sets the value of the license property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link String }
+         *     
+         */
+        public void setLicense(String value) {
+            this.license = value;
+        }
+
+        /**
+         * Gets the value of the release property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link String }
+         *     
+         */
+        public String getRelease() {
+            return release;
+        }
+
+        /**
+         * Sets the value of the release property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link String }
+         *     
+         */
+        public void setRelease(String value) {
+            this.release = value;
+        }
+
+        /**
+         * Gets the value of the button property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link Button }
+         *     
+         */
+        public Button getButton() {
+            return button;
+        }
+
+        /**
+         * Sets the value of the button property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link Button }
+         *     
+         */
+        public void setButton(Button value) {
+            this.button = value;
+        }
+
+
+        /**
+         * <p>Java class for anonymous complex type.
+         * 
+         * <p>The following schema fragment specifies the expected content contained within this class.
+         * 
+         * <pre>
+         * &lt;complexType>
+         *   &lt;complexContent>
+         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       &lt;all>
+         *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
+         *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+         *         &lt;element name="freezone">
+         *           &lt;simpleType>
+         *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               &lt;enumeration value="true"/>
+         *               &lt;enumeration value="TRUE"/>
+         *               &lt;enumeration value="false"/>
+         *               &lt;enumeration value="FALSE"/>
+         *             &lt;/restriction>
+         *           &lt;/simpleType>
+         *         &lt;/element>
+         *       &lt;/all>
+         *     &lt;/restriction>
+         *   &lt;/complexContent>
+         * &lt;/complexType>
+         * </pre>
+         * 
+         * 
+         */
+        @XmlAccessorType(XmlAccessType.FIELD)
+        @XmlType(name = "", propOrder = {
+
+        })
+        public static class Button {
+
+            @XmlElement(namespace = "http://jboss.org", required = true)
+            protected String id;
+            @XmlElement(namespace = "http://jboss.org", required = true)
+            protected String name;
+            @XmlElement(namespace = "http://jboss.org", required = true)
+            protected String freezone;
+
+            /**
+             * Gets the value of the id property.
+             * 
+             * @return
+             *     possible object is
+             *     {@link String }
+             *     
+             */
+            public String getId() {
+                return id;
+            }
+
+            /**
+             * Sets the value of the id property.
+             * 
+             * @param value
+             *     allowed object is
+             *     {@link String }
+             *     
+             */
+            public void setId(String value) {
+                this.id = value;
+            }
+
+            /**
+             * Gets the value of the name property.
+             * 
+             * @return
+             *     possible object is
+             *     {@link String }
+             *     
+             */
+            public String getName() {
+                return name;
+            }
+
+            /**
+             * Sets the value of the name property.
+             * 
+             * @param value
+             *     allowed object is
+             *     {@link String }
+             *     
+             */
+            public void setName(String value) {
+                this.name = value;
+            }
+
+            /**
+             * Gets the value of the freezone property.
+             * 
+             * @return
+             *     possible object is
+             *     {@link String }
+             *     
+             */
+            public String getFreezone() {
+                return freezone;
+            }
+
+            /**
+             * Sets the value of the freezone property.
+             * 
+             * @param value
+             *     allowed object is
+             *     {@link String }
+             *     
+             */
+            public void setFreezone(String value) {
+                this.freezone = value;
+            }
+
+        }
+
+    }
+
+}

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ObjectFactory.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ObjectFactory.java	2006-08-01 23:57:21 UTC (rev 5394)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ObjectFactory.java	2006-08-02 00:27:16 UTC (rev 5395)
@@ -0,0 +1,178 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2006.08.02 at 02:11:11 AM CEST 
+//
+
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlRegistry;
+import org.jboss.forge.common.projects.test.Files.File;
+import org.jboss.forge.common.projects.test.Files.File.Button;
+import org.jboss.forge.common.projects.test.Project.Downloads;
+import org.jboss.forge.common.projects.test.Project.IssueTracker;
+import org.jboss.forge.common.projects.test.Project.Menu;
+import org.jboss.forge.common.projects.test.Project.Menu.Link;
+import org.jboss.forge.common.projects.test.Project.Menu.Page;
+import org.jboss.forge.common.projects.test.Project.Polls;
+import org.jboss.forge.common.projects.test.Project.Polls.Poll;
+import org.jboss.forge.common.projects.test.Project.RepoMonitor;
+import org.jboss.forge.common.projects.test.Project.Repository;
+
+
+/**
+ * This object contains factory methods for each 
+ * Java content interface and Java element interface 
+ * generated in the org.jboss.forge.common.projects.test package. 
+ * <p>An ObjectFactory allows you to programatically 
+ * construct new instances of the Java representation 
+ * for XML content. The Java representation of XML 
+ * content can consist of schema derived interfaces 
+ * and classes representing the binding of schema 
+ * type definitions, element declarations and model 
+ * groups.  Factory methods for each of these are 
+ * provided in this class.
+ * 
+ */
+ at XmlRegistry
+public class ObjectFactory {
+
+
+    /**
+     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jboss.forge.common.projects.test
+     * 
+     */
+    public ObjectFactory() {
+    }
+
+    /**
+     * Create an instance of {@link Repository }
+     * 
+     */
+    public Repository createProjectRepository() {
+        return new Repository();
+    }
+
+    /**
+     * Create an instance of {@link Category }
+     * 
+     */
+    public Category createCategory() {
+        return new Category();
+    }
+
+    /**
+     * Create an instance of {@link Files }
+     * 
+     */
+    public Files createFiles() {
+        return new Files();
+    }
+
+    /**
+     * Create an instance of {@link File }
+     * 
+     */
+    public File createFilesFile() {
+        return new File();
+    }
+
+    /**
+     * Create an instance of {@link Downloads }
+     * 
+     */
+    public Downloads createProjectDownloads() {
+        return new Downloads();
+    }
+
+    /**
+     * Create an instance of {@link IssueTracker }
+     * 
+     */
+    public IssueTracker createProjectIssueTracker() {
+        return new IssueTracker();
+    }
+
+    /**
+     * Create an instance of {@link Menu }
+     * 
+     */
+    public Menu createProjectMenu() {
+        return new Menu();
+    }
+
+    /**
+     * Create an instance of {@link Link }
+     * 
+     */
+    public Link createProjectMenuLink() {
+        return new Link();
+    }
+
+    /**
+     * Create an instance of {@link Button }
+     * 
+     */
+    public Button createFilesFileButton() {
+        return new Button();
+    }
+
+    /**
+     * Create an instance of {@link org.jboss.forge.common.projects.test.Category.Categories }
+     * 
+     */
+    public org.jboss.forge.common.projects.test.Category.Categories createCategoryCategories() {
+        return new org.jboss.forge.common.projects.test.Category.Categories();
+    }
+
+    /**
+     * Create an instance of {@link RepoMonitor }
+     * 
+     */
+    public RepoMonitor createProjectRepoMonitor() {
+        return new RepoMonitor();
+    }
+
+    /**
+     * Create an instance of {@link Polls }
+     * 
+     */
+    public Polls createProjectPolls() {
+        return new Polls();
+    }
+
+    /**
+     * Create an instance of {@link Project }
+     * 
+     */
+    public Project createProject() {
+        return new Project();
+    }
+
+    /**
+     * Create an instance of {@link Page }
+     * 
+     */
+    public Page createProjectMenuPage() {
+        return new Page();
+    }
+
+    /**
+     * Create an instance of {@link Poll }
+     * 
+     */
+    public Poll createProjectPollsPoll() {
+        return new Poll();
+    }
+
+    /**
+     * Create an instance of {@link org.jboss.forge.common.projects.test.Project.Downloads.Categories }
+     * 
+     */
+    public org.jboss.forge.common.projects.test.Project.Downloads.Categories createProjectDownloadsCategories() {
+        return new org.jboss.forge.common.projects.test.Project.Downloads.Categories();
+    }
+
+}

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Project.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Project.java	2006-08-01 23:57:21 UTC (rev 5394)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Project.java	2006-08-02 00:27:16 UTC (rev 5395)
@@ -0,0 +1,1288 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2006.08.02 at 02:11:11 AM CEST 
+//
+
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import org.jboss.forge.common.projects.test.Project.Downloads;
+import org.jboss.forge.common.projects.test.Project.Downloads.Categories;
+import org.jboss.forge.common.projects.test.Project.IssueTracker;
+import org.jboss.forge.common.projects.test.Project.Menu;
+import org.jboss.forge.common.projects.test.Project.Menu.Link;
+import org.jboss.forge.common.projects.test.Project.Menu.Page;
+import org.jboss.forge.common.projects.test.Project.Polls;
+import org.jboss.forge.common.projects.test.Project.Polls.Poll;
+import org.jboss.forge.common.projects.test.Project.RepoMonitor;
+import org.jboss.forge.common.projects.test.Project.Repository;
+
+
+/**
+ * <p>Java class for project element declaration.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;element name="project">
+ *   &lt;complexType>
+ *     &lt;complexContent>
+ *       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *         &lt;all>
+ *           &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *           &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *           &lt;element name="company-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *           &lt;element name="logo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *           &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *           &lt;element name="jems" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *           &lt;element name="repository" minOccurs="0">
+ *             &lt;complexType>
+ *               &lt;complexContent>
+ *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                   &lt;attribute name="type" use="required">
+ *                     &lt;simpleType>
+ *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         &lt;enumeration value="svn"/>
+ *                         &lt;enumeration value="cvs"/>
+ *                       &lt;/restriction>
+ *                     &lt;/simpleType>
+ *                   &lt;/attribute>
+ *                 &lt;/restriction>
+ *               &lt;/complexContent>
+ *             &lt;/complexType>
+ *           &lt;/element>
+ *           &lt;element name="repo-monitor" minOccurs="0">
+ *             &lt;complexType>
+ *               &lt;simpleContent>
+ *                 &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
+ *                   &lt;attribute name="type" use="required">
+ *                     &lt;simpleType>
+ *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         &lt;enumeration value="fisheye"/>
+ *                         &lt;enumeration value="viewvc"/>
+ *                       &lt;/restriction>
+ *                     &lt;/simpleType>
+ *                   &lt;/attribute>
+ *                 &lt;/extension>
+ *               &lt;/simpleContent>
+ *             &lt;/complexType>
+ *           &lt;/element>
+ *           &lt;element name="issue-tracker" minOccurs="0">
+ *             &lt;complexType>
+ *               &lt;simpleContent>
+ *                 &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
+ *                   &lt;attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
+ *                 &lt;/extension>
+ *               &lt;/simpleContent>
+ *             &lt;/complexType>
+ *           &lt;/element>
+ *           &lt;element name="menu">
+ *             &lt;complexType>
+ *               &lt;complexContent>
+ *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                   &lt;all>
+ *                     &lt;element name="page">
+ *                       &lt;complexType>
+ *                         &lt;simpleContent>
+ *                           &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
+ *                             &lt;attribute name="display" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *                           &lt;/extension>
+ *                         &lt;/simpleContent>
+ *                       &lt;/complexType>
+ *                     &lt;/element>
+ *                     &lt;element name="link">
+ *                       &lt;complexType>
+ *                         &lt;simpleContent>
+ *                           &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
+ *                             &lt;attribute name="display" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *                             &lt;attribute name="type">
+ *                               &lt;simpleType>
+ *                                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   &lt;enumeration value="repository"/>
+ *                                   &lt;enumeration value="issue-tracker"/>
+ *                                   &lt;enumeration value="repo-monitor"/>
+ *                                 &lt;/restriction>
+ *                               &lt;/simpleType>
+ *                             &lt;/attribute>
+ *                           &lt;/extension>
+ *                         &lt;/simpleContent>
+ *                       &lt;/complexType>
+ *                     &lt;/element>
+ *                   &lt;/all>
+ *                 &lt;/restriction>
+ *               &lt;/complexContent>
+ *             &lt;/complexType>
+ *           &lt;/element>
+ *           &lt;element name="polls" minOccurs="0">
+ *             &lt;complexType>
+ *               &lt;complexContent>
+ *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                   &lt;sequence>
+ *                     &lt;element name="poll" minOccurs="0">
+ *                       &lt;complexType>
+ *                         &lt;complexContent>
+ *                           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                             &lt;all>
+ *                               &lt;element name="question" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                               &lt;element name="answer" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                             &lt;/all>
+ *                           &lt;/restriction>
+ *                         &lt;/complexContent>
+ *                       &lt;/complexType>
+ *                     &lt;/element>
+ *                   &lt;/sequence>
+ *                 &lt;/restriction>
+ *               &lt;/complexContent>
+ *             &lt;/complexType>
+ *           &lt;/element>
+ *           &lt;element name="downloads" minOccurs="0">
+ *             &lt;complexType>
+ *               &lt;complexContent>
+ *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                   &lt;sequence>
+ *                     &lt;element name="categories" minOccurs="0">
+ *                       &lt;complexType>
+ *                         &lt;complexContent>
+ *                           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                             &lt;sequence>
+ *                               &lt;element name="category" type="{http://jboss.org}category"/>
+ *                             &lt;/sequence>
+ *                           &lt;/restriction>
+ *                         &lt;/complexContent>
+ *                       &lt;/complexType>
+ *                     &lt;/element>
+ *                   &lt;/sequence>
+ *                 &lt;/restriction>
+ *               &lt;/complexContent>
+ *             &lt;/complexType>
+ *           &lt;/element>
+ *         &lt;/all>
+ *       &lt;/restriction>
+ *     &lt;/complexContent>
+ *   &lt;/complexType>
+ * &lt;/element>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+
+})
+ at XmlRootElement(name = "project")
+public class Project {
+
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected String id;
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected String name;
+    @XmlElement(name = "company-name", namespace = "http://jboss.org", required = true)
+    protected String companyName;
+    @XmlElement(namespace = "http://jboss.org")
+    protected String logo;
+    @XmlElement(namespace = "http://jboss.org")
+    protected String description;
+    @XmlElement(namespace = "http://jboss.org")
+    protected String jems;
+    @XmlElement(namespace = "http://jboss.org")
+    protected Repository repository;
+    @XmlElement(name = "repo-monitor", namespace = "http://jboss.org")
+    protected RepoMonitor repoMonitor;
+    @XmlElement(name = "issue-tracker", namespace = "http://jboss.org")
+    protected IssueTracker issueTracker;
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected Menu menu;
+    @XmlElement(namespace = "http://jboss.org")
+    protected Polls polls;
+    @XmlElement(namespace = "http://jboss.org")
+    protected Downloads downloads;
+
+    /**
+     * Gets the value of the id property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * Sets the value of the id property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setId(String value) {
+        this.id = value;
+    }
+
+    /**
+     * Gets the value of the name property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * Sets the value of the name property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setName(String value) {
+        this.name = value;
+    }
+
+    /**
+     * Gets the value of the companyName property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getCompanyName() {
+        return companyName;
+    }
+
+    /**
+     * Sets the value of the companyName property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setCompanyName(String value) {
+        this.companyName = value;
+    }
+
+    /**
+     * Gets the value of the logo property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getLogo() {
+        return logo;
+    }
+
+    /**
+     * Sets the value of the logo property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setLogo(String value) {
+        this.logo = value;
+    }
+
+    /**
+     * Gets the value of the description property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getDescription() {
+        return description;
+    }
+
+    /**
+     * Sets the value of the description property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setDescription(String value) {
+        this.description = value;
+    }
+
+    /**
+     * Gets the value of the jems property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getJems() {
+        return jems;
+    }
+
+    /**
+     * Sets the value of the jems property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setJems(String value) {
+        this.jems = value;
+    }
+
+    /**
+     * Gets the value of the repository property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Repository }
+     *     
+     */
+    public Repository getRepository() {
+        return repository;
+    }
+
+    /**
+     * Sets the value of the repository property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Repository }
+     *     
+     */
+    public void setRepository(Repository value) {
+        this.repository = value;
+    }
+
+    /**
+     * Gets the value of the repoMonitor property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link RepoMonitor }
+     *     
+     */
+    public RepoMonitor getRepoMonitor() {
+        return repoMonitor;
+    }
+
+    /**
+     * Sets the value of the repoMonitor property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link RepoMonitor }
+     *     
+     */
+    public void setRepoMonitor(RepoMonitor value) {
+        this.repoMonitor = value;
+    }
+
+    /**
+     * Gets the value of the issueTracker property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link IssueTracker }
+     *     
+     */
+    public IssueTracker getIssueTracker() {
+        return issueTracker;
+    }
+
+    /**
+     * Sets the value of the issueTracker property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link IssueTracker }
+     *     
+     */
+    public void setIssueTracker(IssueTracker value) {
+        this.issueTracker = value;
+    }
+
+    /**
+     * Gets the value of the menu property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Menu }
+     *     
+     */
+    public Menu getMenu() {
+        return menu;
+    }
+
+    /**
+     * Sets the value of the menu property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Menu }
+     *     
+     */
+    public void setMenu(Menu value) {
+        this.menu = value;
+    }
+
+    /**
+     * Gets the value of the polls property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Polls }
+     *     
+     */
+    public Polls getPolls() {
+        return polls;
+    }
+
+    /**
+     * Sets the value of the polls property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Polls }
+     *     
+     */
+    public void setPolls(Polls value) {
+        this.polls = value;
+    }
+
+    /**
+     * Gets the value of the downloads property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Downloads }
+     *     
+     */
+    public Downloads getDownloads() {
+        return downloads;
+    }
+
+    /**
+     * Sets the value of the downloads property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Downloads }
+     *     
+     */
+    public void setDownloads(Downloads value) {
+        this.downloads = value;
+    }
+
+
+    /**
+     * <p>Java class for anonymous complex type.
+     * 
+     * <p>The following schema fragment specifies the expected content contained within this class.
+     * 
+     * <pre>
+     * &lt;complexType>
+     *   &lt;complexContent>
+     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       &lt;sequence>
+     *         &lt;element name="categories" minOccurs="0">
+     *           &lt;complexType>
+     *             &lt;complexContent>
+     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 &lt;sequence>
+     *                   &lt;element name="category" type="{http://jboss.org}category"/>
+     *                 &lt;/sequence>
+     *               &lt;/restriction>
+     *             &lt;/complexContent>
+     *           &lt;/complexType>
+     *         &lt;/element>
+     *       &lt;/sequence>
+     *     &lt;/restriction>
+     *   &lt;/complexContent>
+     * &lt;/complexType>
+     * </pre>
+     * 
+     * 
+     */
+    @XmlAccessorType(XmlAccessType.FIELD)
+    @XmlType(name = "", propOrder = {
+        "categories"
+    })
+    public static class Downloads {
+
+        @XmlElement(namespace = "http://jboss.org")
+        protected Categories categories;
+
+        /**
+         * Gets the value of the categories property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link Categories }
+         *     
+         */
+        public Categories getCategories() {
+            return categories;
+        }
+
+        /**
+         * Sets the value of the categories property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link Categories }
+         *     
+         */
+        public void setCategories(Categories value) {
+            this.categories = value;
+        }
+
+
+        /**
+         * <p>Java class for anonymous complex type.
+         * 
+         * <p>The following schema fragment specifies the expected content contained within this class.
+         * 
+         * <pre>
+         * &lt;complexType>
+         *   &lt;complexContent>
+         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       &lt;sequence>
+         *         &lt;element name="category" type="{http://jboss.org}category"/>
+         *       &lt;/sequence>
+         *     &lt;/restriction>
+         *   &lt;/complexContent>
+         * &lt;/complexType>
+         * </pre>
+         * 
+         * 
+         */
+        @XmlAccessorType(XmlAccessType.FIELD)
+        @XmlType(name = "", propOrder = {
+            "category"
+        })
+        public static class Categories {
+
+            @XmlElement(namespace = "http://jboss.org", required = true)
+            protected Category category;
+
+            /**
+             * Gets the value of the category property.
+             * 
+             * @return
+             *     possible object is
+             *     {@link Category }
+             *     
+             */
+            public Category getCategory() {
+                return category;
+            }
+
+            /**
+             * Sets the value of the category property.
+             * 
+             * @param value
+             *     allowed object is
+             *     {@link Category }
+             *     
+             */
+            public void setCategory(Category value) {
+                this.category = value;
+            }
+
+        }
+
+    }
+
+
+    /**
+     * <p>Java class for anonymous complex type.
+     * 
+     * <p>The following schema fragment specifies the expected content contained within this class.
+     * 
+     * <pre>
+     * &lt;complexType>
+     *   &lt;simpleContent>
+     *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
+     *       &lt;attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
+     *     &lt;/extension>
+     *   &lt;/simpleContent>
+     * &lt;/complexType>
+     * </pre>
+     * 
+     * 
+     */
+    @XmlAccessorType(XmlAccessType.FIELD)
+    @XmlType(name = "", propOrder = {
+        "value"
+    })
+    public static class IssueTracker {
+
+        @XmlValue
+        protected String value;
+        @XmlAttribute(required = true)
+        protected String type;
+
+        /**
+         * Gets the value of the value property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link String }
+         *     
+         */
+        public String getValue() {
+            return value;
+        }
+
+        /**
+         * Sets the value of the value property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link String }
+         *     
+         */
+        public void setValue(String value) {
+            this.value = value;
+        }
+
+        /**
+         * Gets the value of the type property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link String }
+         *     
+         */
+        public String getType() {
+            return type;
+        }
+
+        /**
+         * Sets the value of the type property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link String }
+         *     
+         */
+        public void setType(String value) {
+            this.type = value;
+        }
+
+    }
+
+
+    /**
+     * <p>Java class for anonymous complex type.
+     * 
+     * <p>The following schema fragment specifies the expected content contained within this class.
+     * 
+     * <pre>
+     * &lt;complexType>
+     *   &lt;complexContent>
+     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       &lt;all>
+     *         &lt;element name="page">
+     *           &lt;complexType>
+     *             &lt;simpleContent>
+     *               &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
+     *                 &lt;attribute name="display" type="{http://www.w3.org/2001/XMLSchema}string" />
+     *               &lt;/extension>
+     *             &lt;/simpleContent>
+     *           &lt;/complexType>
+     *         &lt;/element>
+     *         &lt;element name="link">
+     *           &lt;complexType>
+     *             &lt;simpleContent>
+     *               &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
+     *                 &lt;attribute name="display" type="{http://www.w3.org/2001/XMLSchema}string" />
+     *                 &lt;attribute name="type">
+     *                   &lt;simpleType>
+     *                     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                       &lt;enumeration value="repository"/>
+     *                       &lt;enumeration value="issue-tracker"/>
+     *                       &lt;enumeration value="repo-monitor"/>
+     *                     &lt;/restriction>
+     *                   &lt;/simpleType>
+     *                 &lt;/attribute>
+     *               &lt;/extension>
+     *             &lt;/simpleContent>
+     *           &lt;/complexType>
+     *         &lt;/element>
+     *       &lt;/all>
+     *     &lt;/restriction>
+     *   &lt;/complexContent>
+     * &lt;/complexType>
+     * </pre>
+     * 
+     * 
+     */
+    @XmlAccessorType(XmlAccessType.FIELD)
+    @XmlType(name = "", propOrder = {
+
+    })
+    public static class Menu {
+
+        @XmlElement(namespace = "http://jboss.org", required = true)
+        protected Page page;
+        @XmlElement(namespace = "http://jboss.org", required = true)
+        protected Link link;
+
+        /**
+         * Gets the value of the page property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link Page }
+         *     
+         */
+        public Page getPage() {
+            return page;
+        }
+
+        /**
+         * Sets the value of the page property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link Page }
+         *     
+         */
+        public void setPage(Page value) {
+            this.page = value;
+        }
+
+        /**
+         * Gets the value of the link property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link Link }
+         *     
+         */
+        public Link getLink() {
+            return link;
+        }
+
+        /**
+         * Sets the value of the link property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link Link }
+         *     
+         */
+        public void setLink(Link value) {
+            this.link = value;
+        }
+
+
+        /**
+         * <p>Java class for anonymous complex type.
+         * 
+         * <p>The following schema fragment specifies the expected content contained within this class.
+         * 
+         * <pre>
+         * &lt;complexType>
+         *   &lt;simpleContent>
+         *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
+         *       &lt;attribute name="display" type="{http://www.w3.org/2001/XMLSchema}string" />
+         *       &lt;attribute name="type">
+         *         &lt;simpleType>
+         *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *             &lt;enumeration value="repository"/>
+         *             &lt;enumeration value="issue-tracker"/>
+         *             &lt;enumeration value="repo-monitor"/>
+         *           &lt;/restriction>
+         *         &lt;/simpleType>
+         *       &lt;/attribute>
+         *     &lt;/extension>
+         *   &lt;/simpleContent>
+         * &lt;/complexType>
+         * </pre>
+         * 
+         * 
+         */
+        @XmlAccessorType(XmlAccessType.FIELD)
+        @XmlType(name = "", propOrder = {
+            "value"
+        })
+        public static class Link {
+
+            @XmlValue
+            protected String value;
+            @XmlAttribute
+            protected String display;
+            @XmlAttribute
+            protected String type;
+
+            /**
+             * Gets the value of the value property.
+             * 
+             * @return
+             *     possible object is
+             *     {@link String }
+             *     
+             */
+            public String getValue() {
+                return value;
+            }
+
+            /**
+             * Sets the value of the value property.
+             * 
+             * @param value
+             *     allowed object is
+             *     {@link String }
+             *     
+             */
+            public void setValue(String value) {
+                this.value = value;
+            }
+
+            /**
+             * Gets the value of the display property.
+             * 
+             * @return
+             *     possible object is
+             *     {@link String }
+             *     
+             */
+            public String getDisplay() {
+                return display;
+            }
+
+            /**
+             * Sets the value of the display property.
+             * 
+             * @param value
+             *     allowed object is
+             *     {@link String }
+             *     
+             */
+            public void setDisplay(String value) {
+                this.display = value;
+            }
+
+            /**
+             * Gets the value of the type property.
+             * 
+             * @return
+             *     possible object is
+             *     {@link String }
+             *     
+             */
+            public String getType() {
+                return type;
+            }
+
+            /**
+             * Sets the value of the type property.
+             * 
+             * @param value
+             *     allowed object is
+             *     {@link String }
+             *     
+             */
+            public void setType(String value) {
+                this.type = value;
+            }
+
+        }
+
+
+        /**
+         * <p>Java class for anonymous complex type.
+         * 
+         * <p>The following schema fragment specifies the expected content contained within this class.
+         * 
+         * <pre>
+         * &lt;complexType>
+         *   &lt;simpleContent>
+         *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
+         *       &lt;attribute name="display" type="{http://www.w3.org/2001/XMLSchema}string" />
+         *     &lt;/extension>
+         *   &lt;/simpleContent>
+         * &lt;/complexType>
+         * </pre>
+         * 
+         * 
+         */
+        @XmlAccessorType(XmlAccessType.FIELD)
+        @XmlType(name = "", propOrder = {
+            "value"
+        })
+        public static class Page {
+
+            @XmlValue
+            protected String value;
+            @XmlAttribute
+            protected String display;
+
+            /**
+             * Gets the value of the value property.
+             * 
+             * @return
+             *     possible object is
+             *     {@link String }
+             *     
+             */
+            public String getValue() {
+                return value;
+            }
+
+            /**
+             * Sets the value of the value property.
+             * 
+             * @param value
+             *     allowed object is
+             *     {@link String }
+             *     
+             */
+            public void setValue(String value) {
+                this.value = value;
+            }
+
+            /**
+             * Gets the value of the display property.
+             * 
+             * @return
+             *     possible object is
+             *     {@link String }
+             *     
+             */
+            public String getDisplay() {
+                return display;
+            }
+
+            /**
+             * Sets the value of the display property.
+             * 
+             * @param value
+             *     allowed object is
+             *     {@link String }
+             *     
+             */
+            public void setDisplay(String value) {
+                this.display = value;
+            }
+
+        }
+
+    }
+
+
+    /**
+     * <p>Java class for anonymous complex type.
+     * 
+     * <p>The following schema fragment specifies the expected content contained within this class.
+     * 
+     * <pre>
+     * &lt;complexType>
+     *   &lt;complexContent>
+     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       &lt;sequence>
+     *         &lt;element name="poll" minOccurs="0">
+     *           &lt;complexType>
+     *             &lt;complexContent>
+     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 &lt;all>
+     *                   &lt;element name="question" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *                   &lt;element name="answer" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *                 &lt;/all>
+     *               &lt;/restriction>
+     *             &lt;/complexContent>
+     *           &lt;/complexType>
+     *         &lt;/element>
+     *       &lt;/sequence>
+     *     &lt;/restriction>
+     *   &lt;/complexContent>
+     * &lt;/complexType>
+     * </pre>
+     * 
+     * 
+     */
+    @XmlAccessorType(XmlAccessType.FIELD)
+    @XmlType(name = "", propOrder = {
+        "poll"
+    })
+    public static class Polls {
+
+        @XmlElement(namespace = "http://jboss.org")
+        protected Poll poll;
+
+        /**
+         * Gets the value of the poll property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link Poll }
+         *     
+         */
+        public Poll getPoll() {
+            return poll;
+        }
+
+        /**
+         * Sets the value of the poll property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link Poll }
+         *     
+         */
+        public void setPoll(Poll value) {
+            this.poll = value;
+        }
+
+
+        /**
+         * <p>Java class for anonymous complex type.
+         * 
+         * <p>The following schema fragment specifies the expected content contained within this class.
+         * 
+         * <pre>
+         * &lt;complexType>
+         *   &lt;complexContent>
+         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       &lt;all>
+         *         &lt;element name="question" type="{http://www.w3.org/2001/XMLSchema}string"/>
+         *         &lt;element name="answer" type="{http://www.w3.org/2001/XMLSchema}string"/>
+         *       &lt;/all>
+         *     &lt;/restriction>
+         *   &lt;/complexContent>
+         * &lt;/complexType>
+         * </pre>
+         * 
+         * 
+         */
+        @XmlAccessorType(XmlAccessType.FIELD)
+        @XmlType(name = "", propOrder = {
+
+        })
+        public static class Poll {
+
+            @XmlElement(namespace = "http://jboss.org", required = true)
+            protected String question;
+            @XmlElement(namespace = "http://jboss.org", required = true)
+            protected String answer;
+
+            /**
+             * Gets the value of the question property.
+             * 
+             * @return
+             *     possible object is
+             *     {@link String }
+             *     
+             */
+            public String getQuestion() {
+                return question;
+            }
+
+            /**
+             * Sets the value of the question property.
+             * 
+             * @param value
+             *     allowed object is
+             *     {@link String }
+             *     
+             */
+            public void setQuestion(String value) {
+                this.question = value;
+            }
+
+            /**
+             * Gets the value of the answer property.
+             * 
+             * @return
+             *     possible object is
+             *     {@link String }
+             *     
+             */
+            public String getAnswer() {
+                return answer;
+            }
+
+            /**
+             * Sets the value of the answer property.
+             * 
+             * @param value
+             *     allowed object is
+             *     {@link String }
+             *     
+             */
+            public void setAnswer(String value) {
+                this.answer = value;
+            }
+
+        }
+
+    }
+
+
+    /**
+     * <p>Java class for anonymous complex type.
+     * 
+     * <p>The following schema fragment specifies the expected content contained within this class.
+     * 
+     * <pre>
+     * &lt;complexType>
+     *   &lt;simpleContent>
+     *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
+     *       &lt;attribute name="type" use="required">
+     *         &lt;simpleType>
+     *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *             &lt;enumeration value="fisheye"/>
+     *             &lt;enumeration value="viewvc"/>
+     *           &lt;/restriction>
+     *         &lt;/simpleType>
+     *       &lt;/attribute>
+     *     &lt;/extension>
+     *   &lt;/simpleContent>
+     * &lt;/complexType>
+     * </pre>
+     * 
+     * 
+     */
+    @XmlAccessorType(XmlAccessType.FIELD)
+    @XmlType(name = "", propOrder = {
+        "value"
+    })
+    public static class RepoMonitor {
+
+        @XmlValue
+        protected String value;
+        @XmlAttribute(required = true)
+        protected String type;
+
+        /**
+         * Gets the value of the value property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link String }
+         *     
+         */
+        public String getValue() {
+            return value;
+        }
+
+        /**
+         * Sets the value of the value property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link String }
+         *     
+         */
+        public void setValue(String value) {
+            this.value = value;
+        }
+
+        /**
+         * Gets the value of the type property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link String }
+         *     
+         */
+        public String getType() {
+            return type;
+        }
+
+        /**
+         * Sets the value of the type property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link String }
+         *     
+         */
+        public void setType(String value) {
+            this.type = value;
+        }
+
+    }
+
+
+    /**
+     * <p>Java class for anonymous complex type.
+     * 
+     * <p>The following schema fragment specifies the expected content contained within this class.
+     * 
+     * <pre>
+     * &lt;complexType>
+     *   &lt;complexContent>
+     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       &lt;attribute name="type" use="required">
+     *         &lt;simpleType>
+     *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *             &lt;enumeration value="svn"/>
+     *             &lt;enumeration value="cvs"/>
+     *           &lt;/restriction>
+     *         &lt;/simpleType>
+     *       &lt;/attribute>
+     *     &lt;/restriction>
+     *   &lt;/complexContent>
+     * &lt;/complexType>
+     * </pre>
+     * 
+     * 
+     */
+    @XmlAccessorType(XmlAccessType.FIELD)
+    @XmlType(name = "")
+    public static class Repository {
+
+        @XmlAttribute(required = true)
+        protected String type;
+
+        /**
+         * Gets the value of the type property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link String }
+         *     
+         */
+        public String getType() {
+            return type;
+        }
+
+        /**
+         * Sets the value of the type property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link String }
+         *     
+         */
+        public void setType(String value) {
+            this.type = value;
+        }
+
+    }
+
+}

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/package-info.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/package-info.java	2006-08-01 23:57:21 UTC (rev 5394)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/package-info.java	2006-08-02 00:27:16 UTC (rev 5395)
@@ -0,0 +1,9 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2006.08.02 at 02:11:11 AM CEST 
+//
+
+ at javax.xml.bind.annotation.XmlSchema(namespace = "http://jboss.org")
+package org.jboss.forge.common.projects.test;

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/project.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/project.xsd	2006-08-01 23:57:21 UTC (rev 5394)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/project.xsd	2006-08-02 00:27:16 UTC (rev 5395)
@@ -0,0 +1,169 @@
+<?xml version="1.0"?>
+
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+targetNamespace="http://jboss.org"
+xmlns="http://jboss.org"
+elementFormDefault="qualified">
+
+<xs:element name="project" >
+    <xs:complexType>
+        <xs:all>
+            <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" type="xs:string" minOccurs="0" />
+            <xs:element name="repository" minOccurs="0" >
+                <xs:complexType>
+                    <xs:attribute name="type" use="required" >
+                        <xs:simpleType>
+                            <xs:restriction base="xs:string">
+                                <xs:enumeration value="svn"/>
+                                <xs:enumeration value="cvs"/>
+                            </xs:restriction>
+                        </xs:simpleType>
+                    </xs:attribute>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="repo-monitor" minOccurs="0" >
+                <xs:complexType>
+                    <xs:simpleContent>
+                        <xs:extension base="xs:string" >
+                            <xs:attribute name="type" use="required" >
+                                <xs:simpleType>
+                                    <xs:restriction base="xs:string">
+                                        <xs:enumeration value="fisheye"/>
+                                        <xs:enumeration value="viewvc"/>
+                                    </xs:restriction>
+                                </xs:simpleType>
+                            </xs:attribute>
+                        </xs:extension>
+                    </xs:simpleContent>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="issue-tracker" minOccurs="0" >
+                <xs:complexType>
+                    <xs:simpleContent>
+                        <xs:extension base="xs:string">
+                            <xs:attribute name="type" use="required" />
+                        </xs:extension>
+                    </xs:simpleContent>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="menu">
+                <xs:complexType>
+                    <xs:all>
+                        <xs:element name="page" >
+                            <xs:complexType>
+                                <xs:simpleContent>
+                                    <xs:extension base="xs:string" >
+                                        <xs:attribute name="display" type="xs:string" use="optional" />
+                                    </xs:extension>
+                                </xs:simpleContent>
+                            </xs:complexType>
+                        </xs:element>
+                        <xs:element name="link">
+                            <xs:complexType>
+                                <xs:simpleContent>
+                                    <xs:extension base="xs:string" >
+                                        <xs:attribute name="display" type="xs:string" use="optional" />
+                                        <xs:attribute name="type" use="optional" >
+                                            <xs:simpleType>
+                                                <xs:restriction base="xs:string">
+                                                    <xs:enumeration value="repository"/>
+                                                    <xs:enumeration value="issue-tracker"/>
+                                                    <xs:enumeration value="repo-monitor"/>
+                                                </xs:restriction>
+                                            </xs:simpleType>
+                                        </xs:attribute>
+                                    </xs:extension>
+                                </xs:simpleContent>
+                            </xs:complexType>
+                        </xs:element>
+                    </xs:all>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="polls" minOccurs="0" maxOccurs="1" >
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element name="poll" minOccurs="0" >
+                            <xs:complexType>
+                                <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>
+                        </xs:element>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="downloads" minOccurs="0" maxOccurs="1" >
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element name="categories" minOccurs="0" maxOccurs="1" >
+                            <xs:complexType>
+                                <xs:sequence>
+                                    <xs:element name="category" type="category" />
+                                </xs:sequence>
+                            </xs:complexType>
+                        </xs:element>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+        </xs:all>
+    </xs:complexType>
+</xs:element>
+
+<xs:complexType name="files" >
+    <xs:sequence>
+        <xs:element name="file" minOccurs="0" >
+            <xs:complexType>
+                <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" >
+                                    <xs:simpleType>
+                                        <xs:restriction base="xs:string" >
+                                            <xs:enumeration value="true" />
+                                            <xs:enumeration value="TRUE" />
+                                            <xs:enumeration value="false"/>
+                                            <xs:enumeration value="FALSE" />
+                                        </xs:restriction>
+                                    </xs:simpleType>
+                                </xs:element>
+                            </xs:all>
+                        </xs:complexType>
+                    </xs:element>
+                </xs:all>
+            </xs:complexType>
+        </xs:element>
+    </xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="category" >
+    <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" />
+                </xs:sequence>
+            </xs:complexType>
+        </xs:element>
+    </xs:all>
+</xs:complexType>
+
+</xs:schema>




More information about the jboss-svn-commits mailing list