mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 06:07:57 +01:00
Freemind import - Supporting collapsed nodes
This commit is contained in:
parent
c1989c4562
commit
67d2954f9e
@ -322,6 +322,10 @@ public class FreemindImporter
|
|||||||
mindmapTopic.setPosition( position+","+200 * orderPosition);
|
mindmapTopic.setPosition( position+","+200 * orderPosition);
|
||||||
String fontStyle = generateFontStyle(freemindNode,null);
|
String fontStyle = generateFontStyle(freemindNode,null);
|
||||||
mindmapTopic.setFontStyle(fontStyle);
|
mindmapTopic.setFontStyle(fontStyle);
|
||||||
|
Boolean folded = Boolean.valueOf(freemindNode.getFOLDED());
|
||||||
|
if(folded){
|
||||||
|
mindmapTopic.setShrink(folded);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private String generateFontStyle(Node node,Font font)
|
private String generateFontStyle(Node node,Font font)
|
||||||
|
@ -8,8 +8,10 @@
|
|||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
<xsd:element ref="topic" minOccurs="1" maxOccurs='unbounded'/>
|
<xsd:element ref="topic" minOccurs="1" maxOccurs='unbounded'/>
|
||||||
|
<xsd:element ref="relationship" minOccurs="0" maxOccurs='unbounded'/>
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
<xsd:attribute name="name" type="xsd:string"/>
|
<xsd:attribute name="name" type="xsd:string"/>
|
||||||
|
<xsd:attribute name="version" type="xsd:string"/>
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
|
|
||||||
@ -30,20 +32,33 @@
|
|||||||
<xsd:attribute name="order" type="xsd:int"/>
|
<xsd:attribute name="order" type="xsd:int"/>
|
||||||
<xsd:attribute name="position" type="xsd:string"/>
|
<xsd:attribute name="position" type="xsd:string"/>
|
||||||
<xsd:attribute name="central" type="xsd:boolean"/>
|
<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>
|
||||||
|
|
||||||
<xsd:complexType name="icon">
|
<xsd:complexType name="icon">
|
||||||
<xsd:attribute name="id" type="xsd:string"/>
|
<xsd:attribute name="id" type="xsd:string"/>
|
||||||
<xsd:attribute name="order" type="xsd:string"/>
|
<xsd:attribute name="order" type="xsd:string"/>
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
|
|
||||||
<xsd:complexType name="link">
|
<xsd:complexType name="link">
|
||||||
<xsd:attribute name="url" type="xsd:string"/>
|
<xsd:attribute name="url" type="xsd:string"/>
|
||||||
<xsd:attribute name="order" type="xsd:string"/>
|
<xsd:attribute name="order" type="xsd:string"/>
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
|
|
||||||
<xsd:complexType name="note">
|
<xsd:complexType name="note">
|
||||||
<xsd:attribute name="text" type="xsd:string"/>
|
<xsd:attribute name="text" type="xsd:string"/>
|
||||||
</xsd:complexType>
|
</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>
|
</xsd:schema>
|
201
wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Icon.java
Executable file → Normal file
201
wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Icon.java
Executable file → Normal file
@ -1,111 +1,92 @@
|
|||||||
/*
|
//
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||||
* this work for additional information regarding copyright ownership.
|
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
// Generated on: 2011.01.11 at 02:17:09 PM ART
|
||||||
* (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.0 in JDK 1.6
|
package com.wisemapping.xml.mindmap;
|
||||||
// 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.
|
import javax.xml.bind.annotation.XmlAccessType;
|
||||||
// Generated on: 2007.11.01 at 09:40:11 PM ART
|
import javax.xml.bind.annotation.XmlAccessorType;
|
||||||
//
|
import javax.xml.bind.annotation.XmlAttribute;
|
||||||
|
import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
package com.wisemapping.xml.mindmap;
|
|
||||||
|
/**
|
||||||
import javax.xml.bind.annotation.XmlAccessType;
|
* <p>Java class for icon complex type.
|
||||||
import javax.xml.bind.annotation.XmlAccessorType;
|
*
|
||||||
import javax.xml.bind.annotation.XmlAttribute;
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
import javax.xml.bind.annotation.XmlType;
|
*
|
||||||
|
* <pre>
|
||||||
|
* <complexType name="icon">
|
||||||
/**
|
* <complexContent>
|
||||||
* <p>Java class for icon complex type.
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||||
*
|
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
* <attribute name="order" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||||
*
|
* </restriction>
|
||||||
* <pre>
|
* </complexContent>
|
||||||
* <complexType name="icon">
|
* </complexType>
|
||||||
* <complexContent>
|
* </pre>
|
||||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
*
|
||||||
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
|
*
|
||||||
* <attribute name="order" type="{http://www.w3.org/2001/XMLSchema}string" />
|
*/
|
||||||
* </restriction>
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
* </complexContent>
|
@XmlType(name = "icon")
|
||||||
* </complexType>
|
public class Icon {
|
||||||
* </pre>
|
|
||||||
*
|
@XmlAttribute
|
||||||
*
|
protected String id;
|
||||||
*/
|
@XmlAttribute
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
protected String order;
|
||||||
@XmlType(name = "icon")
|
|
||||||
public class Icon {
|
/**
|
||||||
|
* Gets the value of the id property.
|
||||||
@XmlAttribute
|
*
|
||||||
protected String id;
|
* @return
|
||||||
@XmlAttribute
|
* possible object is
|
||||||
protected String order;
|
* {@link String }
|
||||||
|
*
|
||||||
/**
|
*/
|
||||||
* Gets the value of the id property.
|
public String getId() {
|
||||||
*
|
return id;
|
||||||
* @return
|
}
|
||||||
* possible object is
|
|
||||||
* {@link String }
|
/**
|
||||||
*
|
* Sets the value of the id property.
|
||||||
*/
|
*
|
||||||
public String getId() {
|
* @param value
|
||||||
return id;
|
* allowed object is
|
||||||
}
|
* {@link String }
|
||||||
|
*
|
||||||
/**
|
*/
|
||||||
* Sets the value of the id property.
|
public void setId(String value) {
|
||||||
*
|
this.id = value;
|
||||||
* @param value
|
}
|
||||||
* allowed object is
|
|
||||||
* {@link String }
|
/**
|
||||||
*
|
* Gets the value of the order property.
|
||||||
*/
|
*
|
||||||
public void setId(String value) {
|
* @return
|
||||||
this.id = value;
|
* possible object is
|
||||||
}
|
* {@link String }
|
||||||
|
*
|
||||||
/**
|
*/
|
||||||
* Gets the value of the order property.
|
public String getOrder() {
|
||||||
*
|
return order;
|
||||||
* @return
|
}
|
||||||
* possible object is
|
|
||||||
* {@link String }
|
/**
|
||||||
*
|
* Sets the value of the order property.
|
||||||
*/
|
*
|
||||||
public String getOrder() {
|
* @param value
|
||||||
return order;
|
* allowed object is
|
||||||
}
|
* {@link String }
|
||||||
|
*
|
||||||
/**
|
*/
|
||||||
* Sets the value of the order property.
|
public void setOrder(String value) {
|
||||||
*
|
this.order = value;
|
||||||
* @param value
|
}
|
||||||
* allowed object is
|
|
||||||
* {@link String }
|
}
|
||||||
*
|
|
||||||
*/
|
|
||||||
public void setOrder(String value) {
|
|
||||||
this.order = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
201
wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Link.java
Executable file → Normal file
201
wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Link.java
Executable file → Normal file
@ -1,111 +1,92 @@
|
|||||||
/*
|
//
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||||
* this work for additional information regarding copyright ownership.
|
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
// Generated on: 2011.01.11 at 02:17:09 PM ART
|
||||||
* (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.0 in JDK 1.6
|
package com.wisemapping.xml.mindmap;
|
||||||
// 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.
|
import javax.xml.bind.annotation.XmlAccessType;
|
||||||
// Generated on: 2007.11.01 at 09:40:11 PM ART
|
import javax.xml.bind.annotation.XmlAccessorType;
|
||||||
//
|
import javax.xml.bind.annotation.XmlAttribute;
|
||||||
|
import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
package com.wisemapping.xml.mindmap;
|
|
||||||
|
/**
|
||||||
import javax.xml.bind.annotation.XmlAccessType;
|
* <p>Java class for link complex type.
|
||||||
import javax.xml.bind.annotation.XmlAccessorType;
|
*
|
||||||
import javax.xml.bind.annotation.XmlAttribute;
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
import javax.xml.bind.annotation.XmlType;
|
*
|
||||||
|
* <pre>
|
||||||
|
* <complexType name="link">
|
||||||
/**
|
* <complexContent>
|
||||||
* <p>Java class for link complex type.
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||||
*
|
* <attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
* <attribute name="order" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||||
*
|
* </restriction>
|
||||||
* <pre>
|
* </complexContent>
|
||||||
* <complexType name="link">
|
* </complexType>
|
||||||
* <complexContent>
|
* </pre>
|
||||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
*
|
||||||
* <attribute name="order" type="{http://www.w3.org/2001/XMLSchema}string" />
|
*
|
||||||
* <attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" />
|
*/
|
||||||
* </restriction>
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
* </complexContent>
|
@XmlType(name = "link")
|
||||||
* </complexType>
|
public class Link {
|
||||||
* </pre>
|
|
||||||
*
|
@XmlAttribute
|
||||||
*
|
protected String url;
|
||||||
*/
|
@XmlAttribute
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
protected String order;
|
||||||
@XmlType(name = "link")
|
|
||||||
public class Link {
|
/**
|
||||||
|
* Gets the value of the url property.
|
||||||
@XmlAttribute
|
*
|
||||||
protected String order;
|
* @return
|
||||||
@XmlAttribute
|
* possible object is
|
||||||
protected String url;
|
* {@link String }
|
||||||
|
*
|
||||||
/**
|
*/
|
||||||
* Gets the value of the order property.
|
public String getUrl() {
|
||||||
*
|
return url;
|
||||||
* @return
|
}
|
||||||
* possible object is
|
|
||||||
* {@link String }
|
/**
|
||||||
*
|
* Sets the value of the url property.
|
||||||
*/
|
*
|
||||||
public String getOrder() {
|
* @param value
|
||||||
return order;
|
* allowed object is
|
||||||
}
|
* {@link String }
|
||||||
|
*
|
||||||
/**
|
*/
|
||||||
* Sets the value of the order property.
|
public void setUrl(String value) {
|
||||||
*
|
this.url = value;
|
||||||
* @param value
|
}
|
||||||
* allowed object is
|
|
||||||
* {@link String }
|
/**
|
||||||
*
|
* Gets the value of the order property.
|
||||||
*/
|
*
|
||||||
public void setOrder(String value) {
|
* @return
|
||||||
this.order = value;
|
* possible object is
|
||||||
}
|
* {@link String }
|
||||||
|
*
|
||||||
/**
|
*/
|
||||||
* Gets the value of the url property.
|
public String getOrder() {
|
||||||
*
|
return order;
|
||||||
* @return
|
}
|
||||||
* possible object is
|
|
||||||
* {@link String }
|
/**
|
||||||
*
|
* Sets the value of the order property.
|
||||||
*/
|
*
|
||||||
public String getUrl() {
|
* @param value
|
||||||
return url;
|
* allowed object is
|
||||||
}
|
* {@link String }
|
||||||
|
*
|
||||||
/**
|
*/
|
||||||
* Sets the value of the url property.
|
public void setOrder(String value) {
|
||||||
*
|
this.order = value;
|
||||||
* @param value
|
}
|
||||||
* allowed object is
|
|
||||||
* {@link String }
|
}
|
||||||
*
|
|
||||||
*/
|
|
||||||
public void setUrl(String value) {
|
|
||||||
this.url = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
288
wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Map.java
Executable file → Normal file
288
wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Map.java
Executable file → Normal file
@ -1,125 +1,165 @@
|
|||||||
/*
|
//
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||||
* this work for additional information regarding copyright ownership.
|
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
// Generated on: 2011.01.11 at 02:17:09 PM ART
|
||||||
* (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.0 in JDK 1.6
|
package com.wisemapping.xml.mindmap;
|
||||||
// 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.
|
import java.util.ArrayList;
|
||||||
// Generated on: 2007.11.01 at 09:40:11 PM ART
|
import java.util.List;
|
||||||
//
|
import javax.xml.bind.annotation.XmlAccessType;
|
||||||
|
import javax.xml.bind.annotation.XmlAccessorType;
|
||||||
|
import javax.xml.bind.annotation.XmlAttribute;
|
||||||
package com.wisemapping.xml.mindmap;
|
import javax.xml.bind.annotation.XmlElement;
|
||||||
|
import javax.xml.bind.annotation.XmlRootElement;
|
||||||
import java.util.ArrayList;
|
import javax.xml.bind.annotation.XmlType;
|
||||||
import java.util.List;
|
|
||||||
import javax.xml.bind.annotation.XmlAccessType;
|
|
||||||
import javax.xml.bind.annotation.XmlAccessorType;
|
/**
|
||||||
import javax.xml.bind.annotation.XmlAttribute;
|
* <p>Java class for anonymous complex type.
|
||||||
import javax.xml.bind.annotation.XmlElement;
|
*
|
||||||
import javax.xml.bind.annotation.XmlRootElement;
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
import javax.xml.bind.annotation.XmlType;
|
*
|
||||||
|
* <pre>
|
||||||
|
* <complexType>
|
||||||
/**
|
* <complexContent>
|
||||||
* <p>Java class for anonymous complex type.
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||||
*
|
* <sequence>
|
||||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
* <element ref="{}topic" maxOccurs="unbounded"/>
|
||||||
*
|
* <element ref="{}relationship" maxOccurs="unbounded" minOccurs="0"/>
|
||||||
* <pre>
|
* </sequence>
|
||||||
* <complexType>
|
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||||
* <complexContent>
|
* <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
* </restriction>
|
||||||
* <sequence>
|
* </complexContent>
|
||||||
* <element ref="{}topic" maxOccurs="unbounded"/>
|
* </complexType>
|
||||||
* </sequence>
|
* </pre>
|
||||||
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
|
*
|
||||||
* </restriction>
|
*
|
||||||
* </complexContent>
|
*/
|
||||||
* </complexType>
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
* </pre>
|
@XmlType(name = "", propOrder = {
|
||||||
*
|
"topic",
|
||||||
*
|
"relationship"
|
||||||
*/
|
})
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlRootElement(name = "map")
|
||||||
@XmlType(name = "", propOrder = {
|
public class Map {
|
||||||
"topic"
|
|
||||||
})
|
@XmlElement(required = true)
|
||||||
@XmlRootElement(name = "map")
|
protected List<TopicType> topic;
|
||||||
public class Map {
|
protected List<RelationshipType> relationship;
|
||||||
|
@XmlAttribute
|
||||||
@XmlElement(required = true)
|
protected String name;
|
||||||
protected List<TopicType> topic;
|
@XmlAttribute
|
||||||
@XmlAttribute
|
protected String version;
|
||||||
protected String name;
|
|
||||||
|
/**
|
||||||
/**
|
* Gets the value of the topic property.
|
||||||
* Gets the value of the topic property.
|
*
|
||||||
*
|
* <p>
|
||||||
* <p>
|
* This accessor method returns a reference to the live list,
|
||||||
* This accessor method returns a reference to the live list,
|
* not a snapshot. Therefore any modification you make to the
|
||||||
* not a snapshot. Therefore any modification you make to the
|
* returned list will be present inside the JAXB object.
|
||||||
* returned list will be present inside the JAXB object.
|
* This is why there is not a <CODE>set</CODE> method for the topic property.
|
||||||
* This is why there is not a <CODE>set</CODE> method for the topic property.
|
*
|
||||||
*
|
* <p>
|
||||||
* <p>
|
* For example, to add a new item, do as follows:
|
||||||
* For example, to add a new item, do as follows:
|
* <pre>
|
||||||
* <pre>
|
* getTopic().add(newItem);
|
||||||
* getTopic().add(newItem);
|
* </pre>
|
||||||
* </pre>
|
*
|
||||||
*
|
*
|
||||||
*
|
* <p>
|
||||||
* <p>
|
* Objects of the following type(s) are allowed in the list
|
||||||
* Objects of the following type(s) are allowed in the list
|
* {@link TopicType }
|
||||||
* {@link TopicType }
|
*
|
||||||
*
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public List<TopicType> getTopic() {
|
||||||
public List<TopicType> getTopic() {
|
if (topic == null) {
|
||||||
if (topic == null) {
|
topic = new ArrayList<TopicType>();
|
||||||
topic = new ArrayList<TopicType>();
|
}
|
||||||
}
|
return this.topic;
|
||||||
return this.topic;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Gets the value of the relationship property.
|
||||||
* Gets the value of the name property.
|
*
|
||||||
*
|
* <p>
|
||||||
* @return
|
* This accessor method returns a reference to the live list,
|
||||||
* possible object is
|
* not a snapshot. Therefore any modification you make to the
|
||||||
* {@link String }
|
* returned list will be present inside the JAXB object.
|
||||||
*
|
* This is why there is not a <CODE>set</CODE> method for the relationship property.
|
||||||
*/
|
*
|
||||||
public String getName() {
|
* <p>
|
||||||
return name;
|
* For example, to add a new item, do as follows:
|
||||||
}
|
* <pre>
|
||||||
|
* getRelationship().add(newItem);
|
||||||
/**
|
* </pre>
|
||||||
* Sets the value of the name property.
|
*
|
||||||
*
|
*
|
||||||
* @param value
|
* <p>
|
||||||
* allowed object is
|
* Objects of the following type(s) are allowed in the list
|
||||||
* {@link String }
|
* {@link RelationshipType }
|
||||||
*
|
*
|
||||||
*/
|
*
|
||||||
public void setName(String value) {
|
*/
|
||||||
this.name = value;
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
147
wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Note.java
Executable file → Normal file
147
wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Note.java
Executable file → Normal file
@ -1,84 +1,65 @@
|
|||||||
/*
|
//
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||||
* this work for additional information regarding copyright ownership.
|
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
// Generated on: 2011.01.11 at 02:17:09 PM ART
|
||||||
* (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.0 in JDK 1.6
|
package com.wisemapping.xml.mindmap;
|
||||||
// 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.
|
import javax.xml.bind.annotation.XmlAccessType;
|
||||||
// Generated on: 2008.03.26 at 10:28:06 PM ART
|
import javax.xml.bind.annotation.XmlAccessorType;
|
||||||
//
|
import javax.xml.bind.annotation.XmlAttribute;
|
||||||
|
import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
package com.wisemapping.xml.mindmap;
|
|
||||||
|
/**
|
||||||
import javax.xml.bind.annotation.XmlAccessType;
|
* <p>Java class for note complex type.
|
||||||
import javax.xml.bind.annotation.XmlAccessorType;
|
*
|
||||||
import javax.xml.bind.annotation.XmlAttribute;
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
import javax.xml.bind.annotation.XmlType;
|
*
|
||||||
|
* <pre>
|
||||||
|
* <complexType name="note">
|
||||||
/**
|
* <complexContent>
|
||||||
* <p>Java class for note complex type.
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||||
*
|
* <attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
* </restriction>
|
||||||
*
|
* </complexContent>
|
||||||
* <pre>
|
* </complexType>
|
||||||
* <complexType name="note">
|
* </pre>
|
||||||
* <complexContent>
|
*
|
||||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
*
|
||||||
* <attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
|
*/
|
||||||
* </restriction>
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
* </complexContent>
|
@XmlType(name = "note")
|
||||||
* </complexType>
|
public class Note {
|
||||||
* </pre>
|
|
||||||
*
|
@XmlAttribute
|
||||||
*
|
protected String text;
|
||||||
*/
|
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
/**
|
||||||
@XmlType(name = "note")
|
* Gets the value of the text property.
|
||||||
public class Note {
|
*
|
||||||
|
* @return
|
||||||
@XmlAttribute
|
* possible object is
|
||||||
protected String text;
|
* {@link String }
|
||||||
|
*
|
||||||
/**
|
*/
|
||||||
* Gets the value of the text property.
|
public String getText() {
|
||||||
*
|
return text;
|
||||||
* @return
|
}
|
||||||
* possible object is
|
|
||||||
* {@link String }
|
/**
|
||||||
*
|
* Sets the value of the text property.
|
||||||
*/
|
*
|
||||||
public String getText() {
|
* @param value
|
||||||
return text;
|
* allowed object is
|
||||||
}
|
* {@link String }
|
||||||
|
*
|
||||||
/**
|
*/
|
||||||
* Sets the value of the text property.
|
public void setText(String value) {
|
||||||
*
|
this.text = value;
|
||||||
* @param value
|
}
|
||||||
* allowed object is
|
|
||||||
* {@link String }
|
}
|
||||||
*
|
|
||||||
*/
|
|
||||||
public void setText(String value) {
|
|
||||||
this.text = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
219
wise-webapp/src/main/java/com/wisemapping/xml/mindmap/ObjectFactory.java
Executable file → Normal file
219
wise-webapp/src/main/java/com/wisemapping/xml/mindmap/ObjectFactory.java
Executable file → Normal file
@ -1,111 +1,110 @@
|
|||||||
/*
|
//
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||||
* this work for additional information regarding copyright ownership.
|
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
// Generated on: 2011.01.11 at 02:17:09 PM ART
|
||||||
* (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.0 in JDK 1.6
|
package com.wisemapping.xml.mindmap;
|
||||||
// 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.
|
import javax.xml.bind.JAXBElement;
|
||||||
// Generated on: 2008.03.26 at 10:28:06 PM ART
|
import javax.xml.bind.annotation.XmlElementDecl;
|
||||||
//
|
import javax.xml.bind.annotation.XmlRegistry;
|
||||||
|
import javax.xml.namespace.QName;
|
||||||
|
|
||||||
package com.wisemapping.xml.mindmap;
|
|
||||||
|
/**
|
||||||
import javax.xml.bind.JAXBElement;
|
* This object contains factory methods for each
|
||||||
import javax.xml.bind.annotation.XmlElementDecl;
|
* Java content interface and Java element interface
|
||||||
import javax.xml.bind.annotation.XmlRegistry;
|
* generated in the com.wisemapping.xml.mindmap package.
|
||||||
import javax.xml.namespace.QName;
|
* <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
|
||||||
* This object contains factory methods for each
|
* and classes representing the binding of schema
|
||||||
* Java content interface and Java element interface
|
* type definitions, element declarations and model
|
||||||
* generated in the generated package.
|
* groups. Factory methods for each of these are
|
||||||
* <p>An ObjectFactory allows you to programatically
|
* provided in this class.
|
||||||
* construct new instances of the Java representation
|
*
|
||||||
* for XML content. The Java representation of XML
|
*/
|
||||||
* content can consist of schema derived interfaces
|
@XmlRegistry
|
||||||
* and classes representing the binding of schema
|
public class ObjectFactory {
|
||||||
* type definitions, element declarations and model
|
|
||||||
* groups. Factory methods for each of these are
|
private final static QName _Topic_QNAME = new QName("", "topic");
|
||||||
* provided in this class.
|
private final static QName _Relationship_QNAME = new QName("", "relationship");
|
||||||
*
|
|
||||||
*/
|
/**
|
||||||
@XmlRegistry
|
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.wisemapping.xml.mindmap
|
||||||
public class ObjectFactory {
|
*
|
||||||
|
*/
|
||||||
private final static QName _Topic_QNAME = new QName("", "topic");
|
public ObjectFactory() {
|
||||||
|
}
|
||||||
/**
|
|
||||||
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: generated
|
/**
|
||||||
*
|
* Create an instance of {@link RelationshipType }
|
||||||
*/
|
*
|
||||||
public ObjectFactory() {
|
*/
|
||||||
}
|
public RelationshipType createRelationshipType() {
|
||||||
|
return new RelationshipType();
|
||||||
/**
|
}
|
||||||
* Create an instance of {@link Link }
|
|
||||||
*
|
/**
|
||||||
*/
|
* Create an instance of {@link Map }
|
||||||
public Link createLink() {
|
*
|
||||||
return new Link();
|
*/
|
||||||
}
|
public Map createMap() {
|
||||||
|
return new Map();
|
||||||
/**
|
}
|
||||||
* Create an instance of {@link Icon }
|
|
||||||
*
|
/**
|
||||||
*/
|
* Create an instance of {@link Link }
|
||||||
public Icon createIcon() {
|
*
|
||||||
return new Icon();
|
*/
|
||||||
}
|
public Link createLink() {
|
||||||
|
return new Link();
|
||||||
/**
|
}
|
||||||
* Create an instance of {@link Map }
|
|
||||||
*
|
/**
|
||||||
*/
|
* Create an instance of {@link TopicType }
|
||||||
public Map createMap() {
|
*
|
||||||
return new Map();
|
*/
|
||||||
}
|
public TopicType createTopicType() {
|
||||||
|
return new TopicType();
|
||||||
/**
|
}
|
||||||
* Create an instance of {@link TopicType }
|
|
||||||
*
|
/**
|
||||||
*/
|
* Create an instance of {@link Note }
|
||||||
public TopicType createTopicType() {
|
*
|
||||||
return new TopicType();
|
*/
|
||||||
}
|
public Note createNote() {
|
||||||
|
return new Note();
|
||||||
/**
|
}
|
||||||
* Create an instance of {@link Note }
|
|
||||||
*
|
/**
|
||||||
*/
|
* Create an instance of {@link Icon }
|
||||||
public Note createNote() {
|
*
|
||||||
return new Note();
|
*/
|
||||||
}
|
public Icon createIcon() {
|
||||||
|
return new Icon();
|
||||||
/**
|
}
|
||||||
* Create an instance of {@link JAXBElement }{@code <}{@link TopicType }{@code >}}
|
|
||||||
*
|
/**
|
||||||
*/
|
* 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);
|
@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);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -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>
|
||||||
|
* <complexType name="relationshipType">
|
||||||
|
* <complexContent>
|
||||||
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||||
|
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||||
|
* <attribute name="srcTopicId" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||||
|
* <attribute name="destTopicId" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||||
|
* <attribute name="lineType" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||||
|
* <attribute name="srcCtrlPoint" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||||
|
* <attribute name="destCtrlPoint" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||||
|
* <attribute name="endArrow" type="{http://www.w3.org/2001/XMLSchema}boolean" />
|
||||||
|
* </restriction>
|
||||||
|
* </complexContent>
|
||||||
|
* </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;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
826
wise-webapp/src/main/java/com/wisemapping/xml/mindmap/TopicType.java
Executable file → Normal file
826
wise-webapp/src/main/java/com/wisemapping/xml/mindmap/TopicType.java
Executable file → Normal file
@ -1,397 +1,431 @@
|
|||||||
/*
|
//
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||||
* this work for additional information regarding copyright ownership.
|
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
// Generated on: 2011.01.11 at 02:17:09 PM ART
|
||||||
* (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.0 in JDK 1.6
|
package com.wisemapping.xml.mindmap;
|
||||||
// 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.
|
import java.util.ArrayList;
|
||||||
// Generated on: 2007.11.01 at 09:40:11 PM ART
|
import java.util.List;
|
||||||
//
|
import javax.xml.bind.annotation.XmlAccessType;
|
||||||
|
import javax.xml.bind.annotation.XmlAccessorType;
|
||||||
|
import javax.xml.bind.annotation.XmlAttribute;
|
||||||
package com.wisemapping.xml.mindmap;
|
import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
import javax.xml.bind.annotation.XmlAccessType;
|
|
||||||
import javax.xml.bind.annotation.XmlAccessorType;
|
/**
|
||||||
import javax.xml.bind.annotation.XmlAttribute;
|
* <p>Java class for topicType complex type.
|
||||||
import javax.xml.bind.annotation.XmlType;
|
*
|
||||||
import java.util.ArrayList;
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
import java.util.List;
|
*
|
||||||
|
* <pre>
|
||||||
|
* <complexType name="topicType">
|
||||||
/**
|
* <complexContent>
|
||||||
* <p>Java class for topicType complex type.
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||||
*
|
* <sequence>
|
||||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
* <element name="icon" type="{}icon" maxOccurs="unbounded" minOccurs="0"/>
|
||||||
*
|
* <element name="link" type="{}link" minOccurs="0"/>
|
||||||
* <pre>
|
* <element name="note" type="{}note" minOccurs="0"/>
|
||||||
* <complexType name="topicType">
|
* <element ref="{}topic" maxOccurs="unbounded" minOccurs="0"/>
|
||||||
* <complexContent>
|
* </sequence>
|
||||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
* <attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||||
* <sequence>
|
* <attribute name="shape" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||||
* <element name="icon" type="{}icon" maxOccurs="unbounded" minOccurs="0"/>
|
* <attribute name="fontStyle" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||||
* <element name="link" type="{}link" minOccurs="0"/>
|
* <attribute name="bgColor" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||||
* <element name="note" type="{}note" minOccurs="0"/>
|
* <attribute name="brColor" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||||
* <element ref="{}topic" maxOccurs="unbounded" minOccurs="0"/>
|
* <attribute name="order" type="{http://www.w3.org/2001/XMLSchema}int" />
|
||||||
* </sequence>
|
* <attribute name="position" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||||
* <attribute name="bgColor" type="{http://www.w3.org/2001/XMLSchema}string" />
|
* <attribute name="central" type="{http://www.w3.org/2001/XMLSchema}boolean" />
|
||||||
* <attribute name="brColor" type="{http://www.w3.org/2001/XMLSchema}string" />
|
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||||
* <attribute name="central" type="{http://www.w3.org/2001/XMLSchema}boolean" />
|
* <attribute name="shrink" type="{http://www.w3.org/2001/XMLSchema}boolean" />
|
||||||
* <attribute name="fontStyle" type="{http://www.w3.org/2001/XMLSchema}string" />
|
* </restriction>
|
||||||
* <attribute name="order" type="{http://www.w3.org/2001/XMLSchema}int" />
|
* </complexContent>
|
||||||
* <attribute name="position" type="{http://www.w3.org/2001/XMLSchema}string" />
|
* </complexType>
|
||||||
* <attribute name="shape" type="{http://www.w3.org/2001/XMLSchema}string" />
|
* </pre>
|
||||||
* <attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
|
*
|
||||||
* </restriction>
|
*
|
||||||
* </complexContent>
|
*/
|
||||||
* </complexType>
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
* </pre>
|
@XmlType(name = "topicType", propOrder = {
|
||||||
*
|
"icon",
|
||||||
*
|
"link",
|
||||||
*/
|
"note",
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
"topic"
|
||||||
@XmlType(name = "topicType", propOrder = {
|
})
|
||||||
"icon",
|
public class TopicType {
|
||||||
"link",
|
|
||||||
"note",
|
protected List<Icon> icon;
|
||||||
"topic"
|
protected Link link;
|
||||||
})
|
protected Note note;
|
||||||
public class TopicType {
|
protected List<TopicType> topic;
|
||||||
|
@XmlAttribute
|
||||||
protected List<Icon> icon;
|
protected String text;
|
||||||
protected Link link;
|
@XmlAttribute
|
||||||
protected Note note;
|
protected String shape;
|
||||||
protected List<TopicType> topic;
|
@XmlAttribute
|
||||||
@XmlAttribute
|
protected String fontStyle;
|
||||||
protected String bgColor;
|
@XmlAttribute
|
||||||
@XmlAttribute
|
protected String bgColor;
|
||||||
protected String brColor;
|
@XmlAttribute
|
||||||
@XmlAttribute
|
protected String brColor;
|
||||||
protected Boolean central;
|
@XmlAttribute
|
||||||
@XmlAttribute
|
protected Integer order;
|
||||||
protected String fontStyle;
|
@XmlAttribute
|
||||||
@XmlAttribute
|
protected String position;
|
||||||
protected Integer order;
|
@XmlAttribute
|
||||||
@XmlAttribute
|
protected Boolean central;
|
||||||
protected String position;
|
@XmlAttribute
|
||||||
@XmlAttribute
|
protected String id;
|
||||||
protected String shape;
|
@XmlAttribute
|
||||||
@XmlAttribute
|
protected Boolean shrink;
|
||||||
protected String text;
|
|
||||||
|
/**
|
||||||
/**
|
* Gets the value of the icon property.
|
||||||
* Gets the value of the icon property.
|
*
|
||||||
*
|
* <p>
|
||||||
* <p>
|
* This accessor method returns a reference to the live list,
|
||||||
* This accessor method returns a reference to the live list,
|
* not a snapshot. Therefore any modification you make to the
|
||||||
* not a snapshot. Therefore any modification you make to the
|
* returned list will be present inside the JAXB object.
|
||||||
* returned list will be present inside the JAXB object.
|
* This is why there is not a <CODE>set</CODE> method for the icon property.
|
||||||
* This is why there is not a <CODE>set</CODE> method for the icon property.
|
*
|
||||||
*
|
* <p>
|
||||||
* <p>
|
* For example, to add a new item, do as follows:
|
||||||
* For example, to add a new item, do as follows:
|
* <pre>
|
||||||
* <pre>
|
* getIcon().add(newItem);
|
||||||
* getIcon().add(newItem);
|
* </pre>
|
||||||
* </pre>
|
*
|
||||||
*
|
*
|
||||||
*
|
* <p>
|
||||||
* <p>
|
* Objects of the following type(s) are allowed in the list
|
||||||
* Objects of the following type(s) are allowed in the list
|
* {@link Icon }
|
||||||
* {@link Icon }
|
*
|
||||||
*
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public List<Icon> getIcon() {
|
||||||
public List<Icon> getIcon() {
|
if (icon == null) {
|
||||||
if (icon == null) {
|
icon = new ArrayList<Icon>();
|
||||||
icon = new ArrayList<Icon>();
|
}
|
||||||
}
|
return this.icon;
|
||||||
return this.icon;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Gets the value of the link property.
|
||||||
* Gets the value of the link property.
|
*
|
||||||
*
|
* @return
|
||||||
* @return
|
* possible object is
|
||||||
* possible object is
|
* {@link Link }
|
||||||
* {@link Link }
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public Link getLink() {
|
||||||
public Link getLink() {
|
return link;
|
||||||
return link;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Sets the value of the link property.
|
||||||
* Sets the value of the link property.
|
*
|
||||||
*
|
* @param value
|
||||||
* @param value
|
* allowed object is
|
||||||
* allowed object is
|
* {@link Link }
|
||||||
* {@link Link }
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public void setLink(Link value) {
|
||||||
public void setLink(Link value) {
|
this.link = value;
|
||||||
this.link = value;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Gets the value of the note property.
|
||||||
* Gets the value of the note property.
|
*
|
||||||
*
|
* @return
|
||||||
* @return
|
* possible object is
|
||||||
* possible object is
|
* {@link Note }
|
||||||
* {@link Note }
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public Note getNote() {
|
||||||
public Note getNote() {
|
return note;
|
||||||
return note;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Sets the value of the note property.
|
||||||
* Sets the value of the note property.
|
*
|
||||||
*
|
* @param value
|
||||||
* @param value
|
* allowed object is
|
||||||
* allowed object is
|
* {@link Note }
|
||||||
* {@link Note }
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public void setNote(Note value) {
|
||||||
public void setNote(Note value) {
|
this.note = value;
|
||||||
this.note = value;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Gets the value of the topic property.
|
||||||
* Gets the value of the topic property.
|
*
|
||||||
*
|
* <p>
|
||||||
* <p>
|
* This accessor method returns a reference to the live list,
|
||||||
* This accessor method returns a reference to the live list,
|
* not a snapshot. Therefore any modification you make to the
|
||||||
* not a snapshot. Therefore any modification you make to the
|
* returned list will be present inside the JAXB object.
|
||||||
* returned list will be present inside the JAXB object.
|
* This is why there is not a <CODE>set</CODE> method for the topic property.
|
||||||
* This is why there is not a <CODE>set</CODE> method for the topic property.
|
*
|
||||||
*
|
* <p>
|
||||||
* <p>
|
* For example, to add a new item, do as follows:
|
||||||
* For example, to add a new item, do as follows:
|
* <pre>
|
||||||
* <pre>
|
* getTopic().add(newItem);
|
||||||
* getTopic().add(newItem);
|
* </pre>
|
||||||
* </pre>
|
*
|
||||||
*
|
*
|
||||||
*
|
* <p>
|
||||||
* <p>
|
* Objects of the following type(s) are allowed in the list
|
||||||
* Objects of the following type(s) are allowed in the list
|
* {@link TopicType }
|
||||||
* {@link TopicType }
|
*
|
||||||
*
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public List<TopicType> getTopic() {
|
||||||
public List<TopicType> getTopic() {
|
if (topic == null) {
|
||||||
if (topic == null) {
|
topic = new ArrayList<TopicType>();
|
||||||
topic = new ArrayList<TopicType>();
|
}
|
||||||
}
|
return this.topic;
|
||||||
return this.topic;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Gets the value of the text property.
|
||||||
* Gets the value of the bgColor property.
|
*
|
||||||
*
|
* @return
|
||||||
* @return
|
* possible object is
|
||||||
* possible object is
|
* {@link String }
|
||||||
* {@link String }
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public String getText() {
|
||||||
public String getBgColor() {
|
return text;
|
||||||
return bgColor;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Sets the value of the text property.
|
||||||
* Sets the value of the bgColor property.
|
*
|
||||||
*
|
* @param value
|
||||||
* @param value
|
* allowed object is
|
||||||
* allowed object is
|
* {@link String }
|
||||||
* {@link String }
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public void setText(String value) {
|
||||||
public void setBgColor(String value) {
|
this.text = value;
|
||||||
this.bgColor = value;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Gets the value of the shape property.
|
||||||
* Gets the value of the brColor property.
|
*
|
||||||
*
|
* @return
|
||||||
* @return
|
* possible object is
|
||||||
* possible object is
|
* {@link String }
|
||||||
* {@link String }
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public String getShape() {
|
||||||
public String getBrColor() {
|
return shape;
|
||||||
return brColor;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Sets the value of the shape property.
|
||||||
* Sets the value of the brColor property.
|
*
|
||||||
*
|
* @param value
|
||||||
* @param value
|
* allowed object is
|
||||||
* allowed object is
|
* {@link String }
|
||||||
* {@link String }
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public void setShape(String value) {
|
||||||
public void setBrColor(String value) {
|
this.shape = value;
|
||||||
this.brColor = value;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Gets the value of the fontStyle property.
|
||||||
* Gets the value of the central property.
|
*
|
||||||
*
|
* @return
|
||||||
* @return
|
* possible object is
|
||||||
* possible object is
|
* {@link String }
|
||||||
* {@link Boolean }
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public String getFontStyle() {
|
||||||
public Boolean isCentral() {
|
return fontStyle;
|
||||||
return central;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Sets the value of the fontStyle property.
|
||||||
* Sets the value of the central property.
|
*
|
||||||
*
|
* @param value
|
||||||
* @param value
|
* allowed object is
|
||||||
* allowed object is
|
* {@link String }
|
||||||
* {@link Boolean }
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public void setFontStyle(String value) {
|
||||||
public void setCentral(Boolean value) {
|
this.fontStyle = value;
|
||||||
this.central = value;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Gets the value of the bgColor property.
|
||||||
* Gets the value of the fontStyle property.
|
*
|
||||||
*
|
* @return
|
||||||
* @return
|
* possible object is
|
||||||
* possible object is
|
* {@link String }
|
||||||
* {@link String }
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public String getBgColor() {
|
||||||
public String getFontStyle() {
|
return bgColor;
|
||||||
return fontStyle;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Sets the value of the bgColor property.
|
||||||
* Sets the value of the fontStyle property.
|
*
|
||||||
*
|
* @param value
|
||||||
* @param value
|
* allowed object is
|
||||||
* allowed object is
|
* {@link String }
|
||||||
* {@link String }
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public void setBgColor(String value) {
|
||||||
public void setFontStyle(String value) {
|
this.bgColor = value;
|
||||||
this.fontStyle = value;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Gets the value of the brColor property.
|
||||||
* Gets the value of the order property.
|
*
|
||||||
*
|
* @return
|
||||||
* @return
|
* possible object is
|
||||||
* possible object is
|
* {@link String }
|
||||||
* {@link Integer }
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public String getBrColor() {
|
||||||
public Integer getOrder() {
|
return brColor;
|
||||||
return order;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Sets the value of the brColor property.
|
||||||
* Sets the value of the order property.
|
*
|
||||||
*
|
* @param value
|
||||||
* @param value
|
* allowed object is
|
||||||
* allowed object is
|
* {@link String }
|
||||||
* {@link Integer }
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public void setBrColor(String value) {
|
||||||
public void setOrder(Integer value) {
|
this.brColor = value;
|
||||||
this.order = value;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Gets the value of the order property.
|
||||||
* Gets the value of the position property.
|
*
|
||||||
*
|
* @return
|
||||||
* @return
|
* possible object is
|
||||||
* possible object is
|
* {@link Integer }
|
||||||
* {@link String }
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public Integer getOrder() {
|
||||||
public String getPosition() {
|
return order;
|
||||||
return position;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Sets the value of the order property.
|
||||||
* Sets the value of the position property.
|
*
|
||||||
*
|
* @param value
|
||||||
* @param value
|
* allowed object is
|
||||||
* allowed object is
|
* {@link Integer }
|
||||||
* {@link String }
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public void setOrder(Integer value) {
|
||||||
public void setPosition(String value) {
|
this.order = value;
|
||||||
this.position = value;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Gets the value of the position property.
|
||||||
* Gets the value of the shape property.
|
*
|
||||||
*
|
* @return
|
||||||
* @return
|
* possible object is
|
||||||
* possible object is
|
* {@link String }
|
||||||
* {@link String }
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public String getPosition() {
|
||||||
public String getShape() {
|
return position;
|
||||||
return shape;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Sets the value of the position property.
|
||||||
* Sets the value of the shape property.
|
*
|
||||||
*
|
* @param value
|
||||||
* @param value
|
* allowed object is
|
||||||
* allowed object is
|
* {@link String }
|
||||||
* {@link String }
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public void setPosition(String value) {
|
||||||
public void setShape(String value) {
|
this.position = value;
|
||||||
this.shape = value;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Gets the value of the central property.
|
||||||
* Gets the value of the text property.
|
*
|
||||||
*
|
* @return
|
||||||
* @return
|
* possible object is
|
||||||
* possible object is
|
* {@link Boolean }
|
||||||
* {@link String }
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public Boolean isCentral() {
|
||||||
public String getText() {
|
return central;
|
||||||
return text;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* Sets the value of the central property.
|
||||||
* Sets the value of the text property.
|
*
|
||||||
*
|
* @param value
|
||||||
* @param value
|
* allowed object is
|
||||||
* allowed object is
|
* {@link Boolean }
|
||||||
* {@link String }
|
*
|
||||||
*
|
*/
|
||||||
*/
|
public void setCentral(Boolean value) {
|
||||||
public void setText(String value) {
|
this.central = value;
|
||||||
this.text = 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -2,19 +2,18 @@
|
|||||||
<xsd:schema
|
<xsd:schema
|
||||||
attributeFormDefault="unqualified"
|
attributeFormDefault="unqualified"
|
||||||
elementFormDefault="qualified"
|
elementFormDefault="qualified"
|
||||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.wisemapping.org/mindmap"
|
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
xmlns="http://www.wisemapping.org/mindmap">
|
|
||||||
|
|
||||||
<xsd:element name="map" type="mapType"/>
|
<xsd:element name="map">
|
||||||
|
<xsd:complexType>
|
||||||
<xsd:complexType name="mapType">
|
<xsd:sequence>
|
||||||
<xsd:sequence>
|
<xsd:element ref="topic" minOccurs="1" maxOccurs='unbounded'/>
|
||||||
<xsd:element ref="topic" minOccurs="1" maxOccurs='unbounded'/>
|
<xsd:element ref="relationship" minOccurs="0" maxOccurs='unbounded'/>
|
||||||
<xsd:element ref="relationship" minOccurs="0" maxOccurs='unbounded'/>
|
</xsd:sequence>
|
||||||
</xsd:sequence>
|
<xsd:attribute name="name" type="xsd:string"/>
|
||||||
<xsd:attribute name="name" type="xsd:string"/>
|
<xsd:attribute name="version" type="xsd:string"/>
|
||||||
<xsd:attribute name="version" type="xsd:string"/>
|
</xsd:complexType>
|
||||||
</xsd:complexType>
|
</xsd:element>
|
||||||
|
|
||||||
<xsd:element name="topic" type="topicType"/>
|
<xsd:element name="topic" type="topicType"/>
|
||||||
|
|
||||||
@ -33,7 +32,8 @@
|
|||||||
<xsd:attribute name="order" type="xsd:int"/>
|
<xsd:attribute name="order" type="xsd:int"/>
|
||||||
<xsd:attribute name="position" type="xsd:string"/>
|
<xsd:attribute name="position" type="xsd:string"/>
|
||||||
<xsd:attribute name="central" type="xsd:boolean"/>
|
<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>
|
||||||
|
|
||||||
<xsd:complexType name="icon">
|
<xsd:complexType name="icon">
|
||||||
@ -52,9 +52,9 @@
|
|||||||
|
|
||||||
<xsd:element name="relationship" type="relationshipType"/>
|
<xsd:element name="relationship" type="relationshipType"/>
|
||||||
<xsd:complexType name="relationshipType">
|
<xsd:complexType name="relationshipType">
|
||||||
<xsd:attribute name="id" type="xsd:ID"/>
|
<xsd:attribute name="id" type="xsd:string"/>
|
||||||
<xsd:attribute name="srcTopicId" type="xsd:ID"/>
|
<xsd:attribute name="srcTopicId" type="xsd:string"/>
|
||||||
<xsd:attribute name="destTopicId" type="xsd:ID"/>
|
<xsd:attribute name="destTopicId" type="xsd:string"/>
|
||||||
<xsd:attribute name="lineType" type="xsd:string"/>
|
<xsd:attribute name="lineType" type="xsd:string"/>
|
||||||
<xsd:attribute name="srcCtrlPoint" type="xsd:string"/>
|
<xsd:attribute name="srcCtrlPoint" type="xsd:string"/>
|
||||||
<xsd:attribute name="destCtrlPoint" type="xsd:string"/>
|
<xsd:attribute name="destCtrlPoint" type="xsd:string"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user