You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by at...@apache.org on 2008/10/28 17:11:53 UTC
svn commit: r708600 [1/2] - in
/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed:
./ jaxb/
Author: ate
Date: Tue Oct 28 09:11:52 2008
New Revision: 708600
URL: http://svn.apache.org/viewvc?rev=708600&view=rev
Log:
JS2-871 - Upgrade Pluto container to version 2.0
See: http://issues.apache.org/jira/browse/JS2-871
- adding jaxb class mapping for jetspeed-portlet.xml
Added:
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Contributor.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Coverage.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Creator.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/CustomPortletMode.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/CustomWindowState.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Description.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Format.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Identifer.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Language.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Metadata.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/MetadataType.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/ObjectFactory.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Portlet.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/PortletApp.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Publisher.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Relation.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Right.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Service.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Services.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Source.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Subject.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Title.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Type.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/UserAttributeRef.java (with props)
portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/package-info.java (with props)
Added: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Contributor.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Contributor.java?rev=708600&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Contributor.java (added)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Contributor.java Tue Oct 28 09:11:52 2008
@@ -0,0 +1,50 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.om.portlet.jetspeed.jaxb;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.namespace.QName;
+
+public class Contributor extends JAXBElement<String> implements MetadataType
+{
+ protected final static QName NAME = new QName("http://www.purl.org/dc", "contributor");
+
+ public Contributor(String value)
+ {
+ super(NAME, ((Class) String.class), null, value);
+ }
+
+ public String getMetadataName()
+ {
+ return "contributor";
+ }
+
+ public String getContent()
+ {
+ return this.getValue();
+ }
+
+ public String getLang()
+ {
+ return "en";
+ }
+
+ public void setContent(String value)
+ {
+ this.setValue(value);
+ }
+}
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Contributor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Contributor.java
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Contributor.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Coverage.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Coverage.java?rev=708600&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Coverage.java (added)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Coverage.java Tue Oct 28 09:11:52 2008
@@ -0,0 +1,50 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.om.portlet.jetspeed.jaxb;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.namespace.QName;
+
+public class Coverage extends JAXBElement<String> implements MetadataType
+{
+ protected final static QName NAME = new QName("http://www.purl.org/dc", "coverage");
+
+ public Coverage(String value)
+ {
+ super(NAME, ((Class) String.class), null, value);
+ }
+
+ public String getMetadataName()
+ {
+ return "coverage";
+ }
+
+ public String getContent()
+ {
+ return this.getValue();
+ }
+
+ public String getLang()
+ {
+ return "en";
+ }
+
+ public void setContent(String value)
+ {
+ this.setValue(value);
+ }
+}
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Coverage.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Coverage.java
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Coverage.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Creator.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Creator.java?rev=708600&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Creator.java (added)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Creator.java Tue Oct 28 09:11:52 2008
@@ -0,0 +1,50 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.om.portlet.jetspeed.jaxb;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.namespace.QName;
+
+public class Creator extends JAXBElement<String> implements MetadataType
+{
+ protected final static QName NAME = new QName("http://www.purl.org/dc", "creator");
+
+ public Creator(String value)
+ {
+ super(NAME, ((Class) String.class), null, value);
+ }
+
+ public String getMetadataName()
+ {
+ return "creator";
+ }
+
+ public String getContent()
+ {
+ return this.getValue();
+ }
+
+ public String getLang()
+ {
+ return "en";
+ }
+
+ public void setContent(String value)
+ {
+ this.setValue(value);
+ }
+}
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Creator.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Creator.java
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Creator.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/CustomPortletMode.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/CustomPortletMode.java?rev=708600&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/CustomPortletMode.java (added)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/CustomPortletMode.java Tue Oct 28 09:11:52 2008
@@ -0,0 +1,83 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.om.portlet.jetspeed.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>Java class for anonymous complex type. <p>The following schema fragment specifies the expected content contained
+ * within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="mapped-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = { "name", "mappedName", "description" })
+@XmlRootElement(name = "custom-portlet-mode")
+public class CustomPortletMode
+{
+ @XmlElement(required = true)
+ protected String name;
+ @XmlElement(name = "mapped-name", required = true)
+ protected String mappedName;
+ protected String description;
+
+ public String getName()
+ {
+ return name;
+ }
+
+ public void setName(String value)
+ {
+ this.name = value;
+ }
+
+ public String getMappedName()
+ {
+ return mappedName;
+ }
+
+ public void setMappedName(String value)
+ {
+ this.mappedName = value;
+ }
+
+ public String getDescription()
+ {
+ return description;
+ }
+
+ public void setDescription(String value)
+ {
+ this.description = value;
+ }
+}
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/CustomPortletMode.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/CustomPortletMode.java
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/CustomPortletMode.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/CustomWindowState.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/CustomWindowState.java?rev=708600&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/CustomWindowState.java (added)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/CustomWindowState.java Tue Oct 28 09:11:52 2008
@@ -0,0 +1,83 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.om.portlet.jetspeed.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>Java class for anonymous complex type. <p>The following schema fragment specifies the expected content contained
+ * within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="mapped-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = { "name", "mappedName", "description" })
+@XmlRootElement(name = "custom-window-state")
+public class CustomWindowState
+{
+ @XmlElement(required = true)
+ protected String name;
+ @XmlElement(name = "mapped-name", required = true)
+ protected String mappedName;
+ protected String description;
+
+ public String getName()
+ {
+ return name;
+ }
+
+ public void setName(String value)
+ {
+ this.name = value;
+ }
+
+ public String getMappedName()
+ {
+ return mappedName;
+ }
+
+ public void setMappedName(String value)
+ {
+ this.mappedName = value;
+ }
+
+ public String getDescription()
+ {
+ return description;
+ }
+
+ public void setDescription(String value)
+ {
+ this.description = value;
+ }
+}
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/CustomWindowState.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/CustomWindowState.java
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/CustomWindowState.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Description.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Description.java?rev=708600&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Description.java (added)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Description.java Tue Oct 28 09:11:52 2008
@@ -0,0 +1,50 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.om.portlet.jetspeed.jaxb;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.namespace.QName;
+
+public class Description extends JAXBElement<String> implements MetadataType
+{
+ protected final static QName NAME = new QName("http://www.purl.org/dc", "description");
+
+ public Description(String value)
+ {
+ super(NAME, ((Class) String.class), null, value);
+ }
+
+ public String getMetadataName()
+ {
+ return "description";
+ }
+
+ public String getContent()
+ {
+ return this.getValue();
+ }
+
+ public String getLang()
+ {
+ return "en";
+ }
+
+ public void setContent(String value)
+ {
+ this.setValue(value);
+ }
+}
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Description.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Description.java
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Description.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Format.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Format.java?rev=708600&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Format.java (added)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Format.java Tue Oct 28 09:11:52 2008
@@ -0,0 +1,50 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.om.portlet.jetspeed.jaxb;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.namespace.QName;
+
+public class Format extends JAXBElement<String> implements MetadataType
+{
+ protected final static QName NAME = new QName("http://www.purl.org/dc", "format");
+
+ public Format(String value)
+ {
+ super(NAME, ((Class) String.class), null, value);
+ }
+
+ public String getMetadataName()
+ {
+ return "format";
+ }
+
+ public String getContent()
+ {
+ return this.getValue();
+ }
+
+ public String getLang()
+ {
+ return "en";
+ }
+
+ public void setContent(String value)
+ {
+ this.setValue(value);
+ }
+}
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Format.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Format.java
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Format.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Identifer.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Identifer.java?rev=708600&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Identifer.java (added)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Identifer.java Tue Oct 28 09:11:52 2008
@@ -0,0 +1,50 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.om.portlet.jetspeed.jaxb;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.namespace.QName;
+
+public class Identifer extends JAXBElement<String> implements MetadataType
+{
+ protected final static QName NAME = new QName("http://www.purl.org/dc", "identifer");
+
+ public Identifer(String value)
+ {
+ super(NAME, ((Class) String.class), null, value);
+ }
+
+ public String getMetadataName()
+ {
+ return "identifer";
+ }
+
+ public String getContent()
+ {
+ return this.getValue();
+ }
+
+ public String getLang()
+ {
+ return "en";
+ }
+
+ public void setContent(String value)
+ {
+ this.setValue(value);
+ }
+}
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Identifer.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Identifer.java
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Identifer.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Language.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Language.java?rev=708600&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Language.java (added)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Language.java Tue Oct 28 09:11:52 2008
@@ -0,0 +1,50 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.om.portlet.jetspeed.jaxb;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.namespace.QName;
+
+public class Language extends JAXBElement<String> implements MetadataType
+{
+ protected final static QName NAME = new QName("http://www.purl.org/dc", "language");
+
+ public Language(String value)
+ {
+ super(NAME, ((Class) String.class), null, value);
+ }
+
+ public String getMetadataName()
+ {
+ return "language";
+ }
+
+ public String getContent()
+ {
+ return this.getValue();
+ }
+
+ public String getLang()
+ {
+ return "en";
+ }
+
+ public void setContent(String value)
+ {
+ this.setValue(value);
+ }
+}
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Language.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Language.java
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Language.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Metadata.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Metadata.java?rev=708600&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Metadata.java (added)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Metadata.java Tue Oct 28 09:11:52 2008
@@ -0,0 +1,86 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.om.portlet.jetspeed.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+/**
+ * <p>Java class for anonymous complex type. <p>The following schema fragment specifies the expected content contained
+ * within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = { "content" })
+@XmlRootElement(name = "metadata")
+public class Metadata implements MetadataType
+{
+ @XmlValue
+ protected String content;
+ @XmlAttribute(required = true)
+ protected String name;
+ @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace")
+ protected String lang;
+
+ public Metadata()
+ {
+ }
+
+ public String getContent()
+ {
+ return content;
+ }
+
+ public void setContent(String value)
+ {
+ this.content = value;
+ }
+
+ public String getMetadataName()
+ {
+ return name;
+ }
+
+ public void setMetadataName(String value)
+ {
+ this.name = value;
+ }
+
+ public String getLang()
+ {
+ return lang != null ? lang : "en";
+ }
+
+ public void setLang(String value)
+ {
+ this.lang = value;
+ }
+}
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Metadata.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Metadata.java
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Metadata.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/MetadataType.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/MetadataType.java?rev=708600&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/MetadataType.java (added)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/MetadataType.java Tue Oct 28 09:11:52 2008
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.om.portlet.jetspeed.jaxb;
+
+public interface MetadataType
+{
+ String getMetadataName();
+ String getContent();
+ void setContent(String value);
+ String getLang();
+}
\ No newline at end of file
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/MetadataType.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/MetadataType.java
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/MetadataType.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/ObjectFactory.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/ObjectFactory.java?rev=708600&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/ObjectFactory.java (added)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/ObjectFactory.java Tue Oct 28 09:11:52 2008
@@ -0,0 +1,161 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.om.portlet.jetspeed.jaxb;
+
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+
+/**
+ * This object contains factory methods for each Java content interface and Java element interface generated in the
+ * org.apache.jetspeed.om.portlet.jetspeed.jaxb 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.
+ */
+@XmlRegistry
+public class ObjectFactory
+{
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package:
+ * org.apache.jetspeed.om.portlet.jetspeed.jaxb
+ */
+ public ObjectFactory()
+ {
+ }
+
+ public Subject createSubject()
+ {
+ return new Subject();
+ }
+
+ public Metadata createMetadata()
+ {
+ return new Metadata();
+ }
+
+ public CustomWindowState createCustomWindowState()
+ {
+ return new CustomWindowState();
+ }
+
+ public Service createService()
+ {
+ return new Service();
+ }
+
+ public Services createServices()
+ {
+ return new Services();
+ }
+
+ public Title createTitle()
+ {
+ return new Title();
+ }
+
+ public Portlet createPortlet()
+ {
+ return new Portlet();
+ }
+
+ public CustomPortletMode createCustomPortletMode()
+ {
+ return new CustomPortletMode();
+ }
+
+ public UserAttributeRef createUserAttributeRef()
+ {
+ return new UserAttributeRef();
+ }
+
+ public PortletApp createPortletApp()
+ {
+ return new PortletApp();
+ }
+
+ @XmlElementDecl(namespace = "http://www.purl.org/dc", name = "contributor")
+ public Contributor createContributor(String value)
+ {
+ return new Contributor(value);
+ }
+
+ @XmlElementDecl(namespace = "http://www.purl.org/dc", name = "description")
+ public Description createDescription(String value)
+ {
+ return new Description(value);
+ }
+
+ @XmlElementDecl(namespace = "http://www.purl.org/dc", name = "creator")
+ public Creator createCreator(String value)
+ {
+ return new Creator(value);
+ }
+
+ @XmlElementDecl(namespace = "http://www.purl.org/dc", name = "identifer")
+ public Identifer createIdentifer(String value)
+ {
+ return new Identifer(value);
+ }
+
+ @XmlElementDecl(namespace = "http://www.purl.org/dc", name = "right")
+ public Right createRight(String value)
+ {
+ return new Right(value);
+ }
+
+ @XmlElementDecl(namespace = "http://www.purl.org/dc", name = "type")
+ public Type createType(String value)
+ {
+ return new Type(value);
+ }
+
+ @XmlElementDecl(namespace = "http://www.purl.org/dc", name = "source")
+ public Source createSource(String value)
+ {
+ return new Source(value);
+ }
+
+ @XmlElementDecl(namespace = "http://www.purl.org/dc", name = "format")
+ public Format createFormat(String value)
+ {
+ return new Format(value);
+ }
+
+ @XmlElementDecl(namespace = "http://www.purl.org/dc", name = "language")
+ public Language createLanguage(String value)
+ {
+ return new Language(value);
+ }
+
+ @XmlElementDecl(namespace = "http://www.purl.org/dc", name = "coverage")
+ public Coverage createCoverage(String value)
+ {
+ return new Coverage(value);
+ }
+
+ @XmlElementDecl(namespace = "http://www.purl.org/dc", name = "publisher")
+ public Publisher createPublisher(String value)
+ {
+ return new Publisher(value);
+ }
+
+ @XmlElementDecl(namespace = "http://www.purl.org/dc", name = "relation")
+ public Relation createRelation(String value)
+ {
+ return new Relation(value);
+ }
+}
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/ObjectFactory.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/ObjectFactory.java
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/ObjectFactory.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Portlet.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Portlet.java?rev=708600&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Portlet.java (added)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Portlet.java Tue Oct 28 09:11:52 2008
@@ -0,0 +1,137 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.om.portlet.jetspeed.jaxb;
+
+import java.util.ArrayList;
+import java.util.List;
+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.XmlElementRef;
+import javax.xml.bind.annotation.XmlElementRefs;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+/**
+ * <p>Java class for anonymous complex type. <p>The following schema fragment specifies the expected content contained
+ * within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="portlet-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="security-constraint-ref" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <group ref="{http://portals.apache.org/jetspeed}metadataGroup" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = { "portletName", "securityConstraintRef", "metadataGroup" })
+@XmlRootElement(name = "portlet")
+public class Portlet
+{
+ @XmlElement(name = "portlet-name", required = true)
+ protected String portletName;
+ @XmlElement(name = "security-constraint-ref")
+ protected String securityConstraintRef;
+ @XmlElementRefs( {
+ @XmlElementRef(name = "coverage", namespace = "http://www.purl.org/dc", type = Coverage.class),
+ @XmlElementRef(name = "description", namespace = "http://www.purl.org/dc", type = Description.class),
+ @XmlElementRef(name = "metadata", namespace = "http://portals.apache.org/jetspeed", type = Metadata.class),
+ @XmlElementRef(name = "contributor", namespace = "http://www.purl.org/dc", type = Contributor.class),
+ @XmlElementRef(name = "title", namespace = "http://www.purl.org/dc", type = Title.class),
+ @XmlElementRef(name = "source", namespace = "http://www.purl.org/dc", type = Source.class),
+ @XmlElementRef(name = "right", namespace = "http://www.purl.org/dc", type = Right.class),
+ @XmlElementRef(name = "language", namespace = "http://www.purl.org/dc", type = Language.class),
+ @XmlElementRef(name = "identifer", namespace = "http://www.purl.org/dc", type = Identifer.class),
+ @XmlElementRef(name = "subject", namespace = "http://www.purl.org/dc", type = Subject.class),
+ @XmlElementRef(name = "publisher", namespace = "http://www.purl.org/dc", type = Publisher.class),
+ @XmlElementRef(name = "relation", namespace = "http://www.purl.org/dc", type = Relation.class),
+ @XmlElementRef(name = "type", namespace = "http://www.purl.org/dc", type = Type.class),
+ @XmlElementRef(name = "format", namespace = "http://www.purl.org/dc", type = Format.class),
+ @XmlElementRef(name = "creator", namespace = "http://www.purl.org/dc", type = Creator.class) })
+ protected List<MetadataType> metadataGroup;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ @XmlSchemaType(name = "ID")
+ protected String id;
+
+ public String getPortletName()
+ {
+ return portletName;
+ }
+
+ public void setPortletName(String value)
+ {
+ this.portletName = value;
+ }
+
+ public String getSecurityConstraintRef()
+ {
+ return securityConstraintRef;
+ }
+
+ public void setSecurityConstraintRef(String value)
+ {
+ this.securityConstraintRef = value;
+ }
+
+ /**
+ * Gets the value of the metadataGroup property. <p> This accessor method returns a reference to the live list, not
+ * a snapshot.
+ *
+ * <p> Objects of the following type(s) are allowed in the list {@link Coverage } {@link Description }
+ * {@link Metadata } {@link Contributor } {@link Title } {@link Source } {@link Right } {@link Language }
+ * {@link Identifer } {@link Subject } {@link Publisher } {@link Relation } {@link Format } {@link Type }
+ * {@link Creator }
+ */
+ public List<MetadataType> getMetadata()
+ {
+ if (metadataGroup == null)
+ {
+ metadataGroup = new ArrayList<MetadataType>();
+ }
+ return this.metadataGroup;
+ }
+
+ public void addMetaData(String name, String lang, String content)
+ {
+ PortletApp.addMetadata(getMetadata(), name, lang, content);
+ }
+
+ public String getId()
+ {
+ return id;
+ }
+
+ public void setId(String value)
+ {
+ this.id = value;
+ }
+}
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Portlet.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Portlet.java
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Portlet.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/PortletApp.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/PortletApp.java?rev=708600&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/PortletApp.java (added)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/PortletApp.java Tue Oct 28 09:11:52 2008
@@ -0,0 +1,266 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.om.portlet.jetspeed.jaxb;
+
+import java.util.ArrayList;
+import java.util.List;
+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.XmlElementRef;
+import javax.xml.bind.annotation.XmlElementRefs;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+/**
+ * <p>Java class for anonymous complex type. <p>The following schema fragment specifies the expected content contained
+ * within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="security-constraint-ref" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <group ref="{http://portals.apache.org/jetspeed}metadataGroup" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://portals.apache.org/jetspeed}custom-portlet-mode" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://portals.apache.org/jetspeed}custom-window-state" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://portals.apache.org/jetspeed}portlet" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://portals.apache.org/jetspeed}services" minOccurs="0"/>
+ * <element ref="{http://portals.apache.org/jetspeed}user-attribute-ref" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = { "securityConstraintRef", "metadataGroup", "customPortletMode", "customWindowState",
+ "portlet", "services", "userAttributeRef" })
+@XmlRootElement(name = "portlet-app")
+public class PortletApp
+{
+ @XmlElement(name = "security-constraint-ref")
+ protected String securityConstraintRef;
+ @XmlElementRefs( {
+ @XmlElementRef(name = "coverage", namespace = "http://www.purl.org/dc", type = Coverage.class),
+ @XmlElementRef(name = "description", namespace = "http://www.purl.org/dc", type = Description.class),
+ @XmlElementRef(name = "metadata", namespace = "http://portals.apache.org/jetspeed", type = Metadata.class),
+ @XmlElementRef(name = "contributor", namespace = "http://www.purl.org/dc", type = Contributor.class),
+ @XmlElementRef(name = "title", namespace = "http://www.purl.org/dc", type = Title.class),
+ @XmlElementRef(name = "source", namespace = "http://www.purl.org/dc", type = Source.class),
+ @XmlElementRef(name = "right", namespace = "http://www.purl.org/dc", type = Right.class),
+ @XmlElementRef(name = "language", namespace = "http://www.purl.org/dc", type = Language.class),
+ @XmlElementRef(name = "identifer", namespace = "http://www.purl.org/dc", type = Identifer.class),
+ @XmlElementRef(name = "subject", namespace = "http://www.purl.org/dc", type = Subject.class),
+ @XmlElementRef(name = "publisher", namespace = "http://www.purl.org/dc", type = Publisher.class),
+ @XmlElementRef(name = "relation", namespace = "http://www.purl.org/dc", type = Relation.class),
+ @XmlElementRef(name = "format", namespace = "http://www.purl.org/dc", type = Format.class),
+ @XmlElementRef(name = "type", namespace = "http://www.purl.org/dc", type = Type.class),
+ @XmlElementRef(name = "creator", namespace = "http://www.purl.org/dc", type = Creator.class) })
+ protected List<MetadataType> metadataGroup;
+ @XmlElement(name = "custom-portlet-mode")
+ protected List<CustomPortletMode> customPortletMode;
+ @XmlElement(name = "custom-window-state")
+ protected List<CustomWindowState> customWindowState;
+ protected List<Portlet> portlet;
+ protected Services services;
+ @XmlElement(name = "user-attribute-ref")
+ protected List<UserAttributeRef> userAttributeRef;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ @XmlSchemaType(name = "ID")
+ protected String id;
+ @XmlAttribute
+ protected String version;
+
+ static void addMetadata(List<MetadataType> metadataList, String name, String lang, String content)
+ {
+ if ("coverage".equals(name))
+ {
+ metadataList.add(new Coverage(content));
+ }
+ else if ("description".equals(name))
+ {
+ metadataList.add(new Description(content));
+ }
+ else if ("contributor".equals(name))
+ {
+ metadataList.add(new Contributor(content));
+ }
+ else if ("Title".equals(name))
+ {
+ Title t = new Title();
+ t.setLang(lang);
+ t.setContent(content);
+ metadataList.add(t);
+ }
+ else if ("Source".equals(name))
+ {
+ metadataList.add(new Source(content));
+ }
+ else if ("Right".equals(name))
+ {
+ metadataList.add(new Right(content));
+ }
+ else if ("Language".equals(name))
+ {
+ metadataList.add(new Language(content));
+ }
+ else if ("Identifer".equals(name))
+ {
+ metadataList.add(new Identifer(content));
+ }
+ else if ("Subject".equals(name))
+ {
+ Subject s = new Subject();
+ s.setContent(content);
+ s.setLang(lang);
+ metadataList.add(s);
+ }
+ else if ("publisher".equals(name))
+ {
+ metadataList.add(new Publisher(content));
+ }
+ else if ("relation".equals(name))
+ {
+ metadataList.add(new Relation(content));
+ }
+ else if ("format".equals(name))
+ {
+ metadataList.add(new Format(content));
+ }
+ else if ("type".equals(name))
+ {
+ metadataList.add(new Type(content));
+ }
+ else
+ {
+ Metadata m = new Metadata();
+ m.setMetadataName(name);
+ m.setLang(lang);
+ m.setContent(content);
+ metadataList.add(m);
+ }
+ }
+
+ public String getSecurityConstraintRef()
+ {
+ return securityConstraintRef;
+ }
+
+ public void setSecurityConstraintRef(String value)
+ {
+ this.securityConstraintRef = value;
+ }
+
+ /**
+ * Gets the value of the metadataGroup property. <p> This accessor method returns a reference to the live list, not
+ * a snapshot.
+ *
+ * <p> Objects of the following type(s) are allowed in the list {@link Coverage } {@link Description }
+ * {@link Metadata } {@link Contributor } {@link Title } {@link Source } {@link Right } {@link Language }
+ * {@link Identifer } {@link Subject } {@link Publisher } {@link Relation } {@link Type } {@link Format }
+ * {@link Creator }
+ */
+ public List<MetadataType> getMetadata()
+ {
+ if (metadataGroup == null)
+ {
+ metadataGroup = new ArrayList<MetadataType>();
+ }
+ return this.metadataGroup;
+ }
+
+ public void addMetaData(String name, String lang, String content)
+ {
+ PortletApp.addMetadata(getMetadata(), name, lang, content);
+ }
+
+ public List<CustomPortletMode> getCustomPortletModes()
+ {
+ if (customPortletMode == null)
+ {
+ customPortletMode = new ArrayList<CustomPortletMode>();
+ }
+ return this.customPortletMode;
+ }
+
+ public List<CustomWindowState> getCustomWindowStates()
+ {
+ if (customWindowState == null)
+ {
+ customWindowState = new ArrayList<CustomWindowState>();
+ }
+ return this.customWindowState;
+ }
+
+ public List<Portlet> getPortlets()
+ {
+ if (portlet == null)
+ {
+ portlet = new ArrayList<Portlet>();
+ }
+ return this.portlet;
+ }
+
+ public List<Service> getServices()
+ {
+ if (services == null)
+ {
+ services = new Services();
+ }
+ return services.getService();
+ }
+
+ public List<UserAttributeRef> getUserAttributeRefs()
+ {
+ if (userAttributeRef == null)
+ {
+ userAttributeRef = new ArrayList<UserAttributeRef>();
+ }
+ return this.userAttributeRef;
+ }
+
+ public String getId()
+ {
+ return id;
+ }
+
+ public void setId(String value)
+ {
+ this.id = value;
+ }
+
+ public String getVersion()
+ {
+ return version;
+ }
+
+ public void setVersion(String value)
+ {
+ this.version = value;
+ }
+}
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/PortletApp.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/PortletApp.java
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/PortletApp.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Publisher.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Publisher.java?rev=708600&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Publisher.java (added)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Publisher.java Tue Oct 28 09:11:52 2008
@@ -0,0 +1,50 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.om.portlet.jetspeed.jaxb;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.namespace.QName;
+
+public class Publisher extends JAXBElement<String> implements MetadataType
+{
+ protected final static QName NAME = new QName("http://www.purl.org/dc", "publisher");
+
+ public Publisher(String value)
+ {
+ super(NAME, ((Class) String.class), null, value);
+ }
+
+ public String getMetadataName()
+ {
+ return "publisher";
+ }
+
+ public String getContent()
+ {
+ return this.getValue();
+ }
+
+ public String getLang()
+ {
+ return "en";
+ }
+
+ public void setContent(String value)
+ {
+ this.setValue(value);
+ }
+}
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Publisher.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Publisher.java
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Publisher.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Relation.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Relation.java?rev=708600&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Relation.java (added)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Relation.java Tue Oct 28 09:11:52 2008
@@ -0,0 +1,50 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.om.portlet.jetspeed.jaxb;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.namespace.QName;
+
+public class Relation extends JAXBElement<String> implements MetadataType
+{
+ protected final static QName NAME = new QName("http://www.purl.org/dc", "relation");
+
+ public Relation(String value)
+ {
+ super(NAME, ((Class) String.class), null, value);
+ }
+
+ public String getMetadataName()
+ {
+ return "relation";
+ }
+
+ public String getContent()
+ {
+ return this.getValue();
+ }
+
+ public String getLang()
+ {
+ return "en";
+ }
+
+ public void setContent(String value)
+ {
+ this.setValue(value);
+ }
+}
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Relation.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Relation.java
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Relation.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Right.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Right.java?rev=708600&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Right.java (added)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Right.java Tue Oct 28 09:11:52 2008
@@ -0,0 +1,50 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.om.portlet.jetspeed.jaxb;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.namespace.QName;
+
+public class Right extends JAXBElement<String> implements MetadataType
+{
+ protected final static QName NAME = new QName("http://www.purl.org/dc", "right");
+
+ public Right(String value)
+ {
+ super(NAME, ((Class) String.class), null, value);
+ }
+
+ public String getMetadataName()
+ {
+ return "right";
+ }
+
+ public String getContent()
+ {
+ return this.getValue();
+ }
+
+ public String getLang()
+ {
+ return "en";
+ }
+
+ public void setContent(String value)
+ {
+ this.setValue(value);
+ }
+}
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Right.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Right.java
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Right.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Service.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Service.java?rev=708600&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Service.java (added)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Service.java Tue Oct 28 09:11:52 2008
@@ -0,0 +1,56 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.om.portlet.jetspeed.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>Java class for anonymous complex type. <p>The following schema fragment specifies the expected content contained
+ * within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "service")
+public class Service
+{
+ @XmlAttribute(required = true)
+ protected String name;
+
+ public String getName()
+ {
+ return name;
+ }
+
+ public void setName(String value)
+ {
+ this.name = value;
+ }
+}
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Service.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Service.java
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Service.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Services.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Services.java?rev=708600&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Services.java (added)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Services.java Tue Oct 28 09:11:52 2008
@@ -0,0 +1,71 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.om.portlet.jetspeed.jaxb;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>Java class for anonymous complex type. <p>The following schema fragment specifies the expected content contained
+ * within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://portals.apache.org/jetspeed}service" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = { "service" })
+@XmlRootElement(name = "services")
+public class Services
+{
+ @XmlElement(required = true)
+ protected List<Service> service;
+
+ /**
+ * Gets the value of the service property. <p> This accessor method returns a reference to the live list, not a
+ * snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This
+ * is why there is not a <CODE>set</CODE> method for the service property. <p> For example, to add a new item, do
+ * as follows:
+ *
+ * <pre>
+ * getService().add(newItem);
+ * </pre>
+ *
+ * <p> Objects of the following type(s) are allowed in the list {@link Service }
+ */
+ public List<Service> getService()
+ {
+ if (service == null)
+ {
+ service = new ArrayList<Service>();
+ }
+ return this.service;
+ }
+}
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Services.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Services.java
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-registry/src/main/java/org/apache/jetspeed/om/portlet/jetspeed/jaxb/Services.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org