Freemind import - Supporting collapsed nodes

This commit is contained in:
Pablo Luna 2011-01-11 14:36:33 -03:00
parent c1989c4562
commit 67d2954f9e
10 changed files with 1213 additions and 951 deletions

View File

@ -322,6 +322,10 @@ public class FreemindImporter
mindmapTopic.setPosition( position+","+200 * orderPosition);
String fontStyle = generateFontStyle(freemindNode,null);
mindmapTopic.setFontStyle(fontStyle);
Boolean folded = Boolean.valueOf(freemindNode.getFOLDED());
if(folded){
mindmapTopic.setShrink(folded);
}
}
private String generateFontStyle(Node node,Font font)

View File

@ -8,8 +8,10 @@
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="topic" minOccurs="1" maxOccurs='unbounded'/>
<xsd:element ref="relationship" minOccurs="0" maxOccurs='unbounded'/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string"/>
<xsd:attribute name="version" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
@ -30,20 +32,33 @@
<xsd:attribute name="order" type="xsd:int"/>
<xsd:attribute name="position" type="xsd:string"/>
<xsd:attribute name="central" type="xsd:boolean"/>
<xsd:attribute name="id" type="xsd:string" use="optional"/>
<xsd:attribute name="shrink" type="xsd:boolean"/>
</xsd:complexType>
<xsd:complexType name="icon">
<xsd:attribute name="id" type="xsd:string"/>
<xsd:attribute name="order" type="xsd:string"/>
</xsd:complexType>
<xsd:complexType name="link">
<xsd:attribute name="url" type="xsd:string"/>
<xsd:attribute name="order" type="xsd:string"/>
</xsd:complexType>
<xsd:complexType name="note">
<xsd:complexType name="note">
<xsd:attribute name="text" type="xsd:string"/>
</xsd:complexType>
<xsd:element name="relationship" type="relationshipType"/>
<xsd:complexType name="relationshipType">
<xsd:attribute name="id" type="xsd:string"/>
<xsd:attribute name="srcTopicId" type="xsd:string"/>
<xsd:attribute name="destTopicId" type="xsd:string"/>
<xsd:attribute name="lineType" type="xsd:string"/>
<xsd:attribute name="srcCtrlPoint" type="xsd:string"/>
<xsd:attribute name="destCtrlPoint" type="xsd:string"/>
<xsd:attribute name="endArrow" type="xsd:boolean"/>
</xsd:complexType>
</xsd:schema>

View File

@ -1,111 +1,92 @@
/*
* 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.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.01.11 at 02:17:09 PM ART
//
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2007.11.01 at 09:40:11 PM ART
//
package com.wisemapping.xml.mindmap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for icon complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="icon">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="order" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "icon")
public class Icon {
@XmlAttribute
protected String id;
@XmlAttribute
protected String order;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the order property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrder() {
return order;
}
/**
* Sets the value of the order property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOrder(String value) {
this.order = value;
}
}
package com.wisemapping.xml.mindmap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for icon complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="icon">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="order" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "icon")
public class Icon {
@XmlAttribute
protected String id;
@XmlAttribute
protected String order;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the order property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrder() {
return order;
}
/**
* Sets the value of the order property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOrder(String value) {
this.order = value;
}
}

View File

@ -1,111 +1,92 @@
/*
* 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.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.01.11 at 02:17:09 PM ART
//
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2007.11.01 at 09:40:11 PM ART
//
package com.wisemapping.xml.mindmap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for link complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="link">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="order" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "link")
public class Link {
@XmlAttribute
protected String order;
@XmlAttribute
protected String url;
/**
* Gets the value of the order property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrder() {
return order;
}
/**
* Sets the value of the order property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOrder(String value) {
this.order = value;
}
/**
* Gets the value of the url property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUrl() {
return url;
}
/**
* Sets the value of the url property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUrl(String value) {
this.url = value;
}
}
package com.wisemapping.xml.mindmap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for link complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="link">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="order" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "link")
public class Link {
@XmlAttribute
protected String url;
@XmlAttribute
protected String order;
/**
* Gets the value of the url property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUrl() {
return url;
}
/**
* Sets the value of the url property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUrl(String value) {
this.url = value;
}
/**
* Gets the value of the order property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrder() {
return order;
}
/**
* Sets the value of the order property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOrder(String value) {
this.order = value;
}
}

View File

@ -1,125 +1,165 @@
/*
* 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.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.01.11 at 02:17:09 PM ART
//
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2007.11.01 at 09:40:11 PM ART
//
package com.wisemapping.xml.mindmap;
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.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>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element ref="{}topic" maxOccurs="unbounded"/>
* &lt;/sequence>
* &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"topic"
})
@XmlRootElement(name = "map")
public class Map {
@XmlElement(required = true)
protected List<TopicType> topic;
@XmlAttribute
protected String name;
/**
* Gets the value of the topic 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 topic property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTopic().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TopicType }
*
*
*/
public List<TopicType> getTopic() {
if (topic == null) {
topic = new ArrayList<TopicType>();
}
return this.topic;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
}
package com.wisemapping.xml.mindmap;
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.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>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element ref="{}topic" maxOccurs="unbounded"/>
* &lt;element ref="{}relationship" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"topic",
"relationship"
})
@XmlRootElement(name = "map")
public class Map {
@XmlElement(required = true)
protected List<TopicType> topic;
protected List<RelationshipType> relationship;
@XmlAttribute
protected String name;
@XmlAttribute
protected String version;
/**
* Gets the value of the topic 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 topic property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTopic().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TopicType }
*
*
*/
public List<TopicType> getTopic() {
if (topic == null) {
topic = new ArrayList<TopicType>();
}
return this.topic;
}
/**
* Gets the value of the relationship 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 relationship property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getRelationship().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link RelationshipType }
*
*
*/
public List<RelationshipType> getRelationship() {
if (relationship == null) {
relationship = new ArrayList<RelationshipType>();
}
return this.relationship;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
}

View File

@ -1,84 +1,65 @@
/*
* 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.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.01.11 at 02:17:09 PM ART
//
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2008.03.26 at 10:28:06 PM ART
//
package com.wisemapping.xml.mindmap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for note complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="note">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "note")
public class Note {
@XmlAttribute
protected String text;
/**
* Gets the value of the text property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getText() {
return text;
}
/**
* Sets the value of the text property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setText(String value) {
this.text = value;
}
}
package com.wisemapping.xml.mindmap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for note complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="note">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "note")
public class Note {
@XmlAttribute
protected String text;
/**
* Gets the value of the text property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getText() {
return text;
}
/**
* Sets the value of the text property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setText(String value) {
this.text = value;
}
}

View File

@ -1,111 +1,110 @@
/*
* 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.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.01.11 at 02:17:09 PM ART
//
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2008.03.26 at 10:28:06 PM ART
//
package com.wisemapping.xml.mindmap;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the generated 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 {
private final static QName _Topic_QNAME = new QName("", "topic");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: generated
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link Link }
*
*/
public Link createLink() {
return new Link();
}
/**
* Create an instance of {@link Icon }
*
*/
public Icon createIcon() {
return new Icon();
}
/**
* Create an instance of {@link Map }
*
*/
public Map createMap() {
return new Map();
}
/**
* Create an instance of {@link TopicType }
*
*/
public TopicType createTopicType() {
return new TopicType();
}
/**
* Create an instance of {@link Note }
*
*/
public Note createNote() {
return new Note();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link TopicType }{@code >}}
*
*/
@XmlElementDecl(namespace = "", name = "topic")
public JAXBElement<TopicType> createTopic(TopicType value) {
return new JAXBElement<TopicType>(_Topic_QNAME, TopicType.class, null, value);
}
}
package com.wisemapping.xml.mindmap;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the com.wisemapping.xml.mindmap 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 {
private final static QName _Topic_QNAME = new QName("", "topic");
private final static QName _Relationship_QNAME = new QName("", "relationship");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.wisemapping.xml.mindmap
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link RelationshipType }
*
*/
public RelationshipType createRelationshipType() {
return new RelationshipType();
}
/**
* Create an instance of {@link Map }
*
*/
public Map createMap() {
return new Map();
}
/**
* Create an instance of {@link Link }
*
*/
public Link createLink() {
return new Link();
}
/**
* Create an instance of {@link TopicType }
*
*/
public TopicType createTopicType() {
return new TopicType();
}
/**
* Create an instance of {@link Note }
*
*/
public Note createNote() {
return new Note();
}
/**
* Create an instance of {@link Icon }
*
*/
public Icon createIcon() {
return new Icon();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link TopicType }{@code >}}
*
*/
@XmlElementDecl(namespace = "", name = "topic")
public JAXBElement<TopicType> createTopic(TopicType value) {
return new JAXBElement<TopicType>(_Topic_QNAME, TopicType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link RelationshipType }{@code >}}
*
*/
@XmlElementDecl(namespace = "", name = "relationship")
public JAXBElement<RelationshipType> createRelationship(RelationshipType value) {
return new JAXBElement<RelationshipType>(_Relationship_QNAME, RelationshipType.class, null, value);
}
}

View File

@ -0,0 +1,227 @@
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.01.11 at 02:17:09 PM ART
//
package com.wisemapping.xml.mindmap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for relationshipType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="relationshipType">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="srcTopicId" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="destTopicId" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="lineType" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="srcCtrlPoint" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="destCtrlPoint" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="endArrow" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "relationshipType")
public class RelationshipType {
@XmlAttribute
protected String id;
@XmlAttribute
protected String srcTopicId;
@XmlAttribute
protected String destTopicId;
@XmlAttribute
protected String lineType;
@XmlAttribute
protected String srcCtrlPoint;
@XmlAttribute
protected String destCtrlPoint;
@XmlAttribute
protected Boolean endArrow;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the srcTopicId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSrcTopicId() {
return srcTopicId;
}
/**
* Sets the value of the srcTopicId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSrcTopicId(String value) {
this.srcTopicId = value;
}
/**
* Gets the value of the destTopicId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDestTopicId() {
return destTopicId;
}
/**
* Sets the value of the destTopicId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDestTopicId(String value) {
this.destTopicId = value;
}
/**
* Gets the value of the lineType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLineType() {
return lineType;
}
/**
* Sets the value of the lineType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLineType(String value) {
this.lineType = value;
}
/**
* Gets the value of the srcCtrlPoint property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSrcCtrlPoint() {
return srcCtrlPoint;
}
/**
* Sets the value of the srcCtrlPoint property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSrcCtrlPoint(String value) {
this.srcCtrlPoint = value;
}
/**
* Gets the value of the destCtrlPoint property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDestCtrlPoint() {
return destCtrlPoint;
}
/**
* Sets the value of the destCtrlPoint property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDestCtrlPoint(String value) {
this.destCtrlPoint = value;
}
/**
* Gets the value of the endArrow property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isEndArrow() {
return endArrow;
}
/**
* Sets the value of the endArrow property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setEndArrow(Boolean value) {
this.endArrow = value;
}
}

View File

@ -1,397 +1,431 @@
/*
* 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.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.01.11 at 02:17:09 PM ART
//
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2007.11.01 at 09:40:11 PM ART
//
package com.wisemapping.xml.mindmap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;
/**
* <p>Java class for topicType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="topicType">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="icon" type="{}icon" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element name="link" type="{}link" minOccurs="0"/>
* &lt;element name="note" type="{}note" minOccurs="0"/>
* &lt;element ref="{}topic" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;attribute name="bgColor" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="brColor" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="central" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* &lt;attribute name="fontStyle" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="order" type="{http://www.w3.org/2001/XMLSchema}int" />
* &lt;attribute name="position" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="shape" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "topicType", propOrder = {
"icon",
"link",
"note",
"topic"
})
public class TopicType {
protected List<Icon> icon;
protected Link link;
protected Note note;
protected List<TopicType> topic;
@XmlAttribute
protected String bgColor;
@XmlAttribute
protected String brColor;
@XmlAttribute
protected Boolean central;
@XmlAttribute
protected String fontStyle;
@XmlAttribute
protected Integer order;
@XmlAttribute
protected String position;
@XmlAttribute
protected String shape;
@XmlAttribute
protected String text;
/**
* Gets the value of the icon 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 icon property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getIcon().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Icon }
*
*
*/
public List<Icon> getIcon() {
if (icon == null) {
icon = new ArrayList<Icon>();
}
return this.icon;
}
/**
* Gets the value of the link property.
*
* @return
* possible object is
* {@link Link }
*
*/
public Link getLink() {
return link;
}
/**
* Sets the value of the link property.
*
* @param value
* allowed object is
* {@link Link }
*
*/
public void setLink(Link value) {
this.link = value;
}
/**
* Gets the value of the note property.
*
* @return
* possible object is
* {@link Note }
*
*/
public Note getNote() {
return note;
}
/**
* Sets the value of the note property.
*
* @param value
* allowed object is
* {@link Note }
*
*/
public void setNote(Note value) {
this.note = value;
}
/**
* Gets the value of the topic 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 topic property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTopic().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TopicType }
*
*
*/
public List<TopicType> getTopic() {
if (topic == null) {
topic = new ArrayList<TopicType>();
}
return this.topic;
}
/**
* Gets the value of the bgColor property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBgColor() {
return bgColor;
}
/**
* Sets the value of the bgColor property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBgColor(String value) {
this.bgColor = value;
}
/**
* Gets the value of the brColor property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBrColor() {
return brColor;
}
/**
* Sets the value of the brColor property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBrColor(String value) {
this.brColor = value;
}
/**
* Gets the value of the central property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isCentral() {
return central;
}
/**
* Sets the value of the central property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setCentral(Boolean value) {
this.central = value;
}
/**
* Gets the value of the fontStyle property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFontStyle() {
return fontStyle;
}
/**
* Sets the value of the fontStyle property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFontStyle(String value) {
this.fontStyle = value;
}
/**
* Gets the value of the order property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getOrder() {
return order;
}
/**
* Sets the value of the order property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setOrder(Integer value) {
this.order = value;
}
/**
* Gets the value of the position property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPosition() {
return position;
}
/**
* Sets the value of the position property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPosition(String value) {
this.position = value;
}
/**
* Gets the value of the shape property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getShape() {
return shape;
}
/**
* Sets the value of the shape property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setShape(String value) {
this.shape = value;
}
/**
* Gets the value of the text property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getText() {
return text;
}
/**
* Sets the value of the text property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setText(String value) {
this.text = value;
}
}
package com.wisemapping.xml.mindmap;
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.XmlType;
/**
* <p>Java class for topicType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="topicType">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="icon" type="{}icon" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element name="link" type="{}link" minOccurs="0"/>
* &lt;element name="note" type="{}note" minOccurs="0"/>
* &lt;element ref="{}topic" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="shape" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="fontStyle" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="bgColor" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="brColor" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="order" type="{http://www.w3.org/2001/XMLSchema}int" />
* &lt;attribute name="position" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="central" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="shrink" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "topicType", propOrder = {
"icon",
"link",
"note",
"topic"
})
public class TopicType {
protected List<Icon> icon;
protected Link link;
protected Note note;
protected List<TopicType> topic;
@XmlAttribute
protected String text;
@XmlAttribute
protected String shape;
@XmlAttribute
protected String fontStyle;
@XmlAttribute
protected String bgColor;
@XmlAttribute
protected String brColor;
@XmlAttribute
protected Integer order;
@XmlAttribute
protected String position;
@XmlAttribute
protected Boolean central;
@XmlAttribute
protected String id;
@XmlAttribute
protected Boolean shrink;
/**
* Gets the value of the icon 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 icon property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getIcon().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Icon }
*
*
*/
public List<Icon> getIcon() {
if (icon == null) {
icon = new ArrayList<Icon>();
}
return this.icon;
}
/**
* Gets the value of the link property.
*
* @return
* possible object is
* {@link Link }
*
*/
public Link getLink() {
return link;
}
/**
* Sets the value of the link property.
*
* @param value
* allowed object is
* {@link Link }
*
*/
public void setLink(Link value) {
this.link = value;
}
/**
* Gets the value of the note property.
*
* @return
* possible object is
* {@link Note }
*
*/
public Note getNote() {
return note;
}
/**
* Sets the value of the note property.
*
* @param value
* allowed object is
* {@link Note }
*
*/
public void setNote(Note value) {
this.note = value;
}
/**
* Gets the value of the topic 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 topic property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTopic().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TopicType }
*
*
*/
public List<TopicType> getTopic() {
if (topic == null) {
topic = new ArrayList<TopicType>();
}
return this.topic;
}
/**
* Gets the value of the text property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getText() {
return text;
}
/**
* Sets the value of the text property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setText(String value) {
this.text = value;
}
/**
* Gets the value of the shape property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getShape() {
return shape;
}
/**
* Sets the value of the shape property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setShape(String value) {
this.shape = value;
}
/**
* Gets the value of the fontStyle property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFontStyle() {
return fontStyle;
}
/**
* Sets the value of the fontStyle property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFontStyle(String value) {
this.fontStyle = value;
}
/**
* Gets the value of the bgColor property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBgColor() {
return bgColor;
}
/**
* Sets the value of the bgColor property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBgColor(String value) {
this.bgColor = value;
}
/**
* Gets the value of the brColor property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBrColor() {
return brColor;
}
/**
* Sets the value of the brColor property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBrColor(String value) {
this.brColor = value;
}
/**
* Gets the value of the order property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getOrder() {
return order;
}
/**
* Sets the value of the order property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setOrder(Integer value) {
this.order = value;
}
/**
* Gets the value of the position property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPosition() {
return position;
}
/**
* Sets the value of the position property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPosition(String value) {
this.position = value;
}
/**
* Gets the value of the central property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isCentral() {
return central;
}
/**
* Sets the value of the central property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setCentral(Boolean value) {
this.central = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the shrink property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isShrink() {
return shrink;
}
/**
* Sets the value of the shrink property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setShrink(Boolean value) {
this.shrink = value;
}
}

View File

@ -2,19 +2,18 @@
<xsd:schema
attributeFormDefault="unqualified"
elementFormDefault="qualified"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.wisemapping.org/mindmap"
xmlns="http://www.wisemapping.org/mindmap">
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="map" type="mapType"/>
<xsd:complexType name="mapType">
<xsd:sequence>
<xsd:element ref="topic" minOccurs="1" maxOccurs='unbounded'/>
<xsd:element ref="relationship" minOccurs="0" maxOccurs='unbounded'/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string"/>
<xsd:attribute name="version" type="xsd:string"/>
</xsd:complexType>
<xsd:element name="map">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="topic" minOccurs="1" maxOccurs='unbounded'/>
<xsd:element ref="relationship" minOccurs="0" maxOccurs='unbounded'/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string"/>
<xsd:attribute name="version" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="topic" type="topicType"/>
@ -33,7 +32,8 @@
<xsd:attribute name="order" type="xsd:int"/>
<xsd:attribute name="position" type="xsd:string"/>
<xsd:attribute name="central" type="xsd:boolean"/>
<xsd:attribute name="id" type="xsd:ID" use="optional"/>
<xsd:attribute name="id" type="xsd:string" use="optional"/>
<xsd:attribute name="shrink" type="xsd:boolean"/>
</xsd:complexType>
<xsd:complexType name="icon">
@ -52,9 +52,9 @@
<xsd:element name="relationship" type="relationshipType"/>
<xsd:complexType name="relationshipType">
<xsd:attribute name="id" type="xsd:ID"/>
<xsd:attribute name="srcTopicId" type="xsd:ID"/>
<xsd:attribute name="destTopicId" type="xsd:ID"/>
<xsd:attribute name="id" type="xsd:string"/>
<xsd:attribute name="srcTopicId" type="xsd:string"/>
<xsd:attribute name="destTopicId" type="xsd:string"/>
<xsd:attribute name="lineType" type="xsd:string"/>
<xsd:attribute name="srcCtrlPoint" type="xsd:string"/>
<xsd:attribute name="destCtrlPoint" type="xsd:string"/>