Author: thomas.diesler(a)jboss.com
Date: 2008-07-16 10:26:13 -0400 (Wed, 16 Jul 2008)
New Revision: 1650
Added:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ProcessMarshaller.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ProcessUnmarshaller.java
Removed:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/util/
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBActivity.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBComplexGateway.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBEndEvent.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBEvent.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBExclusiveGateway.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBExecutionHandler.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBFlow.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBFlowHandler.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBFlowObject.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBGateway.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBHandler.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBInclusiveGateway.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBIntermediateEvent.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBMessageFlow.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBParallelGateway.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBProcess.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBSequenceFlow.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBSignalHandler.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBStartEvent.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBSubProcess.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBTask.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ObjectFactory.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/package-info.java
Log:
Copied:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb (from
rev 1648,
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb)
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBActivity.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBActivity.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBActivity.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
//$Id$
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBComplexGateway.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBComplexGateway.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBComplexGateway.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
import javax.xml.bind.annotation.XmlType;
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBEndEvent.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBEndEvent.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBEndEvent.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBEvent.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBEvent.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBEvent.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
//$Id$
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBExclusiveGateway.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBExclusiveGateway.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBExclusiveGateway.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
//$Id$
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBExecutionHandler.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBExecutionHandler.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBExecutionHandler.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
//$Id$
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBFlow.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBFlow.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBFlow.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBFlowHandler.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBFlowHandler.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBFlowHandler.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
//$Id$
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBFlowObject.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBFlowObject.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBFlowObject.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
//$Id: $
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBGateway.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBGateway.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBGateway.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
//$Id$
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBHandler.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBHandler.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBHandler.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
//$Id$
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBInclusiveGateway.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBInclusiveGateway.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBInclusiveGateway.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
import javax.xml.bind.annotation.XmlType;
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBIntermediateEvent.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBIntermediateEvent.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBIntermediateEvent.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBMessageFlow.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBMessageFlow.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBMessageFlow.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
//$Id$
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBParallelGateway.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBParallelGateway.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBParallelGateway.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
import javax.xml.bind.annotation.XmlType;
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBProcess.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBProcess.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBProcess.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
//$Id$
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBSequenceFlow.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBSequenceFlow.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBSequenceFlow.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
//$Id$
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBSignalHandler.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBSignalHandler.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBSignalHandler.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
import javax.xml.bind.annotation.XmlType;
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBStartEvent.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBStartEvent.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBStartEvent.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
//$Id$
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBSubProcess.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBSubProcess.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBSubProcess.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
//$Id$
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBTask.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBTask.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/JAXBTask.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ObjectFactory.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/ObjectFactory.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ObjectFactory.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -5,7 +5,7 @@
// Generated on: 2008.07.11 at 09:21:08 AM CEST
//
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
import javax.xml.bind.annotation.XmlRegistry;
Copied:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ProcessMarshaller.java
(from rev 1648,
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/util/ProcessMarshaller.java)
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ProcessMarshaller.java
(rev 0)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ProcessMarshaller.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -0,0 +1,59 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.bpm.dialect.jaxb;
+
+// $Id$
+
+import java.io.IOException;
+import java.io.Writer;
+
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.JAXBException;
+import javax.xml.bind.Marshaller;
+
+
+/**
+ * A JAXB marshaller for a Process
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 08-Jul-2008
+ */
+public class ProcessMarshaller
+{
+ public void marshallProcess(JAXBProcess proc, Writer out) throws JAXBException,
IOException
+ {
+ JAXBContext jaxbContext = JAXBContext.newInstance(ObjectFactory.class);
+ Marshaller marshaller = jaxbContext.createMarshaller();
+ marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
+ marshaller.setProperty(Marshaller.JAXB_FRAGMENT, true);
+
+ marshaller.marshal(proc, out);
+
+ // Add xmlns:xsi to the top level element and remove it from all others
+ // StringWriter strwr = new StringWriter();
+ // marshaller.marshal(proc, strwr);
+ // String str = strwr.toString();
+ // String xsi = "
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"";
+ // str = new StringBuilder(str.replace(xsi,
"")).insert(str.indexOf(">"), xsi).toString();
+ // out.write(str);
+ }
+}
Copied:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ProcessUnmarshaller.java
(from rev 1648,
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/util/ProcessUnmarshaller.java)
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ProcessUnmarshaller.java
(rev 0)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ProcessUnmarshaller.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -0,0 +1,49 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.bpm.dialect.jaxb;
+
+// $Id$
+
+import java.io.Reader;
+
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.JAXBException;
+import javax.xml.bind.Unmarshaller;
+
+
+/**
+ * A JAXB unmarshaller for a Process
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 08-Jul-2008
+ */
+public class ProcessUnmarshaller
+{
+ public JAXBProcess unmarshallProcess(Reader xml) throws JAXBException
+ {
+ JAXBContext jaxbContext = JAXBContext.newInstance(ObjectFactory.class);
+ Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
+ unmarshaller.setProperty("com.sun.xml.bind.ObjectFactory",new
ObjectFactory());
+ JAXBProcess proc = (JAXBProcess)unmarshaller.unmarshal(xml);
+ return proc;
+ }
+}
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/package-info.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/model/internal/jaxb/package-info.java 2008-07-16
14:22:16 UTC (rev 1648)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/package-info.java 2008-07-16
14:26:13 UTC (rev 1650)
@@ -20,7 +20,7 @@
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
@XmlSchema(namespace="urn:api.bpm.jboss:jpdl-0.1")
-package org.jboss.bpm.model.internal.jaxb;
+package org.jboss.bpm.dialect.jaxb;
import javax.xml.bind.annotation.XmlSchema;