Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

License blocks

  • Loading branch information...
commit 44aa52c11e5e53f55caaca516ed38ef6dfe93871 1 parent c30d527
@ashewring ashewring authored
Showing with 297 additions and 0 deletions.
  1. +24 −0 org.s23m.cell.communication/src/main/java/org/s23m/cell/communication/SetMarshaller.java
  2. +24 −0 org.s23m.cell.communication/src/main/java/org/s23m/cell/communication/SetMarshallingException.java
  3. +24 −0 org.s23m.cell.communication/src/main/java/org/s23m/cell/communication/xml/DefaultXmlSchemaTerminology.java
  4. +30 −0 org.s23m.cell.communication/src/main/java/org/s23m/cell/communication/xml/DocumentObjectModel.java
  5. +24 −0 org.s23m.cell.communication/src/main/java/org/s23m/cell/communication/xml/XmlSchema.java
  6. +24 −0 org.s23m.cell.communication/src/main/java/org/s23m/cell/communication/xml/XmlSchemaFactory.java
  7. +24 −0 org.s23m.cell.communication/src/main/java/org/s23m/cell/communication/xml/XmlSchemaTerminology.java
  8. +27 −0 org.s23m.cell.communication/src/main/resources/schema/cell-communication.xsd
  9. +24 −0 org.s23m.cell.communication/src/main/xtend/org/s23m/cell/communication/xml/XmlSchemaTemplate.xtend
  10. +24 −0 org.s23m.cell.communication/src/test/java/org/s23m/cell/communication/xml/DefaultXmlSchemaTerminologyTest.java
  11. +24 −0 org.s23m.cell.communication/src/test/java/org/s23m/cell/communication/xml/XmlSchemaFactoryTest.java
  12. +24 −0 org.s23m.cell.generator/src/main/java/org/s23m/cell/generator/ModelToTextTransformation.java
View
24 org.s23m.cell.communication/src/main/java/org/s23m/cell/communication/SetMarshaller.java
@@ -1,3 +1,27 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (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.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Cell.
+ *
+ * The Initial Developer of the Original Code is
+ * The S23M Foundation.
+ * Portions created by the Initial Developer are
+ * Copyright (C) 2012 The S23M Foundation.
+ * All Rights Reserved.
+ *
+ * Contributor(s):
+ * Andrew Shewring
+ * ***** END LICENSE BLOCK ***** */
package org.s23m.cell.communication;
import org.s23m.cell.Set;
View
24 org.s23m.cell.communication/src/main/java/org/s23m/cell/communication/SetMarshallingException.java
@@ -1,3 +1,27 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (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.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Cell.
+ *
+ * The Initial Developer of the Original Code is
+ * The S23M Foundation.
+ * Portions created by the Initial Developer are
+ * Copyright (C) 2012 The S23M Foundation.
+ * All Rights Reserved.
+ *
+ * Contributor(s):
+ * Andrew Shewring
+ * ***** END LICENSE BLOCK ***** */
package org.s23m.cell.communication;
public class SetMarshallingException extends Exception {
View
24 org.s23m.cell.communication/src/main/java/org/s23m/cell/communication/xml/DefaultXmlSchemaTerminology.java
@@ -1,3 +1,27 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (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.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Cell.
+ *
+ * The Initial Developer of the Original Code is
+ * The S23M Foundation.
+ * Portions created by the Initial Developer are
+ * Copyright (C) 2012 The S23M Foundation.
+ * All Rights Reserved.
+ *
+ * Contributor(s):
+ * Andrew Shewring
+ * ***** END LICENSE BLOCK ***** */
package org.s23m.cell.communication.xml;
import java.lang.reflect.InvocationHandler;
View
30 org.s23m.cell.communication/src/main/java/org/s23m/cell/communication/xml/DocumentObjectModel.java
@@ -1,9 +1,39 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (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.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Cell.
+ *
+ * The Initial Developer of the Original Code is
+ * The S23M Foundation.
+ * Portions created by the Initial Developer are
+ * Copyright (C) 2012 The S23M Foundation.
+ * All Rights Reserved.
+ *
+ * Contributor(s):
+ * Andrew Shewring
+ * ***** END LICENSE BLOCK ***** */
package org.s23m.cell.communication.xml;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
+/**
+ * A simplified version of the DOM.
+ *
+ * @author andrew
+ *
+ */
public interface DocumentObjectModel {
abstract class Node {
View
24 org.s23m.cell.communication/src/main/java/org/s23m/cell/communication/xml/XmlSchema.java
@@ -1,3 +1,27 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (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.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Cell.
+ *
+ * The Initial Developer of the Original Code is
+ * The S23M Foundation.
+ * Portions created by the Initial Developer are
+ * Copyright (C) 2012 The S23M Foundation.
+ * All Rights Reserved.
+ *
+ * Contributor(s):
+ * Andrew Shewring
+ * ***** END LICENSE BLOCK ***** */
package org.s23m.cell.communication.xml;
import java.util.ArrayList;
View
24 org.s23m.cell.communication/src/main/java/org/s23m/cell/communication/xml/XmlSchemaFactory.java
@@ -1,3 +1,27 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (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.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Cell.
+ *
+ * The Initial Developer of the Original Code is
+ * The S23M Foundation.
+ * Portions created by the Initial Developer are
+ * Copyright (C) 2012 The S23M Foundation.
+ * All Rights Reserved.
+ *
+ * Contributor(s):
+ * Andrew Shewring
+ * ***** END LICENSE BLOCK ***** */
package org.s23m.cell.communication.xml;
import java.io.ByteArrayInputStream;
View
24 org.s23m.cell.communication/src/main/java/org/s23m/cell/communication/xml/XmlSchemaTerminology.java
@@ -1,3 +1,27 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (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.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Cell.
+ *
+ * The Initial Developer of the Original Code is
+ * The S23M Foundation.
+ * Portions created by the Initial Developer are
+ * Copyright (C) 2012 The S23M Foundation.
+ * All Rights Reserved.
+ *
+ * Contributor(s):
+ * Andrew Shewring
+ * ***** END LICENSE BLOCK ***** */
package org.s23m.cell.communication.xml;
public interface XmlSchemaTerminology {
View
27 org.s23m.cell.communication/src/main/resources/schema/cell-communication.xsd
@@ -1,3 +1,30 @@
+<!--
+ ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (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.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Cell.
+ *
+ * The Initial Developer of the Original Code is
+ * The S23M Foundation.
+ * Portions created by the Initial Developer are
+ * Copyright (C) 2012 The S23M Foundation.
+ * All Rights Reserved.
+ *
+ * Contributor(s):
+ * Jorn Bettin
+ * Andrew Shewring
+ ***** END LICENSE BLOCK ***** */
+ -->
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:s23m="http://schemas.s23m.org/serialization/2012"
View
24 org.s23m.cell.communication/src/main/xtend/org/s23m/cell/communication/xml/XmlSchemaTemplate.xtend
@@ -1,3 +1,27 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (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.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Cell.
+ *
+ * The Initial Developer of the Original Code is
+ * The S23M Foundation.
+ * Portions created by the Initial Developer are
+ * Copyright (C) 2012 The S23M Foundation.
+ * All Rights Reserved.
+ *
+ * Contributor(s):
+ * Andrew Shewring
+ * ***** END LICENSE BLOCK ***** */
package org.s23m.cell.communication.xml
import java.util.List
View
24 ...3m.cell.communication/src/test/java/org/s23m/cell/communication/xml/DefaultXmlSchemaTerminologyTest.java
@@ -1,3 +1,27 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (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.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Cell.
+ *
+ * The Initial Developer of the Original Code is
+ * The S23M Foundation.
+ * Portions created by the Initial Developer are
+ * Copyright (C) 2012 The S23M Foundation.
+ * All Rights Reserved.
+ *
+ * Contributor(s):
+ * Andrew Shewring
+ * ***** END LICENSE BLOCK ***** */
package org.s23m.cell.communication.xml;
import junit.framework.TestCase;
View
24 org.s23m.cell.communication/src/test/java/org/s23m/cell/communication/xml/XmlSchemaFactoryTest.java
@@ -1,3 +1,27 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (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.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Cell.
+ *
+ * The Initial Developer of the Original Code is
+ * The S23M Foundation.
+ * Portions created by the Initial Developer are
+ * Copyright (C) 2012 The S23M Foundation.
+ * All Rights Reserved.
+ *
+ * Contributor(s):
+ * Andrew Shewring
+ * ***** END LICENSE BLOCK ***** */
package org.s23m.cell.communication.xml;
import java.util.ArrayList;
View
24 org.s23m.cell.generator/src/main/java/org/s23m/cell/generator/ModelToTextTransformation.java
@@ -1,3 +1,27 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (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.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Cell.
+ *
+ * The Initial Developer of the Original Code is
+ * The S23M Foundation.
+ * Portions created by the Initial Developer are
+ * Copyright (C) 2012 The S23M Foundation.
+ * All Rights Reserved.
+ *
+ * Contributor(s):
+ * Andrew Shewring
+ * ***** END LICENSE BLOCK ***** */
package org.s23m.cell.generator;
import java.util.List;
Please sign in to comment.
Something went wrong with that request. Please try again.