Merge branch 'master' of repo.wisemapping.org:wisemapping/wiseorg

This commit is contained in:
Gonzalo Bellver 2012-03-07 16:28:26 -03:00
commit bbfaabd75d
84 changed files with 3322 additions and 10578 deletions

15
pom.xml
View File

@ -33,14 +33,13 @@
<organization>
<name>WiseMapping</name>
<url>http://www.wisemapping.com</url>
<url>http://www.wisemapping.org/</url>
</organization>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<inherited>true</inherited>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<configuration>
@ -53,20 +52,10 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.5</source>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<inherited>true</inherited>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.8</version>
<configuration>
<configLocation>config/maven_checks.xml</configLocation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>

View File

@ -260,6 +260,11 @@
<artifactId>slf4j-api</artifactId>
<version>1.6.4</version>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.10.0</version>
</dependency>
</dependencies>
@ -433,6 +438,49 @@
<scanIntervalSeconds>10</scanIntervalSeconds>
</configuration>
</plugin>
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<executions>
<execution>
<id>mindmap-generate</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<schemaDirectory>src/main/resources/</schemaDirectory>
<schemaIncludes>
<include>mindmap.xsd</include>
</schemaIncludes>
<bindingDirectory>src/main/resources/</bindingDirectory>
<bindingIncludes>
<include>mindmap.xjb</include>
</bindingIncludes>
<generatePackage>com.wisemapping.jaxb.mindmap</generatePackage>
<generateDirectory>${project.build.directory}/generated-sources/xjc1</generateDirectory>
</configuration>
</execution>
<execution>
<id>freemind-generate</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<schemaDirectory>src/main/resources/</schemaDirectory>
<schemaIncludes>
<include>freemind_0.9.0.xsd</include>
</schemaIncludes>
<bindingDirectory>src/main/resources/</bindingDirectory>
<bindingIncludes>
<include>freemind_0.9.0.xjb</include>
</bindingIncludes>
<generatePackage>com.wisemapping.jaxb.freemind</generatePackage>
<generateDirectory>${project.build.directory}/generated-sources/xjc2</generateDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@ -23,10 +23,10 @@ import com.wisemapping.importer.freemind.FreemindIconConverter;
import com.wisemapping.model.MindMap;
import com.wisemapping.model.ShapeStyle;
import com.wisemapping.util.JAXBUtils;
import com.wisemapping.xml.freemind.*;
import com.wisemapping.xml.mindmap.RelationshipType;
import com.wisemapping.xml.mindmap.TopicType;
import com.wisemapping.xml.mindmap.Icon;
import com.wisemapping.jaxb.freemind.*;
import com.wisemapping.jaxb.mindmap.RelationshipType;
import com.wisemapping.jaxb.mindmap.TopicType;
import com.wisemapping.jaxb.mindmap.Icon;
import org.jetbrains.annotations.NotNull;
import javax.xml.bind.JAXBException;
@ -43,7 +43,7 @@ public class FreemindExporter
private static final String FREE_MIND_VERSION = "0.9.0";
private static final String POSITION_LEFT = "left";
private static final String POSITION_RIGHT = "right";
private com.wisemapping.xml.freemind.ObjectFactory objectFactory;
private com.wisemapping.jaxb.freemind.ObjectFactory objectFactory;
private static final String EMPTY_FONT_STYLE = ";;;;;";
private Map<String, Node> nodesMap = null;
@ -54,15 +54,15 @@ public class FreemindExporter
public void export(byte[] xml, OutputStream outputStream) throws ExportException {
objectFactory = new com.wisemapping.xml.freemind.ObjectFactory();
objectFactory = new com.wisemapping.jaxb.freemind.ObjectFactory();
nodesMap = new HashMap<String, Node>();
final com.wisemapping.xml.mindmap.Map mindmapMap;
final com.wisemapping.jaxb.mindmap.Map mindmapMap;
try {
final ByteArrayInputStream stream = new ByteArrayInputStream(xml);
mindmapMap = (com.wisemapping.xml.mindmap.Map) JAXBUtils.getMapObject(stream, "com.wisemapping.xml.mindmap");
mindmapMap = (com.wisemapping.jaxb.mindmap.Map) JAXBUtils.getMapObject(stream, "com.wisemapping.jaxb.mindmap");
final com.wisemapping.xml.freemind.Map freemindMap = objectFactory.createMap();
final com.wisemapping.jaxb.freemind.Map freemindMap = objectFactory.createMap();
freemindMap.setVersion(FREE_MIND_VERSION);
@ -94,17 +94,17 @@ public class FreemindExporter
Arrowlink arrowlink = objectFactory.createArrowlink();
Node dstNode = nodesMap.get(relationship.getDestTopicId());
arrowlink.setDESTINATION(dstNode.getID());
if (relationship.isEndArrow()!=null && relationship.isEndArrow())
if (relationship.isEndArrow() != null && relationship.isEndArrow())
arrowlink.setENDARROW("Default");
if (relationship.isStartArrow()!=null && relationship.isStartArrow())
if (relationship.isStartArrow() != null && relationship.isStartArrow())
arrowlink.setSTARTARROW("Default");
List<Object> cloudOrEdge = srcNode.getArrowlinkOrCloudOrEdge();
cloudOrEdge.add(arrowlink);
}
JAXBUtils.saveMap(freemindMap, outputStream, "com.wisemapping.xml.freemind");
JAXBUtils.saveMap(freemindMap, outputStream, "com.wisemapping.jaxb.freemind");
} catch (JAXBException e) {
throw new ExportException(e);
}
@ -128,9 +128,14 @@ public class FreemindExporter
}
}
private void setTopicPropertiesToNode(@NotNull com.wisemapping.xml.freemind.Node freemindNode, @NotNull com.wisemapping.xml.mindmap.TopicType mindmapTopic, boolean isRoot) {
private void setTopicPropertiesToNode(@NotNull com.wisemapping.jaxb.freemind.Node freemindNode, @NotNull com.wisemapping.jaxb.mindmap.TopicType mindmapTopic, boolean isRoot) {
freemindNode.setID("ID_" + mindmapTopic.getId());
freemindNode.setTEXT(mindmapTopic.getText());
String text = mindmapTopic.getTextAttr();
if (text == null || text.isEmpty()) {
text = mindmapTopic.getText();
}
freemindNode.setTEXT(text);
freemindNode.setBACKGROUNDCOLOR(mindmapTopic.getBgColor());
final String shape = mindmapTopic.getShape();
@ -144,33 +149,24 @@ public class FreemindExporter
freemindNode.setSTYLE(style);
}
addIconNode(freemindNode, mindmapTopic);
addLinkNode(freemindNode, mindmapTopic);
addFontNode(freemindNode, mindmapTopic);
addEdgeNode(freemindNode, mindmapTopic);
addNote(freemindNode, mindmapTopic);
final String position = mindmapTopic.getPosition();
if (position != null && !position.isEmpty()) {
freemindNode.setWcoords(position);
}
final Integer order = mindmapTopic.getOrder();
if (order != null) {
freemindNode.setWorder(BigInteger.valueOf(order));
}
Boolean shrink = mindmapTopic.isShrink();
if (shrink != null && shrink)
freemindNode.setFOLDED(String.valueOf(shrink));
}
}
private void addNote(com.wisemapping.xml.freemind.Node freemindNode, com.wisemapping.xml.mindmap.TopicType mindmapTopic) {
private void addNote(com.wisemapping.jaxb.freemind.Node freemindNode, com.wisemapping.jaxb.mindmap.TopicType mindmapTopic) {
if (mindmapTopic.getNote() != null) {
final Hook note = new Hook();
String textNote = mindmapTopic.getNote().getText();
String textNote = mindmapTopic.getNote().getTextAttr();
if (textNote == null || textNote.isEmpty()) {
textNote = mindmapTopic.getNote().getText();
}
textNote = textNote.replaceAll("%0A", "\n");
note.setNAME("accessories/plugins/NodeNote.properties");
note.setText(textNote);
@ -178,14 +174,14 @@ public class FreemindExporter
}
}
private void addLinkNode(com.wisemapping.xml.freemind.Node freemindNode, com.wisemapping.xml.mindmap.TopicType mindmapTopic) {
private void addLinkNode(com.wisemapping.jaxb.freemind.Node freemindNode, com.wisemapping.jaxb.mindmap.TopicType mindmapTopic) {
if (mindmapTopic.getLink() != null) {
final String url = mindmapTopic.getLink().getUrl();
freemindNode.setLINK(url);
}
}
private void addIconNode(com.wisemapping.xml.freemind.Node freemindNode, com.wisemapping.xml.mindmap.TopicType mindmapTopic) {
private void addIconNode(com.wisemapping.jaxb.freemind.Node freemindNode, com.wisemapping.jaxb.mindmap.TopicType mindmapTopic) {
if (mindmapTopic.getIcon() != null) {
final List<Icon> iconsList = mindmapTopic.getIcon();
for (Icon icon : iconsList) {
@ -193,7 +189,7 @@ public class FreemindExporter
final String freemindIconId = FreemindIconConverter.toFreemindId(id);
if (freemindIconId != null) {
com.wisemapping.xml.freemind.Icon freemindIcon = new com.wisemapping.xml.freemind.Icon();
com.wisemapping.jaxb.freemind.Icon freemindIcon = new com.wisemapping.jaxb.freemind.Icon();
freemindIcon.setBUILTIN(freemindIconId);
freemindNode.getArrowlinkOrCloudOrEdge().add(freemindIcon);
}
@ -201,7 +197,7 @@ public class FreemindExporter
}
}
private void addEdgeNode(com.wisemapping.xml.freemind.Node freemindNode, com.wisemapping.xml.mindmap.TopicType mindmapTopic) {
private void addEdgeNode(com.wisemapping.jaxb.freemind.Node freemindNode, com.wisemapping.jaxb.mindmap.TopicType mindmapTopic) {
if (mindmapTopic.getBrColor() != null) {
final Edge edgeNode = objectFactory.createEdge();
edgeNode.setCOLOR(mindmapTopic.getBrColor());
@ -214,7 +210,7 @@ public class FreemindExporter
* eg: Verdana;10;#ffffff;bold;italic;
*
*/
private void addFontNode(@NotNull com.wisemapping.xml.freemind.Node freemindNode, com.wisemapping.xml.mindmap.TopicType mindmapTopic) {
private void addFontNode(@NotNull com.wisemapping.jaxb.freemind.Node freemindNode, com.wisemapping.jaxb.mindmap.TopicType mindmapTopic) {
final String fontStyle = mindmapTopic.getFontStyle();
if (fontStyle != null && fontStyle.length() != 0) {
final Font font = objectFactory.createFont();

View File

@ -1,54 +1,55 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.wisemapping.importer;
import com.wisemapping.importer.freemind.FreemindImporter;
public class ImporterFactory
{
private static ImporterFactory instance = null;
private ImporterFactory() {}
public static ImporterFactory getInstance()
{
if (instance == null)
{
instance = new ImporterFactory();
}
return instance;
}
public Importer getImporter(ImportFormat format)
throws ImporterException
{
Importer importer;
switch (format)
{
case FREEMIND:
importer = new FreemindImporter();
break;
default:
throw new ImporterException("Invalid format type:" + format);
}
return importer;
}
}
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.wisemapping.importer;
import com.wisemapping.importer.freemind.FreemindImporter;
import org.jetbrains.annotations.NotNull;
public class ImporterFactory
{
private static ImporterFactory instance = null;
private ImporterFactory() {}
public static ImporterFactory getInstance()
{
if (instance == null)
{
instance = new ImporterFactory();
}
return instance;
}
public Importer getImporter(@NotNull ImportFormat format)
throws ImporterException
{
Importer importer;
switch (format)
{
case FREEMIND:
importer = new FreemindImporter();
break;
default:
throw new ImporterException("Invalid format type:" + format);
}
return importer;
}
}

View File

@ -0,0 +1,36 @@
package com.wisemapping.importer;
import java.io.OutputStream;
import org.apache.xml.serialize.OutputFormat;
import org.apache.xml.serialize.XMLSerializer;
import org.jetbrains.annotations.NotNull;
import org.w3c.dom.Document;
@SuppressWarnings("deprecation")
public class JaxbCDATAMarshaller {
public static XMLSerializer createMindmapXMLSerializer(@NotNull OutputStream out) {
// configure an OutputFormat to handle CDATA
OutputFormat of = new OutputFormat();
// specify which of your elements you want to be handled as CDATA.
// The use of the '^' between the namespaceURI and the localname
// seems to be an implementation detail of the xerces code.
// When processing xml that doesn't use namespaces, simply omit the
// namespace prefix as shown in the third CDataElement below.
of.setCDataElements(
new String[]{"^text"}); //
// set any other options you'd like
// of.setPreserveSpace(true);
of.setIndenting(true);
// create the serializer
XMLSerializer result = new XMLSerializer(of);
result.setOutputByteStream(out);
return result;
}
}

View File

@ -25,12 +25,12 @@ import com.wisemapping.importer.VersionNumber;
import com.wisemapping.model.MindMap;
import com.wisemapping.model.ShapeStyle;
import com.wisemapping.util.JAXBUtils;
import com.wisemapping.xml.freemind.*;
import com.wisemapping.xml.freemind.Map;
import com.wisemapping.xml.freemind.Node;
import com.wisemapping.xml.mindmap.RelationshipType;
import com.wisemapping.xml.mindmap.TopicType;
import com.wisemapping.xml.mindmap.Link;
import com.wisemapping.jaxb.freemind.*;
import com.wisemapping.jaxb.freemind.Map;
import com.wisemapping.jaxb.freemind.Node;
import com.wisemapping.jaxb.mindmap.RelationshipType;
import com.wisemapping.jaxb.mindmap.TopicType;
import com.wisemapping.jaxb.mindmap.Link;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.w3c.dom.*;
@ -46,12 +46,12 @@ import java.math.BigInteger;
public class FreemindImporter
implements Importer {
public static final String CODE_VERSION = "pela";
public static final String CODE_VERSION = "tango";
public static final int SECOND_LEVEL_TOPIC_HEIGHT = 25;
public static final int ROOT_LEVEL_TOPIC_HEIGHT = SECOND_LEVEL_TOPIC_HEIGHT;
public static final int CENTRAL_TO_TOPIC_DISTANCE = 200;
public static final int TOPIC_TO_TOPIC_DISTANCE = 90;
private com.wisemapping.xml.mindmap.ObjectFactory mindmapObjectFactory;
private com.wisemapping.jaxb.mindmap.ObjectFactory mindmapObjectFactory;
private static final String POSITION_LEFT = "left";
private static final String BOLD = "bold";
private static final String ITALIC = "italic";
@ -99,11 +99,11 @@ public class FreemindImporter
final MindMap result = new MindMap();
nodesMap = new HashMap<String, TopicType>();
relationships = new ArrayList<RelationshipType>();
mindmapObjectFactory = new com.wisemapping.xml.mindmap.ObjectFactory();
mindmapObjectFactory = new com.wisemapping.jaxb.mindmap.ObjectFactory();
try {
String wiseXml;
final Map freemindMap = (Map) JAXBUtils.getMapObject(input, "com.wisemapping.xml.freemind");
final Map freemindMap = (Map) JAXBUtils.getMapObject(input, "com.wisemapping.jaxb.freemind");
final String version = freemindMap.getVersion();
if (version != null) {
@ -116,7 +116,7 @@ public class FreemindImporter
final ByteArrayOutputStream baos = new ByteArrayOutputStream();
final com.wisemapping.xml.mindmap.Map mindmapMap = mindmapObjectFactory.createMap();
final com.wisemapping.jaxb.mindmap.Map mindmapMap = mindmapObjectFactory.createMap();
mindmapMap.setVersion(CODE_VERSION);
currentId = 0;
@ -137,7 +137,7 @@ public class FreemindImporter
convertChildNodes(freeNode, wiseTopic, 1);
addRelationships(mindmapMap);
JAXBUtils.saveMap(mindmapMap, baos, "com.wisemapping.xml.mindmap");
JAXBUtils.saveMap(mindmapMap, baos, "com.wisemapping.jaxb.mindmap");
wiseXml = new String(baos.toByteArray(), UTF_8_CHARSET);
@ -155,7 +155,7 @@ public class FreemindImporter
return result;
}
private void addRelationships(@NotNull com.wisemapping.xml.mindmap.Map mindmapMap) {
private void addRelationships(@NotNull com.wisemapping.jaxb.mindmap.Map mindmapMap) {
List<RelationshipType> mapRelationships = mindmapMap.getRelationship();
for (RelationshipType relationship : relationships) {
relationship.setId(String.valueOf(currentId++));
@ -270,14 +270,14 @@ public class FreemindImporter
String iconId = freemindIcon.getBUILTIN();
final String wiseIconId = FreemindIconConverter.toWiseId(iconId);
if (wiseIconId != null) {
final com.wisemapping.xml.mindmap.Icon mindmapIcon = new com.wisemapping.xml.mindmap.Icon();
final com.wisemapping.jaxb.mindmap.Icon mindmapIcon = new com.wisemapping.jaxb.mindmap.Icon();
mindmapIcon.setId(wiseIconId);
currentWiseTopic.getIcon().add(mindmapIcon);
}
} else if (element instanceof Hook) {
final Hook hook = (Hook) element;
final com.wisemapping.xml.mindmap.Note mindmapNote = new com.wisemapping.xml.mindmap.Note();
final com.wisemapping.jaxb.mindmap.Note mindmapNote = new com.wisemapping.jaxb.mindmap.Note();
String textNote = hook.getText();
if (textNote == null) // It is not a note is a BlinkingNodeHook or AutomaticLayout Hook
{
@ -291,13 +291,11 @@ public class FreemindImporter
if (type.equals("NODE")) {
String text = getText(content);
text = text.replaceAll("\n", "");
text = text.trim();
currentWiseTopic.setText(text);
} else {
String text = getRichContent(content);
final com.wisemapping.xml.mindmap.Note mindmapNote = new com.wisemapping.xml.mindmap.Note();
text = text != null ? text.replaceAll("\n", "%0A") : EMPTY_NOTE;
final com.wisemapping.jaxb.mindmap.Note mindmapNote = new com.wisemapping.jaxb.mindmap.Note();
text = text != null ? text : EMPTY_NOTE;
mindmapNote.setText(text);
currentWiseTopic.setNote(mindmapNote);
@ -347,41 +345,36 @@ public class FreemindImporter
final List<Node> nodes = new ArrayList<Node>();
int result;
if (freeChild.getWorder() != null) {
result = freeChild.getWorder().intValue();
// Collect all the nodes of the same side ...
for (Object child : freeChilden) {
if (child instanceof Node) {
Node node = (Node) child;
final String side = node.getPOSITION();
if (freeChild.getPOSITION().equals(side)) {
nodes.add(node);
}
}
}
// What is the index of the current node ?
int nodeIndex = 0;
for (Node node : nodes) {
if (node == freeChild) {
break;
}
nodeIndex++;
}
int size = nodes.size();
int center = (size - 1) / 2;
result = nodeIndex - center;
if (result < 0) {
result = (result * ORDER_SEPARATION_FACTOR * -2) - 1;
} else {
// Collect all the nodes of the same side ...
for (Object child : freeChilden) {
if (child instanceof Node) {
Node node = (Node) child;
final String side = node.getPOSITION();
if (freeChild.getPOSITION().equals(side)) {
nodes.add(node);
}
}
}
// What is the index of the current node ?
int nodeIndex = 0;
for (Node node : nodes) {
if (node == freeChild) {
break;
}
nodeIndex++;
}
int size = nodes.size();
int center = (size - 1) / 2;
result = nodeIndex - center;
if (result < 0) {
result = (result * ORDER_SEPARATION_FACTOR * -2) - 1;
} else {
result = result * ORDER_SEPARATION_FACTOR * 2;
}
result = result * ORDER_SEPARATION_FACTOR * 2;
}
return result;
}
@ -396,53 +389,50 @@ public class FreemindImporter
String convertPosition(@NotNull TopicType wiseParent, @NotNull Node freeChild, final int depth, int order, int childrenCount) {
// Which side must be the node be positioned ?
String result = freeChild.getWcoords();
if (result == null) {
// Calculate X ...
// Calculate X ...
// Problem on setting X position:
// Text Size is not taken into account ...
int x = CENTRAL_TO_TOPIC_DISTANCE + ((depth - 1) * TOPIC_TO_TOPIC_DISTANCE);
if (depth == 1) {
// Problem on setting X position:
// Text Size is not taken into account ...
int x = CENTRAL_TO_TOPIC_DISTANCE + ((depth - 1) * TOPIC_TO_TOPIC_DISTANCE);
if (depth == 1) {
final String side = freeChild.getPOSITION();
assert side != null : "This should not happen";
x = x * (POSITION_LEFT.equals(side) ? -1 : 1);
final String side = freeChild.getPOSITION();
assert side != null : "This should not happen";
x = x * (POSITION_LEFT.equals(side) ? -1 : 1);
} else {
final Coord coord = Coord.parse(wiseParent.getPosition());
x = x * (coord.isOnLeftSide() ? -1 : 1);
}
// Calculate y ...
int y;
if (depth == 1) {
// Follow the following algorithm ...
// Order: 3 = -100 1
// Order: 1 = -50 2
// Order: 0 = 0 3
// Order: 2 = 50 4
// Order: 4 = 100 5
if (order % 2 == 0) {
y = ROOT_LEVEL_TOPIC_HEIGHT * order;
} else {
final Coord coord = Coord.parse(wiseParent.getPosition());
x = x * (coord.isOnLeftSide() ? -1 : 1);
y = -ROOT_LEVEL_TOPIC_HEIGHT * (order + 1);
}
} else {
// Problem: What happen if the node is more tall than what is defined here.
Coord coord = Coord.parse(wiseParent.getPosition());
int parentY = coord.y;
y = parentY - ((childrenCount / 2) * SECOND_LEVEL_TOPIC_HEIGHT - (order * SECOND_LEVEL_TOPIC_HEIGHT));
// Calculate y ...
int y;
if (depth == 1) {
// Follow the following algorithm ...
// Order: 3 = -100 1
// Order: 1 = -50 2
// Order: 0 = 0 3
// Order: 2 = 50 4
// Order: 4 = 100 5
if (order % 2 == 0) {
y = ROOT_LEVEL_TOPIC_HEIGHT * order;
} else {
y = -ROOT_LEVEL_TOPIC_HEIGHT * (order + 1);
}
} else {
// Problem: What happen if the node is more tall than what is defined here.
Coord coord = Coord.parse(wiseParent.getPosition());
int parentY = coord.y;
y = parentY - ((childrenCount / 2) * SECOND_LEVEL_TOPIC_HEIGHT - (order * SECOND_LEVEL_TOPIC_HEIGHT));
}
result = x + "," + y;
}
return result;
return x + "," + y;
}
/**
@ -546,7 +536,7 @@ public class FreemindImporter
return text.toString();
}
private void convertNodeProperties(@NotNull com.wisemapping.xml.freemind.Node freeNode, @NotNull com.wisemapping.xml.mindmap.TopicType wiseTopic) {
private void convertNodeProperties(@NotNull com.wisemapping.jaxb.freemind.Node freeNode, @NotNull com.wisemapping.jaxb.mindmap.TopicType wiseTopic) {
final String text = freeNode.getTEXT();
wiseTopic.setText(text);

View File

@ -1,147 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<xs:element name="ellipse">
<xs:complexType>
<xs:attribute name="visibility" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="hidden"/>
<xs:enumeration value="visible"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="ry" type="xs:float" use="required"/>
<xs:attribute name="width" type="xs:float" use="required"/>
<xs:attribute name="rx" type="xs:float" use="required"/>
<xs:attribute name="cy" use="required" type="xs:float"/>
<xs:attribute name="cx" use="required" type="xs:float"/>
<xs:attribute name="stroke-width" type="xs:NMTOKEN" use="required"/>
<xs:attribute name="height" type="xs:float" use="required"/>
<xs:attribute name="fill" type="xs:string" use="required" fixed="#E0E5EF"/>
<xs:attribute name="stroke" type="xs:string" use="required" fixed="#023BB9"/>
</xs:complexType>
</xs:element>
<xs:element name="g">
<xs:complexType>
<xs:choice>
<xs:element ref="svg:ellipse"/>
<xs:element ref="svg:line"/>
<xs:element ref="svg:rect"/>
<xs:element ref="svg:text"/>
</xs:choice>
<xs:attribute name="height" type="xs:NMTOKEN" use="required" fixed="100"/>
<xs:attribute name="transform" type="xs:string" use="required"/>
<xs:attribute name="width" type="xs:NMTOKEN" use="required" fixed="100"/>
<xs:attribute name="preserveAspectRatio" type="xs:NMTOKEN" use="required" fixed="none"/>
<xs:attribute name="focusable" type="xs:NMTOKEN" use="required" fixed="true"/>
</xs:complexType>
</xs:element>
<xs:element name="line">
<xs:complexType>
<xs:attribute name="style" type="xs:string" use="optional"/>
<xs:attribute name="visibility" use="optional">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="hidden"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="stroke-opacity" type="xs:NMTOKEN" use="optional"/>
<xs:attribute name="fill-opacity" type="xs:NMTOKEN" use="optional"/>
<xs:attribute name="x1" use="required" type="xs:float"/>
<xs:attribute name="y1" use="required" type="xs:float"/>
<xs:attribute name="x2" use="required" type="xs:float"/>
<xs:attribute name="y2" use="required" type="xs:float"/>
<xs:attribute name="stroke-width" type="xs:NMTOKEN" use="required" fixed="1px"/>
<xs:attribute name="stroke" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="polyline">
<xs:complexType>
<xs:attribute name="fill-opacity" type="xs:NMTOKEN" use="optional"/>
<xs:attribute name="visibility" type="xs:NMTOKEN" use="optional"/>
<xs:attribute name="stroke-width" type="xs:NMTOKEN" use="required" fixed="1px"/>
<xs:attribute name="points" type="xs:string" use="optional"/>
<xs:attribute name="stroke-opacity" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="0.4"/>
<xs:enumeration value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="stroke" type="xs:string" use="required"/>
<xs:attribute name="fill" type="xs:NMTOKEN" use="required" fixed="none"/>
</xs:complexType>
</xs:element>
<xs:element name="rect">
<xs:complexType>
<xs:attribute name="visibility" type="xs:NMTOKEN" use="optional"/>
<xs:attribute name="style" type="xs:string" use="optional"/>
<xs:attribute name="ry" use="optional" type="xs:float"/>
<xs:attribute name="width" type="xs:NMTOKEN" use="required"/>
<xs:attribute name="rx" use="optional" type="xs:float"/>
<xs:attribute name="stroke-opacity" use="optional" type="xs:float"/>
<xs:attribute name="fill-opacity" use="optional" type="xs:float"/>
<xs:attribute name="y" use="required" type="xs:float"/>
<xs:attribute name="x" use="required" type="xs:float"/>
<xs:attribute name="stroke-width" use="required" type="xs:string"/>
<xs:attribute name="height" use="required" type="xs:float"/>
<xs:attribute name="fill" type="xs:string" use="required"/>
<xs:attribute name="stroke" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="svg">
<xs:complexType>
<xs:sequence>
<xs:element ref="svg:polyline" maxOccurs="unbounded"/>
<xs:element ref="svg:line" maxOccurs="unbounded"/>
<xs:element ref="svg:g" maxOccurs="unbounded"/>
<xs:element ref="svg:rect" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="height" type="xs:NMTOKEN" use="required"/>
<xs:attribute name="width" type="xs:NMTOKEN" use="required"/>
<xs:attribute name="viewBox" type="xs:string" use="required"/>
<xs:attribute name="preserveAspectRatio" type="xs:NMTOKEN" use="required"/>
<xs:attribute name="focusable" type="xs:NMTOKEN" use="required"/>
<xs:attribute name="id" type="xs:NMTOKEN" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="text">
<xs:complexType mixed="true">
<xs:attribute name="font-style" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="italic"/>
<xs:enumeration value="normal"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="style" type="xs:string" use="required"/>
<xs:attribute name="font-size" use="required" type="xs:float"/>
<xs:attribute name="font-family" type="xs:NMTOKEN" use="required" fixed="verdana"/>
<xs:attribute name="font-weight" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="bold"/>
<xs:enumeration value="normal"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="y" use="required" type="xs:float"/>
<xs:attribute name="focusable" type="xs:NMTOKEN" use="required" fixed="true"/>
<xs:attribute name="x" use="required" type="xs:float"/>
<xs:attribute name="fill" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -1,171 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://mindmap.com/xml/vmlmap"
xmlns:v="http://mindmap.com/xml/vmlmap">
<xs:complexType name="element">
<xs:attribute name="style" type="xs:string" use="optional"/>
<xs:attribute name="strokecolor" type="xs:string" use="required"/>
<xs:attribute name="fillcolor" type="xs:string" use="optional"/>
<xs:attribute name="strokeweight" type="xs:string" use="optional"/>
<xs:attribute name="opacity" use="optional" type="xs:string"/>
</xs:complexType>
<xs:element name="fill">
<xs:complexType>
<xs:attribute name="opacity" use="optional" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="group">
<xs:complexType>
<xs:complexContent>
<xs:extension base="v:element">
<xs:choice>
<xs:element ref="v:group" maxOccurs="unbounded"/>
<xs:element ref="v:line" maxOccurs="unbounded"/>
<xs:element ref="v:oval" maxOccurs="unbounded"/>
<xs:element ref="v:polyline" maxOccurs="unbounded"/>
<xs:element ref="v:rect" maxOccurs="unbounded"/>
<xs:element ref="v:roundrect" maxOccurs="unbounded"/>
<xs:element ref="v:shape" maxOccurs="unbounded"/>
</xs:choice>
<xs:attribute name="coordorigin" type="xs:string" use="optional"/>
<xs:attribute name="coordsize" type="xs:string" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="line">
<xs:complexType>
<xs:complexContent>
<xs:extension base="v:element">
<xs:sequence>
<xs:element ref="v:stroke"/>
<xs:element ref="v:fill" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="stroked" type="xs:NMTOKEN" use="required" fixed="t"/>
<xs:attribute name="to" type="xs:string" use="required"/>
<xs:attribute name="from" type="xs:string" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="oval">
<xs:complexType>
<xs:complexContent>
<xs:extension base="v:element">
<xs:sequence>
<xs:element ref="v:stroke"/>
<xs:element ref="v:fill"/>
</xs:sequence>
<xs:attribute name="coordsize" type="xs:string" use="required" fixed="21600,21600"/>
<xs:attribute name="stroked" type="xs:NMTOKEN" use="required" fixed="t"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="polyline">
<xs:complexType>
<xs:complexContent>
<xs:extension base="v:element">
<xs:sequence>
<xs:element ref="v:stroke"/>
<xs:element ref="v:fill" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="points" type="xs:string" use="optional"/>
<xs:attribute name="xPoints" type="xs:string" use="optional"/>
<xs:attribute name="filled" type="xs:NMTOKEN" use="required" fixed="f"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="rect">
<xs:complexType>
<xs:complexContent>
<xs:extension base="v:element">
<xs:sequence>
<xs:element ref="v:stroke"/>
<xs:element ref="v:fill"/>
</xs:sequence>
<xs:attribute name="coordsize" type="xs:string" use="required"/>
<xs:attribute name="stroked" type="xs:NMTOKEN" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="roundrect">
<xs:complexType>
<xs:complexContent>
<xs:extension base="v:element">
<xs:sequence>
<xs:element ref="v:stroke"/>
<xs:element ref="v:fill"/>
</xs:sequence>
<xs:attribute name="arcsize" type="xs:NMTOKEN" use="required" fixed="9830f"/>
<xs:attribute name="coordsize" type="xs:string" use="required" fixed="21600,21600"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="shape">
<xs:complexType>
<xs:complexContent>
<xs:extension base="v:element">
<xs:sequence>
<xs:element ref="v:textbox"/>
</xs:sequence>
<xs:attribute name="coordsize" type="xs:string" use="required" fixed="100,100"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="stroke">
<xs:complexType>
<xs:attribute name="dashstyle" use="optional">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="solid"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="textbox">
<xs:complexType>
<xs:complexContent>
<xs:extension base="v:element">
<xs:sequence>
<xs:element name="SPAN">
<xs:complexType>
<xs:sequence>
<xs:element name="SPAN" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="inset" type="xs:string" use="required" fixed="0,0,0,0"/>
<xs:attribute name="xFontScale" type="xs:float" use="required"/>
<xs:attribute name="xTextSize" type="xs:string" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -1,228 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox="-433.65 -228.9 867.3 457.8"
height="654" width="1239" id="workspace" focusable="true">
<polyline points="173.5,100 183.5,100 183.5,129 188.5,134 240,134" stroke-opacity="1" stroke="#495879"
stroke-width="1px" fill="none"></polyline>
<polyline points="173.5,100 183.5,100 183.5,105 188.5,110 240,110" stroke-opacity="1" stroke="#495879"
stroke-width="1px" fill="none"></polyline>
<polyline points="173.5,100 183.5,100 183.5,91 188.5,86 240,86" stroke-opacity="1" stroke="#495879"
stroke-width="1px" fill="none"></polyline>
<polyline points="173.5,100 183.5,100 183.5,67 188.5,62 240,62" stroke-opacity="1" stroke="#495879"
stroke-width="1px" fill="none"></polyline>
<line y1="0" x1="0" y2="100" x2="-175" stroke="#495879" stroke-width="1px"></line>
<polyline points="-229.5,-150 -239.5,-150 -239.5,-121 -244.5,-116 -296,-116" stroke-opacity="1" stroke="#495879"
stroke-width="1px" fill="none"></polyline>
<polyline points="-229.5,-150 -239.5,-150 -239.5,-145 -244.5,-140 -296,-140" stroke-opacity="1" stroke="#495879"
stroke-width="1px" fill="none"></polyline>
<polyline points="-229.5,-150 -239.5,-150 -239.5,-159 -244.5,-164 -296,-164" stroke-opacity="1" stroke="#495879"
stroke-width="1px" fill="none"></polyline>
<polyline points="-229.5,-150 -239.5,-150 -239.5,-183 -244.5,-188 -296,-188" stroke-opacity="1" stroke="#495879"
stroke-width="1px" fill="none"></polyline>
<line y1="0" x1="0" y2="-150" x2="-163.5" stroke="#495879" stroke-width="1px"></line>
<polyline points="206.5,0 216.5,0 216.5,29 221.5,34 261.5,34" stroke-opacity="1" stroke="#495879" stroke-width="1px"
fill="none"></polyline>
<polyline points="206.5,0 216.5,0 216.5,5 221.5,10 263,10" stroke-opacity="1" stroke="#495879" stroke-width="1px"
fill="none"></polyline>
<polyline points="206.5,0 216.5,0 216.5,-9 221.5,-14 261.5,-14" stroke-opacity="1" stroke="#495879"
stroke-width="1px" fill="none"></polyline>
<polyline points="206.5,0 216.5,0 216.5,-33 221.5,-38 263,-38" stroke-opacity="1" stroke="#495879"
stroke-width="1px" fill="none"></polyline>
<line y1="0" x1="0" y2="0" x2="140.5" stroke="#495879" stroke-width="1px"></line>
<rect visibility="hidden" fill-opacity="0.4" stroke-opacity="0.4" fill="#CC0033;" stroke="#FF9933;"
stroke-width="1px" y="5" x="5" height="10" width="50"></rect>
<polyline visibility="hidden" fill-opacity="0.4" stroke-opacity="0.4" stroke="#CC0033;" stroke-width="1px"
fill="none"></polyline>
<line visibility="hidden" fill-opacity="0.4" stroke-opacity="0.4" stroke="#CC0033;" stroke-width="1px"></line>
<rect visibility="hidden" fill-opacity="0.4" stroke-opacity="0.4" fill="#CC0033;" stroke="#FF9933;"
stroke-width="1px" y="5" x="5" height="10" width="50"></rect>
<g transform="translate(225, -52) scale(1, 1)" height="100" width="100" focusable="true" preserveAspectRatio="none">
<rect fill-opacity="0" stroke-opacity="0" fill="#dbe2e6" stroke="#77555a" stroke-width="1px" y="-3" x="-2"
ry="3" rx="3" height="20" width="42"></rect>
<ellipse stroke="#023BB9" visibility="hidden" fill="#E0E5EF" stroke-width="0.5px" cy="3" cx="3" ry="3" rx="3"
height="6" width="6"></ellipse>
<line y2="14" x2="39" y1="14" x1="-1" visibility="hidden" style="cursor: move;" stroke="#495879"
stroke-width="1px"></line>
<text x="3" y="9" style="cursor: move;" fill="#525c61" font-weight="normal" font-style="normal"
font-size="8.0625" font-family="verdana" focusable="true">Node 0
</text>
</g>
<g transform="translate(225, -28) scale(1, 1)" height="100" width="100" focusable="true" preserveAspectRatio="none">
<rect fill-opacity="0" stroke-opacity="0" fill="#dbe2e6" stroke="#77555a" stroke-width="1px" y="-3" x="-2"
ry="3" rx="3" height="20" width="41"></rect>
<ellipse stroke="#023BB9" visibility="hidden" fill="#E0E5EF" stroke-width="0.5px" cy="3" cx="3" ry="3" rx="3"
height="6" width="6"></ellipse>
<line y2="14" x2="38" y1="14" x1="-1" visibility="hidden" style="cursor: move;" stroke="#495879"
stroke-width="1px"></line>
<text x="3" y="9" style="cursor: move;" fill="#525c61" font-weight="normal" font-style="normal"
font-size="8.0625" font-family="verdana" focusable="true">Node 1
</text>
</g>
<g transform="translate(225, -4) scale(1, 1)" height="100" width="100" focusable="true" preserveAspectRatio="none">
<rect fill-opacity="0" stroke-opacity="0" fill="#dbe2e6" stroke="#77555a" stroke-width="1px" y="-3" x="-2"
ry="3" rx="3" height="20" width="42"></rect>
<ellipse stroke="#023BB9" visibility="hidden" fill="#E0E5EF" stroke-width="0.5px" cy="3" cx="3" ry="3" rx="3"
height="6" width="6"></ellipse>
<line y2="14" x2="39" y1="14" x1="-1" visibility="hidden" style="cursor: move;" stroke="#495879"
stroke-width="1px"></line>
<text x="3" y="9" style="cursor: move;" fill="#525c61" font-weight="normal" font-style="normal"
font-size="8.0625" font-family="verdana" focusable="true">Node 2
</text>
</g>
<g transform="translate(225, 20) scale(1, 1)" height="100" width="100" focusable="true" preserveAspectRatio="none">
<rect fill-opacity="0" stroke-opacity="0" fill="#dbe2e6" stroke="#77555a" stroke-width="1px" y="-3" x="-2"
ry="3" rx="3" height="20" width="41"></rect>
<ellipse stroke="#023BB9" visibility="hidden" fill="#E0E5EF" stroke-width="0.5px" cy="3" cx="3" ry="3" rx="3"
height="6" width="6"></ellipse>
<line y2="14" x2="38" y1="14" x1="-1" visibility="hidden" style="cursor: move;" stroke="#495879"
stroke-width="1px"></line>
<text x="3" y="9" style="cursor: move;" fill="#525c61" font-weight="normal" font-style="normal"
font-size="8.0625" font-family="verdana" focusable="true">Node 3
</text>
</g>
<g transform="translate(139, -9) scale(1, 1)" height="100" width="100" focusable="true" preserveAspectRatio="none">
<rect fill-opacity="0" stroke-opacity="0" fill="#dbe2e6" stroke="#77555a" stroke-width="1px" y="-3" x="-2"
ry="3.6" rx="3.6" height="24" width="71"></rect>
<rect style="cursor: move;" fill="#E0E5EF" stroke="#023BB9" stroke-width="0.5px" y="0" x="0" ry="2.7" rx="2.7"
height="18" width="67"></rect>
<text x="4" y="12" style="cursor: move;" fill="#525c61" font-weight="normal" font-style="normal"
font-size="10.75" font-family="verdana" focusable="true">Main Topic
</text>
<ellipse stroke="#023BB9" visibility="visible" fill="#E0E5EF" stroke-width="0.5px" cy="9" cx="70" ry="3" rx="3"
height="6" width="6"></ellipse>
</g>
<g transform="translate(-296, -202) scale(1, 1)" height="100" width="100" focusable="true"
preserveAspectRatio="none">
<rect fill-opacity="0" stroke-opacity="0" fill="#dbe2e6" stroke="#77555a" stroke-width="1px" y="-3" x="-2"
ry="3" rx="3" height="20" width="52"></rect>
<ellipse stroke="#023BB9" visibility="hidden" fill="#E0E5EF" stroke-width="0.5px" cy="3" cx="3" ry="3" rx="3"
height="6" width="6"></ellipse>
<line y2="14" x2="49" y1="14" x1="-1" visibility="hidden" style="cursor: move;" stroke="#495879"
stroke-width="1px"></line>
<text x="3" y="9" style="cursor: move;" fill="#525c61" font-weight="normal" font-style="normal"
font-size="8.0625" font-family="verdana" focusable="true">Sub Topic
</text>
</g>
<g transform="translate(-296, -178) scale(1, 1)" height="100" width="100" focusable="true"
preserveAspectRatio="none">
<rect fill-opacity="0" stroke-opacity="0" fill="#dbe2e6" stroke="#77555a" stroke-width="1px" y="-3" x="-2"
ry="3" rx="3" height="20" width="52"></rect>
<ellipse stroke="#023BB9" visibility="hidden" fill="#E0E5EF" stroke-width="0.5px" cy="3" cx="3" ry="3" rx="3"
height="6" width="6"></ellipse>
<line y2="14" x2="49" y1="14" x1="-1" visibility="hidden" style="cursor: move;" stroke="#495879"
stroke-width="1px"></line>
<text x="3" y="9" style="cursor: move;" fill="#525c61" font-weight="normal" font-style="normal"
font-size="8.0625" font-family="verdana" focusable="true">Sub Topic
</text>
</g>
<g transform="translate(-296, -154) scale(1, 1)" height="100" width="100" focusable="true"
preserveAspectRatio="none">
<rect fill-opacity="0" stroke-opacity="0" fill="#dbe2e6" stroke="#77555a" stroke-width="1px" y="-3" x="-2"
ry="3" rx="3" height="20" width="52"></rect>
<ellipse stroke="#023BB9" visibility="hidden" fill="#E0E5EF" stroke-width="0.5px" cy="3" cx="3" ry="3" rx="3"
height="6" width="6"></ellipse>
<line y2="14" x2="49" y1="14" x1="-1" visibility="hidden" style="cursor: move;" stroke="#495879"
stroke-width="1px"></line>
<text x="3" y="9" style="cursor: move;" fill="#525c61" font-weight="normal" font-style="normal"
font-size="8.0625" font-family="verdana" focusable="true">Sub Topic
</text>
</g>
<g transform="translate(-296, -130) scale(1, 1)" height="100" width="100" focusable="true"
preserveAspectRatio="none">
<rect fill-opacity="0" stroke-opacity="0" fill="#dbe2e6" stroke="#77555a" stroke-width="1px" y="-3" x="-2"
ry="3" rx="3" height="20" width="52"></rect>
<ellipse stroke="#023BB9" visibility="hidden" fill="#E0E5EF" stroke-width="0.5px" cy="3" cx="3" ry="3" rx="3"
height="6" width="6"></ellipse>
<line y2="14" x2="49" y1="14" x1="-1" visibility="hidden" style="cursor: move;" stroke="#495879"
stroke-width="1px"></line>
<text x="3" y="9" style="cursor: move;" fill="#525c61" font-weight="normal" font-style="normal"
font-size="8.0625" font-family="verdana" focusable="true">Sub Topic
</text>
</g>
<g transform="translate(-229, -159) scale(1, 1)" height="100" width="100" focusable="true"
preserveAspectRatio="none">
<rect fill-opacity="0" stroke-opacity="0" fill="#dbe2e6" stroke="#77555a" stroke-width="1px" y="-3" x="-2"
ry="3.6" rx="3.6" height="24" width="71"></rect>
<rect style="cursor: move;" fill="#E0E5EF" stroke="#023BB9" stroke-width="0.5px" y="0" x="0" ry="2.7" rx="2.7"
height="18" width="67"></rect>
<text x="4" y="12" style="cursor: move;" fill="#525c61" font-weight="normal" font-style="normal"
font-size="10.75" font-family="verdana" focusable="true">Main Topic
</text>
<ellipse stroke="#023BB9" visibility="visible" fill="#E0E5EF" stroke-width="0.5px" cy="9" cx="-3" ry="3" rx="3"
height="6" width="6"></ellipse>
</g>
<g transform="translate(-241, 91) scale(1, 1)" height="100" width="100" focusable="true" preserveAspectRatio="none">
<rect fill-opacity="0" stroke-opacity="0" fill="#dbe2e6" stroke="#77555a" stroke-width="1px" y="-3" x="-2"
ry="3.6" rx="3.6" height="24" width="72"></rect>
<rect style="cursor: move;" fill="#E0E5EF" stroke="#023BB9" stroke-width="0.5px" y="0" x="0" ry="2.7" rx="2.7"
height="18" width="68"></rect>
<text x="4" y="12" style="cursor: move;" fill="#00cccc" font-weight="normal" font-style="italic"
font-size="10.75" font-family="verdana" focusable="true">Main Topic
</text>
<ellipse stroke="#023BB9" visibility="hidden" fill="#E0E5EF" stroke-width="0.5px" cy="3" cx="3" ry="3" rx="3"
height="6" width="6"></ellipse>
</g>
<g transform="translate(-58, -15) scale(1, 1)" height="100" width="100" focusable="true" preserveAspectRatio="none">
<rect fill-opacity="0" stroke-opacity="0" fill="#dbe2e6" stroke="#77555a" stroke-width="1px" y="-3" x="-2"
ry="5.55" rx="5.55" height="37" width="120"></rect>
<rect style="cursor: default;" stroke="#023BB9" fill="#f7f7f7" stroke-width="0.5px" y="0" x="0" ry="4.65"
rx="4.65" height="31" width="116"></rect>
<text x="9" y="19" style="cursor: default;" fill="#023BB9" font-weight="bold" font-style="normal"
font-size="13.4375" font-family="verdana" focusable="true">Central Topic
</text>
</g>
<g transform="translate(192, 48) scale(1, 1)" height="100" width="100" focusable="true" preserveAspectRatio="none">
<rect fill-opacity="0" stroke-opacity="0" fill="#dbe2e6" stroke="#77555a" stroke-width="1px" y="-3" x="-2"
ry="3" rx="3" height="20" width="52"></rect>
<ellipse stroke="#023BB9" visibility="hidden" fill="#E0E5EF" stroke-width="0.5px" cy="3" cx="3" ry="3" rx="3"
height="6" width="6"></ellipse>
<line y2="14" x2="49" y1="14" x1="-1" visibility="hidden" style="cursor: move;" stroke="#495879"
stroke-width="1px"></line>
<text x="3" y="9" style="cursor: move;" fill="#525c61" font-weight="normal" font-style="normal"
font-size="8.0625" font-family="verdana" focusable="true">Sub Topic
</text>
</g>
<g transform="translate(192, 72) scale(1, 1)" height="100" width="100" focusable="true" preserveAspectRatio="none">
<rect fill-opacity="0" stroke-opacity="0" fill="#dbe2e6" stroke="#77555a" stroke-width="1px" y="-3" x="-2"
ry="3" rx="3" height="20" width="52"></rect>
<ellipse stroke="#023BB9" visibility="hidden" fill="#E0E5EF" stroke-width="0.5px" cy="3" cx="3" ry="3" rx="3"
height="6" width="6"></ellipse>
<line y2="14" x2="49" y1="14" x1="-1" visibility="hidden" style="cursor: move;" stroke="#495879"
stroke-width="1px"></line>
<text x="3" y="9" style="cursor: move;" fill="#525c61" font-weight="normal" font-style="normal"
font-size="8.0625" font-family="verdana" focusable="true">Sub Topic
</text>
</g>
<g transform="translate(192, 96) scale(1, 1)" height="100" width="100" focusable="true" preserveAspectRatio="none">
<rect fill-opacity="0" stroke-opacity="0" fill="#dbe2e6" stroke="#77555a" stroke-width="1px" y="-3" x="-2"
ry="3" rx="3" height="20" width="52"></rect>
<ellipse stroke="#023BB9" visibility="hidden" fill="#E0E5EF" stroke-width="0.5px" cy="3" cx="3" ry="3" rx="3"
height="6" width="6"></ellipse>
<line y2="14" x2="49" y1="14" x1="-1" visibility="hidden" style="cursor: move;" stroke="#495879"
stroke-width="1px"></line>
<text x="3" y="9" style="cursor: move;" fill="#525c61" font-weight="normal" font-style="normal"
font-size="8.0625" font-family="verdana" focusable="true">Sub Topic
</text>
</g>
<g transform="translate(192, 120) scale(1, 1)" height="100" width="100" focusable="true" preserveAspectRatio="none">
<rect fill-opacity="0" stroke-opacity="0" fill="#dbe2e6" stroke="#77555a" stroke-width="1px" y="-3" x="-2"
ry="3" rx="3" height="20" width="52"></rect>
<ellipse stroke="#023BB9" visibility="hidden" fill="#E0E5EF" stroke-width="0.5px" cy="3" cx="3" ry="3" rx="3"
height="6" width="6"></ellipse>
<line y2="14" x2="49" y1="14" x1="-1" visibility="hidden" style="cursor: move;" stroke="#495879"
stroke-width="1px"></line>
<text x="3" y="9" style="cursor: move;" fill="#525c61" font-weight="normal" font-style="normal"
font-size="8.0625" font-family="verdana" focusable="true">Sub Topic
</text>
</g>
<g transform="translate(86, 91) scale(1, 1)" height="100" width="100" focusable="true" preserveAspectRatio="none">
<rect fill-opacity="0" stroke-opacity="0" fill="#dbe2e6" stroke="#77555a" stroke-width="1px" y="-3" x="-2"
ry="3.6" rx="3.6" height="24" width="91"></rect>
<rect style="cursor: move;" fill="#E0E5EF" stroke="#023BB9" stroke-width="0.5px" y="0" x="0" ry="2.7" rx="2.7"
height="18" width="87"></rect>
<text x="4" y="12" style="cursor: move;" fill="#525c61" font-weight="normal" font-style="normal"
font-size="10.75" font-family="verdana" focusable="true">Isolated Topic
</text>
<ellipse stroke="#023BB9" visibility="visible" fill="#E0E5EF" stroke-width="0.5px" cy="9" cx="90" ry="3" rx="3"
height="6" width="6"></ellipse>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 17 KiB

View File

@ -1,577 +0,0 @@
<HTML xmlns:v="urn:schemas-microsoft-com:vml">
<HEAD>
<STYLE>
v\:* {
behavior: url( #default#VML );
}
</STYLE>
<TITLE>VML Sample</TITLE>
</HEAD>
<BODY>
<DIV id=workspaceContainer
style="BORDER-RIGHT: #edf1be 0px solid; BORDER-TOP: #edf1be 0px solid; LEFT: 0px; OVERFLOW: hidden; BORDER-LEFT: #edf1be 0px solid; WIDTH: 1270px; BORDER-BOTTOM: #edf1be 0px solid; POSITION: relative; TOP: 0px; HEIGHT: 705px; BACKGROUND-COLOR: #ffffff"><?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" />
<v:group style="WIDTH: 1270px; POSITION: absolute; HEIGHT: 705px" coordsize="889,493" coordorigin="-445,-247">
<v:polyline style="POSITION: absolute"
readPoints="167.1, 100.0 177.1, 100.0 177.1, 130.5 182.1, 135.5 230.6, 135.5"
points="334,200,344,200,344,230,349,235,397,235" filled="f" strokecolor="#495879"
strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:polyline style="POSITION: absolute"
readPoints="167.1, 100.0 177.1, 100.0 177.1, 106.5 182.1, 111.5 230.6, 111.5"
points="334,200,344,200,344,206,349,211,397,211" filled="f" strokecolor="#495879"
strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:polyline style="POSITION: absolute"
readPoints="167.1, 100.0 177.1, 100.0 177.1, 92.5 182.1, 87.5 230.6, 87.5"
points="334,187,344,187,344,179,349,174,397,174" filled="f" strokecolor="#495879"
strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:polyline style="POSITION: absolute"
readPoints="167.1, 100.0 177.1, 100.0 177.1, 68.5 182.1, 63.5 230.6, 63.5"
points="334,163,344,163,344,131,349,126,397,126" filled="f" strokecolor="#495879"
strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:line style="POSITION: absolute" from="0,0" to="-176,100" fillcolor="white" stroked="t" strokecolor="#495879"
strokeweight="1.5pt">
<v:stroke dashstyle="solid"></v:stroke>
</v:line>
<v:polyline style="POSITION: absolute"
readPoints="-226.3, -150.0 -236.3, -150.0 -236.3, -119.5 -241.3, -114.5 -289.6, -114.5"
points="-515,-300,-525,-300,-525,-269,-530,-264,-578,-264" filled="f" strokecolor="#495879"
strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:polyline style="POSITION: absolute"
readPoints="-226.3, -150.0 -236.3, -150.0 -236.3, -143.5 -241.3, -138.5 -289.6, -138.5"
points="-515,-300,-525,-300,-525,-293,-530,-288,-578,-288" filled="f" strokecolor="#495879"
strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:polyline style="POSITION: absolute"
readPoints="-226.3, -150.0 -236.3, -150.0 -236.3, -157.5 -241.3, -162.5 -289.6, -162.5"
points="-515,-312,-525,-312,-525,-319,-530,-324,-578,-324" filled="f" strokecolor="#495879"
strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:polyline style="POSITION: absolute"
readPoints="-226.3, -150.0 -236.3, -150.0 -236.3, -181.5 -241.3, -186.5 -289.6, -186.5"
points="-515,-336,-525,-336,-525,-367,-530,-372,-578,-372" filled="f" strokecolor="#495879"
strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:line style="POSITION: absolute" from="0,0" to="-164,-150" fillcolor="white" stroked="t" strokecolor="#495879"
strokeweight="1.5pt">
<v:stroke dashstyle="solid"></v:stroke>
</v:line>
<v:polyline style="POSITION: absolute" readPoints="203.3, 0.0 213.3, 0.0 213.3, 30.5 218.3, 35.5 256.0, 35.5"
points="406,0,416,0,416,30,421,35,459,35" filled="f" strokecolor="#495879" strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:polyline style="POSITION: absolute" readPoints="203.3, 0.0 213.3, 0.0 213.3, 6.5 218.3, 11.5 256.0, 11.5"
points="406,0,416,0,416,6,421,11,459,11" filled="f" strokecolor="#495879" strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:polyline style="POSITION: absolute" readPoints="203.3, 0.0 213.3, 0.0 213.3, -7.5 218.3, -12.5 256.0, -12.5"
points="406,-12,416,-12,416,-19,421,-24,459,-24" filled="f" strokecolor="#495879"
strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:polyline style="POSITION: absolute" readPoints="203.3, 0.0 213.3, 0.0 213.3, -31.5 218.3, -36.5 256.0, -36.5"
points="406,-36,416,-36,416,-67,421,-72,459,-72" filled="f" strokecolor="#495879"
strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:line style="POSITION: absolute" from="0,0" to="141,0" fillcolor="white" stroked="t" strokecolor="#495879"
strokeweight="1.5pt">
<v:stroke dashstyle="solid"></v:stroke>
</v:line>
<v:rect style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 50px; POSITION: absolute; TOP: 5px; HEIGHT: 10px"
coordsize="21600,21600" fillcolor="#c03" stroked="t" strokecolor="#f93" strokeweight="13619emu">
<v:stroke opacity="26214f" dashstyle="solid"></v:stroke>
<v:fill opacity="26214f"></v:fill>
</v:rect>
<v:polyline style="VISIBILITY: hidden; POSITION: absolute" filled="f" strokecolor="#c03" strokeweight=".75pt">
<v:stroke opacity="26214f" dashstyle="solid"></v:stroke>
<v:fill opacity="26214f"></v:fill>
</v:polyline>
<v:line style="VISIBILITY: hidden; POSITION: absolute" from="0,0" to="0,0" fillcolor="white" stroked="t"
strokecolor="#c03" strokeweight="1.5pt">
<v:stroke opacity="26214f" dashstyle="solid"></v:stroke>
<v:fill opacity="26214f"></v:fill>
</v:line>
<v:rect style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 50px; POSITION: absolute; TOP: 5px; HEIGHT: 10px"
coordsize="21600,21600" fillcolor="#c03" stroked="t" strokecolor="#f93" strokeweight="13619emu">
<v:stroke opacity="26214f" dashstyle="solid"></v:stroke>
<v:fill opacity="26214f"></v:fill>
</v:rect>
<v:group style="LEFT: 222px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -53px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 38px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="35,17"
fillcolor="white" stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 36px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.031pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.375pt; OVERFLOW: visible; WIDTH: 37.812pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
inset="0,0,0,0"><SPAN style="WIDTH: 100%; HEIGHT: 100%"><SPAN>Node 0</SPAN></SPAN></v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: 222px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -29px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 38px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="35,17"
fillcolor="white" stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 36px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.281pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.375pt; OVERFLOW: visible; WIDTH: 37.812pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
inset="0,0,0,0"><SPAN style="WIDTH: 100%; HEIGHT: 100%"><SPAN>Node 1</SPAN></SPAN></v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: 222px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -5px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 38px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="35,17"
fillcolor="white" stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 36px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.5pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.375pt; OVERFLOW: visible; WIDTH: 37.812pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.343pt"
inset="0,0,0,0"><SPAN style="WIDTH: 100%; HEIGHT: 100%"><SPAN>Node 2</SPAN></SPAN></v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: 222px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: 19px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 38px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="35,17"
fillcolor="white" stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 36px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.375pt; OVERFLOW: visible; WIDTH: 37.812pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
inset="0,0,0,0"><SPAN style="WIDTH: 100%; HEIGHT: 100%"><SPAN>Node 3</SPAN></SPAN></v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: 140px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -11px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 66px; POSITION: absolute; TOP: -3px; HEIGHT: 29px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:roundrect style="LEFT: 0px; WIDTH: 62px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 23px"
arcsize="9830f" coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:roundrect>
<v:shape
style="Z-INDEX: 10; LEFT: 3px; WIDTH: 80px; CURSOR: move; POSITION: absolute; TOP: 1px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.625pt; LEFT: auto; FONT: 15px verdana; MARGIN-LEFT: 0.687pt; OVERFLOW: visible; WIDTH: 84.968pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
inset="0,0,0,0"><SPAN style="WIDTH: 100%; HEIGHT: 100%"><SPAN>Main Topic</SPAN></SPAN>
</v:textbox>
</v:shape>
<v:oval style="LEFT: 62px; VISIBILITY: visible; WIDTH: 6px; POSITION: absolute; TOP: 8px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
</v:group>
<v:group style="LEFT: -290px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -203px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 49px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="46,17"
fillcolor="white" stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 54px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.406pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.25pt; OVERFLOW: visible; WIDTH: 57.125pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
inset="0,0,0,0"><SPAN style="WIDTH: 100%; HEIGHT: 100%"><SPAN>Sub Topic</SPAN></SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: -290px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -179px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 49px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="46,17"
fillcolor="white" stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 54px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.656pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.25pt; OVERFLOW: visible; WIDTH: 57.125pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
inset="0,0,0,0"><SPAN style="WIDTH: 100%; HEIGHT: 100%"><SPAN>Sub Topic</SPAN></SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: -290px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -155px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 49px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="46,17"
fillcolor="white" stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 54px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.125pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.25pt; OVERFLOW: visible; WIDTH: 57.125pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.343pt"
inset="0,0,0,0"><SPAN style="WIDTH: 100%; HEIGHT: 100%"><SPAN>Sub Topic</SPAN></SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: -290px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -131px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 49px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="46,17"
fillcolor="white" stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 54px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.375pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.25pt; OVERFLOW: visible; WIDTH: 57.125pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
inset="0,0,0,0"><SPAN style="WIDTH: 100%; HEIGHT: 100%"><SPAN>Sub Topic</SPAN></SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: -226px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -161px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 66px; POSITION: absolute; TOP: -3px; HEIGHT: 29px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:roundrect style="LEFT: 0px; WIDTH: 62px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 23px"
arcsize="9830f" coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:roundrect>
<v:shape
style="Z-INDEX: 10; LEFT: 3px; WIDTH: 80px; CURSOR: move; POSITION: absolute; TOP: 1px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.25pt; LEFT: auto; FONT: 15px verdana; MARGIN-LEFT: 0.562pt; OVERFLOW: visible; WIDTH: 84.968pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
inset="0,0,0,0"><SPAN style="WIDTH: 100%; HEIGHT: 100%"><SPAN>Main Topic</SPAN></SPAN>
</v:textbox>
</v:shape>
<v:oval style="LEFT: -6px; VISIBILITY: visible; WIDTH: 6px; POSITION: absolute; TOP: 8px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
</v:group>
<v:group style="LEFT: -238px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: 89px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 68px; POSITION: absolute; TOP: -3px; HEIGHT: 29px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:roundrect style="LEFT: 0px; WIDTH: 64px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 23px"
arcsize="9830f" coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:roundrect>
<v:shape
style="Z-INDEX: 10; LEFT: 3px; WIDTH: 80px; CURSOR: move; POSITION: absolute; TOP: 1px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.625pt; LEFT: auto; FONT: italic 15px verdana; MARGIN-LEFT: 0.031pt; OVERFLOW: visible; WIDTH: 84.968pt; COLOR: #00cccc; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
inset="0,0,0,0"><SPAN style="WIDTH: 100%; HEIGHT: 100%"><SPAN>Main Topic</SPAN></SPAN>
</v:textbox>
</v:shape>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
</v:group>
<v:group style="LEFT: -59px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -18px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 122px; POSITION: absolute; TOP: -3px; HEIGHT: 43px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:roundrect style="LEFT: 0px; WIDTH: 118px; CURSOR: default; POSITION: absolute; TOP: 0px; HEIGHT: 37px"
arcsize="9830f" coordsize="21600,21600" fillcolor="#f7f7f7" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:roundrect>
<v:shape
style="Z-INDEX: 10; LEFT: 8px; WIDTH: 130px; CURSOR: default; POSITION: absolute; TOP: 6px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.718pt; LEFT: auto; FONT: bold 19px verdana; MARGIN-LEFT: 0.687pt; OVERFLOW: visible; WIDTH: 138.531pt; COLOR: #023bb9; POSITION: absolute; TOP: auto; HEIGHT: 0.343pt"
inset="0,0,0,0"><SPAN style="WIDTH: 100%; HEIGHT: 100%"><SPAN>Central Topic</SPAN></SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: 186px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: 47px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 49px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="46,17"
fillcolor="white" stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 54px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.031pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.687pt; OVERFLOW: visible; WIDTH: 57.093pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
inset="0,0,0,0"><SPAN style="WIDTH: 100%; HEIGHT: 100%"><SPAN>Sub Topic</SPAN></SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: 186px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: 71px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 49px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="46,17"
fillcolor="white" stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 54px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.281pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.687pt; OVERFLOW: visible; WIDTH: 57.093pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
inset="0,0,0,0"><SPAN style="WIDTH: 100%; HEIGHT: 100%"><SPAN>Sub Topic</SPAN></SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: 186px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: 95px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 49px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="46,17"
fillcolor="white" stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 54px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.5pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.687pt; OVERFLOW: visible; WIDTH: 57.093pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.343pt"
inset="0,0,0,0"><SPAN style="WIDTH: 100%; HEIGHT: 100%"><SPAN>Sub Topic</SPAN></SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: 186px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: 119px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 49px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="46,17"
fillcolor="white" stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 54px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.687pt; OVERFLOW: visible; WIDTH: 57.093pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
inset="0,0,0,0"><SPAN style="WIDTH: 100%; HEIGHT: 100%"><SPAN>Sub Topic</SPAN></SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: 86px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: 89px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 84px; POSITION: absolute; TOP: -3px; HEIGHT: 29px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:roundrect style="LEFT: 0px; WIDTH: 80px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 23px"
arcsize="9830f" coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:roundrect>
<v:shape
style="Z-INDEX: 10; LEFT: 3px; WIDTH: 112px; CURSOR: move; POSITION: absolute; TOP: 1px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.625pt; LEFT: auto; FONT: 15px verdana; MARGIN-LEFT: 0.25pt; OVERFLOW: visible; WIDTH: 119.25pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
inset="0,0,0,0"><SPAN style="WIDTH: 100%; HEIGHT: 100%"><SPAN>Isolated Topic</SPAN></SPAN>
</v:textbox>
</v:shape>
<v:oval style="LEFT: 80px; VISIBILITY: visible; WIDTH: 6px; POSITION: absolute; TOP: 8px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
</v:group>
</v:group>
</DIV>
</DIV>
</BODY>
</HTML>

View File

@ -1,612 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<v:group style="WIDTH: 1270px; POSITION: absolute; HEIGHT: 705px" coordsize="889,493" coordorigin="-444,-247">
<v:rect style="LEFT: -62px; VISIBILITY: visible; WIDTH: 124px; POSITION: absolute; TOP: -21px; HEIGHT: 43px"
coordsize="21600,21600" fillcolor="#c03" stroked="t" strokecolor="#f93" strokeweight="13619emu">
<v:stroke opacity="26214f" dashstyle="solid"></v:stroke>
<v:fill opacity="26214f"></v:fill>
</v:rect>
<v:polyline style="VISIBILITY: hidden; POSITION: absolute" filled="f" strokecolor="#c03" strokeweight=".75pt">
<v:stroke opacity="26214f" dashstyle="solid"></v:stroke>
<v:fill opacity="26214f"></v:fill>
</v:polyline>
<v:line style="VISIBILITY: visible; POSITION: absolute" from="258,-250" to="0,0" fillcolor="white" stroked="t"
strokecolor="#c03" strokeweight="1.5pt">
<v:stroke opacity="26214f" dashstyle="solid"></v:stroke>
<v:fill opacity="26214f"></v:fill>
</v:line>
<v:polyline style="POSITION: absolute" readPoints="167.1, 100.0 177.1, 100.0 177.1, 130.5 182.1, 135.5 230.6, 135.5"
points="334,200,344,200,344,230,349,235,397,235" filled="f" strokecolor="#495879" strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:polyline style="POSITION: absolute" readPoints="167.1, 100.0 177.1, 100.0 177.1, 106.5 182.1, 111.5 230.6, 111.5"
points="334,200,344,200,344,206,349,211,397,211" filled="f" strokecolor="#495879" strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:polyline style="POSITION: absolute" readPoints="167.1, 100.0 177.1, 100.0 177.1, 92.5 182.1, 87.5 230.6, 87.5"
points="334,187,344,187,344,179,349,174,397,174" filled="f" strokecolor="#495879" strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:polyline style="POSITION: absolute" readPoints="167.1, 100.0 177.1, 100.0 177.1, 68.5 182.1, 63.5 230.6, 63.5"
points="334,163,344,163,344,131,349,126,397,126" filled="f" strokecolor="#495879" strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:line style="POSITION: absolute" from="0,0" to="-176,100" fillcolor="white" stroked="t" strokecolor="#495879"
strokeweight="1.5pt">
<v:stroke dashstyle="solid"></v:stroke>
</v:line>
<v:polyline style="POSITION: absolute"
readPoints="-226.3, -150.0 -236.3, -150.0 -236.3, -119.5 -241.3, -114.5 -289.6, -114.5"
points="-515,-300,-525,-300,-525,-269,-530,-264,-578,-264" filled="f" strokecolor="#495879"
strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:polyline style="POSITION: absolute"
readPoints="-226.3, -150.0 -236.3, -150.0 -236.3, -143.5 -241.3, -138.5 -289.6, -138.5"
points="-515,-300,-525,-300,-525,-293,-530,-288,-578,-288" filled="f" strokecolor="#495879"
strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:polyline style="POSITION: absolute"
readPoints="-226.3, -150.0 -236.3, -150.0 -236.3, -157.5 -241.3, -162.5 -289.6, -162.5"
points="-515,-312,-525,-312,-525,-319,-530,-324,-578,-324" filled="f" strokecolor="#495879"
strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:polyline style="POSITION: absolute"
readPoints="-226.3, -150.0 -236.3, -150.0 -236.3, -181.5 -241.3, -186.5 -289.6, -186.5"
points="-515,-336,-525,-336,-525,-367,-530,-372,-578,-372" filled="f" strokecolor="#495879"
strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:line style="POSITION: absolute" from="0,0" to="-164,-150" fillcolor="white" stroked="t" strokecolor="#495879"
strokeweight="1.5pt">
<v:stroke dashstyle="solid"></v:stroke>
</v:line>
<v:polyline style="POSITION: absolute" readPoints="203.3, 0.0 213.3, 0.0 213.3, 30.5 218.3, 35.5 256.0, 35.5"
points="406,0,416,0,416,30,421,35,459,35" filled="f" strokecolor="#495879" strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:polyline style="POSITION: absolute" readPoints="203.3, 0.0 213.3, 0.0 213.3, 6.5 218.3, 11.5 256.0, 11.5"
points="406,0,416,0,416,6,421,11,459,11" filled="f" strokecolor="#495879" strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:polyline style="POSITION: absolute" readPoints="203.3, 0.0 213.3, 0.0 213.3, -7.5 218.3, -12.5 256.0, -12.5"
points="406,-12,416,-12,416,-19,421,-24,459,-24" filled="f" strokecolor="#495879" strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:polyline style="POSITION: absolute" readPoints="203.3, 0.0 213.3, 0.0 213.3, -31.5 218.3, -36.5 256.0, -36.5"
points="406,-36,416,-36,416,-67,421,-72,459,-72" filled="f" strokecolor="#495879" strokeweight=".75pt">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
</v:polyline>
<v:line style="POSITION: absolute" from="0,0" to="141,0" fillcolor="white" stroked="t" strokecolor="#495879"
strokeweight="1.5pt">
<v:stroke dashstyle="solid"></v:stroke>
</v:line>
<v:group style="LEFT: 222px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -53px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 38px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9" strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="35,17" fillcolor="white"
stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 36px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.687pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.562pt; OVERFLOW: visible; WIDTH: 37.843pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
fontScale="1.4" inset="0,0,0,0">
<SPAN style="WIDTH: 100%; HEIGHT: 100%">
<SPAN>Node 0</SPAN>
</SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: 222px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -29px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 38px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9" strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="35,17" fillcolor="white"
stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 36px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.156pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.562pt; OVERFLOW: visible; WIDTH: 37.843pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.343pt"
fontScale="1.4" inset="0,0,0,0">
<SPAN style="WIDTH: 100%; HEIGHT: 100%">
<SPAN>Node 1</SPAN>
</SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: 222px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -5px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 38px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9" strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="35,17" fillcolor="white"
stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 36px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.406pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.562pt; OVERFLOW: visible; WIDTH: 37.843pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
fontScale="1.4" inset="0,0,0,0">
<SPAN style="WIDTH: 100%; HEIGHT: 100%">
<SPAN>Node 2</SPAN>
</SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: 222px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: 19px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 38px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9" strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="35,17" fillcolor="white"
stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 36px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.656pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.562pt; OVERFLOW: visible; WIDTH: 37.843pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
fontScale="1.4" inset="0,0,0,0">
<SPAN style="WIDTH: 100%; HEIGHT: 100%">
<SPAN>Node 3</SPAN>
</SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: 140px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -11px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 66px; CURSOR: text; POSITION: absolute; TOP: -3px; HEIGHT: 29px"
arcsize="9830f" coordsize="21600,21600" fillcolor="#c7d8ff" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="1" dashstyle="solid"></v:stroke>
<v:fill opacity="1"></v:fill>
</v:roundrect>
<v:roundrect style="LEFT: 0px; WIDTH: 62px; CURSOR: text; POSITION: absolute; TOP: 0px; HEIGHT: 23px"
arcsize="9830f" coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:roundrect>
<v:shape
style="Z-INDEX: 10; LEFT: 3px; WIDTH: 80px; CURSOR: text; POSITION: absolute; TOP: 1px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.281pt; LEFT: auto; FONT: 15px verdana; MARGIN-LEFT: 0.031pt; OVERFLOW: visible; WIDTH: 84.968pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.343pt"
fontScale="1.4" inset="0,0,0,0">
<SPAN style="WIDTH: 100%; HEIGHT: 100%">
<SPAN>Main Topic</SPAN>
</SPAN>
</v:textbox>
</v:shape>
<v:oval style="LEFT: 62px; VISIBILITY: visible; WIDTH: 6px; POSITION: absolute; TOP: 8px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9" strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
</v:group>
<v:group style="LEFT: -290px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -203px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 49px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9" strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="46,17" fillcolor="white"
stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 54px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.312pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.25pt; OVERFLOW: visible; WIDTH: 57.093pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
fontScale="1.4" inset="0,0,0,0">
<SPAN style="WIDTH: 100%; HEIGHT: 100%">
<SPAN>Sub Topic</SPAN>
</SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: -290px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -179px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 49px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9" strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="46,17" fillcolor="white"
stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 54px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.531pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.25pt; OVERFLOW: visible; WIDTH: 57.093pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.343pt"
fontScale="1.4" inset="0,0,0,0">
<SPAN style="WIDTH: 100%; HEIGHT: 100%">
<SPAN>Sub Topic</SPAN>
</SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: -290px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -155px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 49px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9" strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="46,17" fillcolor="white"
stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 54px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.031pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.25pt; OVERFLOW: visible; WIDTH: 57.093pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
fontScale="1.4" inset="0,0,0,0">
<SPAN style="WIDTH: 100%; HEIGHT: 100%">
<SPAN>Sub Topic</SPAN>
</SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: -290px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -131px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 49px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9" strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="46,17" fillcolor="white"
stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 54px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.281pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.25pt; OVERFLOW: visible; WIDTH: 57.093pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
fontScale="1.4" inset="0,0,0,0">
<SPAN style="WIDTH: 100%; HEIGHT: 100%">
<SPAN>Sub Topic</SPAN>
</SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: -226px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -161px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 66px; POSITION: absolute; TOP: -3px; HEIGHT: 29px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:roundrect style="LEFT: 0px; WIDTH: 62px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 23px"
arcsize="9830f" coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:roundrect>
<v:shape
style="Z-INDEX: 10; LEFT: 3px; WIDTH: 80px; CURSOR: move; POSITION: absolute; TOP: 1px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.656pt; LEFT: auto; FONT: 15px verdana; MARGIN-LEFT: 0.156pt; OVERFLOW: visible; WIDTH: 84.968pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.343pt"
fontScale="1.4" inset="0,0,0,0">
<SPAN style="WIDTH: 100%; HEIGHT: 100%">
<SPAN>Main Topic</SPAN>
</SPAN>
</v:textbox>
</v:shape>
<v:oval style="LEFT: -6px; VISIBILITY: visible; WIDTH: 6px; POSITION: absolute; TOP: 8px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9" strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
</v:group>
<v:group style="LEFT: -238px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: 89px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 68px; POSITION: absolute; TOP: -3px; HEIGHT: 29px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:roundrect style="LEFT: 0px; WIDTH: 64px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 23px"
arcsize="9830f" coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:roundrect>
<v:shape
style="Z-INDEX: 10; LEFT: 3px; WIDTH: 80px; CURSOR: move; POSITION: absolute; TOP: 1px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.312pt; LEFT: auto; FONT: 15px verdana; MARGIN-LEFT: 0.031pt; OVERFLOW: visible; WIDTH: 84.968pt; COLOR: #00cccc; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
fontScale="1.4" inset="0,0,0,0">
<SPAN style="WIDTH: 100%; HEIGHT: 100%">
<SPAN>Main Topic</SPAN>
</SPAN>
</v:textbox>
</v:shape>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9" strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
</v:group>
<v:group style="LEFT: -59px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -18px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 122px; POSITION: absolute; TOP: -3px; HEIGHT: 43px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:roundrect style="LEFT: 0px; WIDTH: 118px; CURSOR: default; POSITION: absolute; TOP: 0px; HEIGHT: 37px"
arcsize="9830f" coordsize="21600,21600" fillcolor="#f7f7f7" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:roundrect>
<v:shape
style="Z-INDEX: 10; LEFT: 8px; WIDTH: 130px; CURSOR: default; POSITION: absolute; TOP: 6px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.406pt; LEFT: auto; FONT: bold 19px verdana; MARGIN-LEFT: 0.687pt; OVERFLOW: visible; WIDTH: 138.531pt; COLOR: #023bb9; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
fontScale="1.4" inset="0,0,0,0">
<SPAN style="WIDTH: 100%; HEIGHT: 100%">
<SPAN>Central Topic</SPAN>
</SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: 186px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: 47px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 49px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9" strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="46,17" fillcolor="white"
stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 54px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.687pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.25pt; OVERFLOW: visible; WIDTH: 57.125pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
fontScale="1.4" inset="0,0,0,0">
<SPAN style="WIDTH: 100%; HEIGHT: 100%">
<SPAN>Sub Topic</SPAN>
</SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: 186px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: 71px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 49px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9" strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="46,17" fillcolor="white"
stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 54px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.156pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.25pt; OVERFLOW: visible; WIDTH: 57.125pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.343pt"
fontScale="1.4" inset="0,0,0,0">
<SPAN style="WIDTH: 100%; HEIGHT: 100%">
<SPAN>Sub Topic</SPAN>
</SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: 186px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: 95px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 49px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9" strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="46,17" fillcolor="white"
stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 54px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.406pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.25pt; OVERFLOW: visible; WIDTH: 57.125pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
fontScale="1.4" inset="0,0,0,0">
<SPAN style="WIDTH: 100%; HEIGHT: 100%">
<SPAN>Sub Topic</SPAN>
</SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: 186px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: 119px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 49px; POSITION: absolute; TOP: -3px; HEIGHT: 23px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9" strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
<v:line style="VISIBILITY: hidden; CURSOR: move; POSITION: absolute" from="-1,17" to="46,17" fillcolor="white"
stroked="t" strokecolor="#495879" strokeweight="1.5pt">
<v:stroke></v:stroke>
</v:line>
<v:shape
style="Z-INDEX: 10; LEFT: 2px; WIDTH: 54px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.656pt; LEFT: auto; FONT: 11px verdana; MARGIN-LEFT: 0.25pt; OVERFLOW: visible; WIDTH: 57.125pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
fontScale="1.4" inset="0,0,0,0">
<SPAN style="WIDTH: 100%; HEIGHT: 100%">
<SPAN>Sub Topic</SPAN>
</SPAN>
</v:textbox>
</v:shape>
</v:group>
<v:group style="LEFT: 86px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: 89px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect style="LEFT: -2px; WIDTH: 84px; POSITION: absolute; TOP: -3px; HEIGHT: 29px" arcsize="9830f"
coordsize="21600,21600" fillcolor="#dbe2e6" stroked="t" strokecolor="#77555a"
strokeweight="13619emu">
<v:stroke opacity="0" dashstyle="solid"></v:stroke>
<v:fill opacity="0"></v:fill>
</v:roundrect>
<v:roundrect style="LEFT: 0px; WIDTH: 80px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 23px"
arcsize="9830f" coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:roundrect>
<v:shape
style="Z-INDEX: 10; LEFT: 3px; WIDTH: 112px; CURSOR: move; POSITION: absolute; TOP: 1px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.312pt; LEFT: auto; FONT: 15px verdana; MARGIN-LEFT: 0.687pt; OVERFLOW: visible; WIDTH: 119.25pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.312pt"
fontScale="1.4" inset="0,0,0,0">
<SPAN style="WIDTH: 100%; HEIGHT: 100%">
<SPAN>Isolated Topic</SPAN>
</SPAN>
</v:textbox>
</v:shape>
<v:oval style="LEFT: 80px; VISIBILITY: visible; WIDTH: 6px; POSITION: absolute; TOP: 8px; HEIGHT: 6px"
coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9" strokeweight="6762emu">
<v:stroke dashstyle="solid"></v:stroke>
<v:fill></v:fill>
</v:oval>
</v:group>
<v:group style="LEFT: 249px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -247px; HEIGHT: 100px"
coordsize="100,100">
<v:roundrect
style="LEFT: 0px; VISIBILITY: visible; WIDTH: 62px; CURSOR: default; POSITION: absolute; TOP: 0px; HEIGHT: 23px"
arcsize="9830f" coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
strokeweight="6762emu">
<v:stroke opacity=".5" dashstyle="solid"></v:stroke>
<v:fill opacity=".5"></v:fill>
</v:roundrect>
<v:shape style="Z-INDEX: 10; LEFT: 3px; WIDTH: 80px; POSITION: absolute; TOP: 1px; HEIGHT: 1px; antialias: true"
coordsize="100,100">
<v:textbox
style="MARGIN-TOP: 0.593pt; LEFT: auto; FONT: 15px Arial; MARGIN-LEFT: 0.031pt; OVERFLOW: visible; WIDTH: 84.968pt; COLOR: #525c61; POSITION: absolute; TOP: auto; HEIGHT: 0.343pt"
fontScale="1.4" inset="0,0,0,0">
<SPAN style="WIDTH: 100%; HEIGHT: 100%">
<SPAN>Main Topic</SPAN>
</SPAN>
</v:textbox>
<v:stroke opacity=".5"></v:stroke>
<v:fill opacity=".5"></v:fill>
</v:shape>
</v:group>
<v:rect style="LEFT: 256px; VISIBILITY: visible; WIDTH: 50px; POSITION: absolute; TOP: -255px; HEIGHT: 10px"
coordsize="21600,21600" fillcolor="#c03" stroked="t" strokecolor="#f93" strokeweight="13619emu">
<v:stroke opacity="26214f" dashstyle="solid"></v:stroke>
<v:fill opacity="26214f"></v:fill>
</v:rect>
</v:group>

View File

@ -1,64 +1,75 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.wisemapping.util;
import org.jetbrains.annotations.NotNull;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Marshaller;
import javax.xml.bind.Unmarshaller;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.HashMap;
import java.util.Map;
public class JAXBUtils {
private final static Map<String, JAXBContext> context = new HashMap<String, JAXBContext>();
public static Object getMapObject(@NotNull InputStream stream, @NotNull final String pakage) throws JAXBException {
final JAXBContext context = getInstance(pakage);
final Unmarshaller unmarshaller = context.createUnmarshaller();
return unmarshaller.unmarshal(stream);
}
private static JAXBContext getInstance(@NotNull String pakage) throws JAXBException {
JAXBContext result = context.get(pakage);
if (result == null) {
synchronized (context) {
result = JAXBContext.newInstance(pakage);
context.put(pakage, result);
}
}
return result;
}
public static void saveMap(@NotNull Object obj, @NotNull OutputStream out, String packag) throws JAXBException {
final JAXBContext context = getInstance(packag);
final Marshaller marshaller = context.createMarshaller();
marshaller.marshal(obj, out);
}
}
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.wisemapping.util;
import com.wisemapping.importer.JaxbCDATAMarshaller;
import org.apache.xml.serialize.XMLSerializer;
import org.jetbrains.annotations.NotNull;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Marshaller;
import javax.xml.bind.Unmarshaller;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.HashMap;
import java.util.Map;
public class JAXBUtils {
private final static Map<String, JAXBContext> context = new HashMap<String, JAXBContext>();
public static Object getMapObject(@NotNull InputStream stream, @NotNull final String pakage) throws JAXBException {
final JAXBContext context = getInstance(pakage);
final Unmarshaller unmarshaller = context.createUnmarshaller();
return unmarshaller.unmarshal(stream);
}
private static JAXBContext getInstance(@NotNull String pakage) throws JAXBException {
JAXBContext result = context.get(pakage);
if (result == null) {
synchronized (context) {
result = JAXBContext.newInstance(pakage);
context.put(pakage, result);
}
}
return result;
}
public static void saveMap(@NotNull Object obj, @NotNull OutputStream out, String packag) throws JAXBException {
final JAXBContext context = getInstance(packag);
final Marshaller marshaller = context.createMarshaller();
// get an Apache XMLSerializer configured to generate CDATA
XMLSerializer serializer = JaxbCDATAMarshaller.createMindmapXMLSerializer(out);
try {
// marshal using the Apache XMLSerializer
marshaller.marshal(obj, serializer.asContentHandler());
} catch (IOException e) {
throw new IllegalStateException(e);
}
}
}

View File

@ -1,161 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.wisemapping.xml;
public class Style {
private float width;
private float height;
private String left;
private String top;
private float fontSize;
private String fontFamily;
private String color;
private String fontWidth;
private boolean isVisible = true;
public boolean isVisible() {
return isVisible;
}
public void setVisible(boolean visible) {
isVisible = visible;
}
public static Style parse(final String styleValue) {
Style result = new Style();
String[] strings = styleValue.split(";");
for (String style : strings) {
final String key = style.substring(0, style.indexOf(":"));
String value = style.substring(style.indexOf(":") + 1, style.length());
value = value.trim();
if (key.trim().equals("WIDTH")) {
result.setWidth(parseFloat(value));
} else if (key.trim().equals("HEIGHT")) {
result.setHeight(parseFloat(value));
}
if (key.trim().equals("TOP")) {
result.setTop(removeUnit(value));
} else if (key.trim().equals("LEFT")) {
result.setLeft(removeUnit(value));
} else if (key.trim().equals("FONT")) {
final String[] fontValues = value.split(" ");
if (fontValues.length == 3) {
result.setFontWidth(fontValues[0]);
result.setFontSize(parseFloat(fontValues[1]));
result.setFontFamily(fontValues[2]);
} else if (fontValues.length == 2) {
result.setFontSize(parseFloat(fontValues[0]));
result.setFontFamily(fontValues[1]);
}
} else if (key.trim().equals("COLOR")) {
result.setColor(value);
} else if (key.trim().equals("VISIBILITY")) {
result.setVisible(!"hidden".equals(value));
}
}
return result;
}
private void setFontWidth(String v) {
this.fontWidth = v;
}
private void setColor(String value) {
this.color = value;
}
public float getHeight() {
return height;
}
public void setHeight(float height) {
this.height = height;
}
public float getWidth() {
return width;
}
public void setWidth(float width) {
this.width = width;
}
public static String removeUnit(String value) {
String number;
if (value.indexOf("px") != -1 || value.indexOf("pt") != -1) {
number = value.substring(0, value.length() - 2);
} else {
number = value;
}
return number;
}
public static float parseFloat(String value) {
String number = removeUnit(value);
return Float.parseFloat(number);
}
public String getLeft() {
return left;
}
public void setLeft(String left) {
this.left = left;
}
public String getTop() {
return top;
}
public void setTop(String top) {
this.top = top;
}
public float getFontSize() {
return fontSize;
}
public void setFontSize(float fontSize) {
this.fontSize = fontSize;
}
public String getFontFamily() {
return fontFamily;
}
public void setFontFamily(String fontFamily) {
this.fontFamily = fontFamily;
}
public String getColor() {
return this.color;
}
public String getFontWidth() {
return fontWidth;
}
}

View File

@ -1,442 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.wisemapping.xml;
import com.wisemapping.xml.svgmap.*;
import com.wisemapping.xml.svgmap.ObjectFactory;
import com.wisemapping.xml.vmlmap.*;
import com.wisemapping.xml.vmlmap.Line;
import com.wisemapping.xml.vmlmap.Polyline;
import com.wisemapping.xml.vmlmap.Rect;
import javax.xml.bind.JAXBException;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.Unmarshaller;
import javax.xml.bind.Marshaller;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.List;
public class SvgToVMLConverter {
private ObjectFactory svgObjectFactory;
private static final int CORRECTION_HANDCODE = 5;
private Object svgRootElem;
public SvgToVMLConverter() {
this.svgObjectFactory = new ObjectFactory();
}
public void convert(final InputStream vmlDocument) throws JAXBException {
final JAXBContext vmlContext = JAXBContext.newInstance("com.wisemapping.xml.vmlmap");
final Unmarshaller umarshaller = vmlContext.createUnmarshaller();
final Group rootElem = (Group) umarshaller.unmarshal(vmlDocument);
this.svgRootElem = convert(rootElem);
}
private Svg convert(Group g) {
final Svg svgElement = svgObjectFactory.createSvg();
svgElement.setPreserveAspectRatio("none");
/*
<v:group style="WIDTH: 1270px; POSITION: absolute; HEIGHT: 705px" coordsize="889,493" coordorigin="-445,-247">
<svgElement preserveAspectRatio="none" viewBox="-445.9 -221.9 891.8 443.8" height="634" width="1274" id="workspace" focusable="true">
*/
final String coordorigin = g.getCoordorigin();
String coordSize = g.getCoordsize();
svgElement.setViewBox(coordorigin + ", " + coordSize);
final Style style = Style.parse(g.getStyle());
float width = style.getWidth();
svgElement.setWidth(String.valueOf(width));
float height = style.getHeight();
svgElement.setHeight(String.valueOf(height));
// Convert connection lines ...
final List<Polyline> polylines = g.getPolyline();
final List<com.wisemapping.xml.svgmap.Polyline> svgPolylines = svgElement.getPolyline();
for (Polyline vmlPolyline : polylines) {
final com.wisemapping.xml.svgmap.Polyline svgPolyline = convert(vmlPolyline);
svgPolylines.add(svgPolyline);
}
final List<Line> vmlLines = g.getLine();
final List<com.wisemapping.xml.svgmap.Line> svgLines = svgElement.getLine();
for (Line vmlLine : vmlLines) {
final com.wisemapping.xml.svgmap.Line svgPolyline = convert(vmlLine);
svgLines.add(svgPolyline);
}
// Convert Topics ...
final List<Group> vmlTopics = g.getGroup();
final List<G> svgTopics = svgElement.getG();
for (Group topic : vmlTopics) {
G svgTopic = convertTopicGroup(topic);
svgTopics.add(svgTopic);
}
// Convert connectors ...
g.getOval();
return svgElement;
}
private G convertTopicGroup(final Group vmlTopic) {
/**
* <v:group style="LEFT: 222px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -53px; HEIGHT: 100px" coordsize="100,100">
* <g transform="translate(225, -52) scale(1, 1)" height="100" width="100" focusable="true" preserveAspectRatio="none">
*/
final G svgTopic = new G();
final String styleStr = vmlTopic.getStyle();
final Style style = Style.parse(styleStr);
String transform = "translate(" + style.getLeft() + ", " + style.getTop() + ") scale(1, 1)";
svgTopic.setTransform(transform);
float width = style.getWidth();
svgTopic.setWidth(String.valueOf(width));
float height = style.getHeight();
svgTopic.setHeight(String.valueOf(height));
svgTopic.setPreserveAspectRatio("none");
// Convert InnerShape ...
final List<Roundrect> roundrects = vmlTopic.getRoundrect();
float rectWidth = 0;
float rectHeight = 0;
for (Roundrect vmlRect : roundrects) {
// Skip outerShape figure...
final Fill vmlFill = vmlRect.getFill();
if (vmlFill == null || !"0".equals(vmlFill.getOpacity())) {
final com.wisemapping.xml.svgmap.Rect svgRect = convert(vmlRect);
svgTopic.setRect(svgRect);
final Style rectStyle = Style.parse(vmlRect.getStyle());
rectWidth = rectStyle.getWidth();
rectHeight = rectStyle.getHeight();
}
}
final List<Rect> vmlRects = vmlTopic.getRect();
for (Rect vmlRect : vmlRects) {
// Skip outerShape figure...
final Fill vmlFill = vmlRect.getFill();
if (vmlFill == null || !"0".equals(vmlFill.getOpacity())) {
final com.wisemapping.xml.svgmap.Rect svgRect = convert(vmlRect);
svgTopic.setRect(svgRect);
final Style rectStyle = Style.parse(vmlRect.getStyle());
rectWidth = rectStyle.getWidth();
rectHeight = rectStyle.getHeight();
}
}
final List<Line> vmlLines = vmlTopic.getLine();
for (final Line vmlLine : vmlLines) {
final String lineStyleStr = vmlLine.getStyle();
final Style lineStyle = Style.parse(lineStyleStr);
if (lineStyle.isVisible()) {
com.wisemapping.xml.svgmap.Line line = convert(vmlLine);
svgTopic.setLine(line);
} else {
// Shape is line...
final String from = vmlLine.getFrom();
String[] formPoints = from.split(",");
final String to = vmlLine.getTo();
String[] toPoints = to.split(",");
rectWidth = Float.parseFloat(formPoints[0]) - Float.parseFloat(toPoints[0]);
rectWidth = Math.abs(rectWidth);
rectHeight = Float.parseFloat(formPoints[1]);
}
}
// Convert connection ovals..
final List<Oval> vmlOvals = vmlTopic.getOval();
for (Oval vmlOval : vmlOvals) {
// Skip outerShape figure...
final Ellipse svgElipse = convert(vmlOval);
if (svgElipse != null) {
svgTopic.setEllipse(svgElipse);
}
}
// Convert Text ...
final List<Shape> vmlTextShape = vmlTopic.getShape();
final Text svgText = convertTextShape(vmlTextShape.get(0), rectWidth, rectHeight);
svgTopic.setText(svgText);
return svgTopic;
}
private com.wisemapping.xml.svgmap.Rect convert(Rect vmlRect) {
final com.wisemapping.xml.svgmap.Rect svgRect = new com.wisemapping.xml.svgmap.Rect();
final Style style = Style.parse(vmlRect.getStyle());
float width = style.getWidth();
svgRect.setWidth(String.valueOf(width));
float height = style.getHeight();
svgRect.setHeight(height);
String top = style.getTop();
svgRect.setY(Float.parseFloat(top));
String left = style.getLeft();
svgRect.setX(Float.parseFloat(left));
// Fill properties ...
final String fillColor = vmlRect.getFillcolor();
svgRect.setFill(fillColor);
// Stroke properties ...
final String strokeColor = vmlRect.getStrokecolor();
svgRect.setStroke(strokeColor);
svgRect.setStrokeWidth("0.5px");
return svgRect;
}
private Ellipse convert(final Oval vmlOval) {
/**
* <v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
* coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9" strokeweight="6762emu">
* <v:stroke dashstyle="solid"></v:stroke>
* <v:fill></v:fill>
* </v:oval>
*
*
* SVG:
* <ellipse stroke="#023BB9" visibility="hidden" fill="#E0E5EF" stroke-width="0.5px" cy="3" cx="3" ry="3" rx="3"
* height="6" width="6"></ellipse>
*/
final Style style = Style.parse(vmlOval.getStyle());
Ellipse svgElipse = null;
if (style.isVisible()) {
svgElipse = new Ellipse();
float width = style.getWidth();
svgElipse.setWidth(width);
svgElipse.setRx(width / 2);
float height = style.getHeight();
svgElipse.setHeight(height);
svgElipse.setRy(height / 2);
String top = style.getTop();
svgElipse.setCy(Float.parseFloat(top) + (width / 2));
String left = style.getLeft();
svgElipse.setCx(Float.parseFloat(left) + (height / 2));
// Fill properties ...
final String fillColor = vmlOval.getFillcolor();
svgElipse.setFill(fillColor);
// Stroke properties ...
final String strokeColor = vmlOval.getStrokecolor();
svgElipse.setStroke(strokeColor);
svgElipse.setStrokeWidth("0.5px");
}
return svgElipse;
}
private com.wisemapping.xml.svgmap.Line convert(final Line vmlLine) {
/**
* VML:
* <v:line style="POSITION: absolute" from="0,0" to="157,-150" fillcolor="white" stroked="t" strokecolor="#495879"
* strokeweight="1px">
* <:stroke dashstyle="solid"></v:stroke>
* </v:line>
*
* SVG:
* <line y2="14" x2="49" y1="14" x1="-1" visibility="hidden" style="cursor: move;" stroke="#495879"
stroke-width="1px"></line>
*/
com.wisemapping.xml.svgmap.Line svgLine = new com.wisemapping.xml.svgmap.Line();
final String from = vmlLine.getFrom();
final String[] fromPoints = from.split(",");
svgLine.setX1(Float.parseFloat(fromPoints[0]));
svgLine.setY1(Float.parseFloat(fromPoints[1]));
final String to = vmlLine.getTo();
final String[] toPoints = to.split(",");
svgLine.setX2(Float.parseFloat(toPoints[0]));
svgLine.setY2(Float.parseFloat(toPoints[1]));
String strokeweight = vmlLine.getStrokeweight();
svgLine.setStrokeWidth(strokeweight);
String stokeColor = vmlLine.getStrokecolor();
svgLine.setStroke(stokeColor);
return svgLine;
}
private Text convertTextShape(Shape vmlTextShape, float boxWidth, float boxHeigth) {
/**
* <v:shape
* style="Z-INDEX: 10; LEFT: 9px; WIDTH: 130px; CURSOR: default; POSITION: absolute; TOP: 9px; HEIGHT: 1px; antialias: true"
* coordsize="100,100">
* <v:textbox
* style="MARGIN-TOP: 0.187pt; LEFT: auto; FONT: bold 19px verdana; MARGIN-LEFT: 0.25pt; OVERFLOW: visible; WIDTH: 138.531pt; COLOR: #023bb9; POSITION: absolute; TOP: auto; HEIGHT: 0.343pt"
* xFontScale="1.4" xTextSize="100.1,16.0" inset="0,0,0,0">
* <SPAN style="WIDTH: 100%; HEIGHT: 100%">
* <SPAN>Central Topic</SPAN>
* </SPAN>
* </v:textbox>
* </v:shape>
* SVG:
* <text x="9" y="19" style="cursor: default;" fill="#023BB9" font-weight="bold" font-style="normal"
* font-size="13.4375" font-family="verdana" focusable="true">Central Topic
* </text>
*/
final Text svgText = new Text();
Textbox vmlTextBox = vmlTextShape.getTextbox();
final String textBoxStyleStr = vmlTextBox.getStyle();
final Style textBoxStyle = Style.parse(textBoxStyleStr);
// @todo: Take this hardcode from javascript ...
float fontSize = textBoxStyle.getFontSize();
float scale = vmlTextBox.getXFontScale();
float svgFontSize = fontSize / scale;
svgText.setFontSize(svgFontSize);
// Set text properties...
final String textValue = vmlTextBox.getSPAN().getSPAN();
svgText.setContent(textValue);
final String color = textBoxStyle.getColor();
svgText.setFill(color);
final String fontWidth = textBoxStyle.getFontWidth();
svgText.setFontWeight(fontWidth);
// Positionate font...
final String textSize = vmlTextBox.getXTextSize();
final String[] split = textSize.split(",");
float textWidth = Float.valueOf(split[0]);
float textHeight = Float.valueOf(split[1]);
svgText.setX(boxWidth - textWidth);
svgText.setY(boxHeigth - textHeight + CORRECTION_HANDCODE);
return svgText;
}
private com.wisemapping.xml.svgmap.Rect convert(Roundrect vmlRect) {
/*
* VML:
* <v:roundrect style="LEFT: 0px; WIDTH: 62px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 23px"
* arcsize="9830f" coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
* strokeweight="6762emu">
* <v:stroke dashstyle="solid"></v:stroke>
* <v:fill></v:fill>
* </v:roundrect>
*
* SVG:
* <rect style="cursor: move;" fill="#E0E5EF" stroke="#023BB9" stroke-width="0.5px" y="0" x="0" ry="2.7" rx="2.7"
* height="18" width="68"></rect>
*
*/
final com.wisemapping.xml.svgmap.Rect svgRect = new com.wisemapping.xml.svgmap.Rect();
final Style style = Style.parse(vmlRect.getStyle());
svgRect.setRy(2.7F);
svgRect.setRx(2.7F);
float width = style.getWidth();
svgRect.setWidth(String.valueOf(width));
float height = style.getHeight();
svgRect.setHeight(height);
String top = style.getTop();
svgRect.setY(Float.parseFloat(top));
String left = style.getLeft();
svgRect.setX(Float.parseFloat(left));
// Fill properties ...
final String fillColor = vmlRect.getFillcolor();
svgRect.setFill(fillColor);
// Stroke properties ...
final String strokeColor = vmlRect.getStrokecolor();
svgRect.setStroke(strokeColor);
svgRect.setStrokeWidth("0.5px");
return svgRect;
}
private com.wisemapping.xml.svgmap.Polyline convert(Polyline vmlPolyline) {
/*
* <v:polyline style="POSITION: absolute" rPoints="167.1, 100.0 177.1, 100.0 177.1, 130.5 182.1, 135.5 230.6, 135.5"
* filled="f" strokecolor="#495879" strokeweight=".75pt">
* <v:stroke opacity="1" dashstyle="solid"></v:stroke>
* </v:polyline>
*
* <polyline points="173.5,100 183.5,100 183.5,129 188.5,134 240,134" stroke-opacity="1" stroke="#495879"
* stroke-width="1px" fill="none"></polyline>
*/
final com.wisemapping.xml.svgmap.Polyline svgPolyline = svgObjectFactory.createPolyline();
final String rPoints = vmlPolyline.getXPoints();
svgPolyline.setPoints(rPoints);
final String strokeColor = vmlPolyline.getStrokecolor();
svgPolyline.setStroke(strokeColor);
// @todo: Take from SVG.
svgPolyline.setFill("none");
svgPolyline.setStrokeWidth("1px");
svgPolyline.setStrokeOpacity("1");
return svgPolyline;
}
public void toXml(OutputStream os) throws JAXBException {
final JAXBContext svgContext = JAXBContext.newInstance("com.wisemapping.xml.svgmap");
Marshaller m = svgContext.createMarshaller();
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
m.marshal(svgRootElem, os);
}
}

View File

@ -1,450 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.wisemapping.xml;
import com.wisemapping.xml.vmlmap.*;
import com.wisemapping.xml.vmlmap.Polyline;
import com.wisemapping.xml.vmlmap.Line;
import com.wisemapping.xml.vmlmap.Rect;
import com.wisemapping.xml.svgmap.*;
import com.wisemapping.xml.svgmap.ObjectFactory;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Unmarshaller;
import javax.xml.bind.Marshaller;
import java.io.*;
import java.util.List;
public class VmlToSvgConverter {
private ObjectFactory svgObjectFactory;
private static final int CORRECTION_HARDCODE = 5;
private Object svgRootElem;
public VmlToSvgConverter() {
this.svgObjectFactory = new ObjectFactory();
}
public void convert(final Reader vmlDocument) throws JAXBException, IOException {
final JAXBContext vmlContext = JAXBContext.newInstance("com.wisemapping.xml.vmlmap");
final Unmarshaller umarshaller = vmlContext.createUnmarshaller();
final Group rootElem = (Group) umarshaller.unmarshal(vmlDocument);
this.svgRootElem = convert(rootElem);
}
private Svg convert(Group g) {
final Svg svgElement = svgObjectFactory.createSvg();
svgElement.setPreserveAspectRatio("none");
/*
<v:group style="WIDTH: 1270px; POSITION: absolute; HEIGHT: 705px" coordsize="889,493" coordorigin="-445,-247">
<svgElement preserveAspectRatio="none" viewBox="-445.9 -221.9 891.8 443.8" height="634" width="1274" id="workspace" focusable="true">
*/
final String coordorigin = g.getCoordorigin();
String coordSize = g.getCoordsize();
svgElement.setViewBox(coordorigin + ", " + coordSize);
final Style style = Style.parse(g.getStyle());
float width = style.getWidth();
svgElement.setWidth(String.valueOf(width));
float height = style.getHeight();
svgElement.setHeight(String.valueOf(height));
// Convert connection lines ...
final List<Polyline> polylines = g.getPolyline();
final List<com.wisemapping.xml.svgmap.Polyline> svgPolylines = svgElement.getPolyline();
for (Polyline vmlPolyline : polylines) {
final com.wisemapping.xml.svgmap.Polyline svgPolyline = convert(vmlPolyline);
svgPolylines.add(svgPolyline);
}
final List<Line> vmlLines = g.getLine();
final List<com.wisemapping.xml.svgmap.Line> svgLines = svgElement.getLine();
for (Line vmlLine : vmlLines) {
final com.wisemapping.xml.svgmap.Line svgPolyline = convert(vmlLine);
svgLines.add(svgPolyline);
}
// Convert Topics ...
final List<Group> vmlTopics = g.getGroup();
final List<G> svgTopics = svgElement.getG();
for (Group topic : vmlTopics) {
G svgTopic = convertTopicGroup(topic);
svgTopics.add(svgTopic);
}
// Convert connectors ...
g.getOval();
return svgElement;
}
private G convertTopicGroup(final Group vmlTopic) {
/**
* <v:group style="LEFT: 222px; WIDTH: 100px; CURSOR: move; POSITION: absolute; TOP: -53px; HEIGHT: 100px" coordsize="100,100">
* <g transform="translate(225, -52) scale(1, 1)" height="100" width="100" focusable="true" preserveAspectRatio="none">
*/
final G svgTopic = new G();
final String styleStr = vmlTopic.getStyle();
final Style style = Style.parse(styleStr);
String transform = "translate(" + style.getLeft() + ", " + style.getTop() + ") scale(1, 1)";
svgTopic.setTransform(transform);
float width = style.getWidth();
svgTopic.setWidth(String.valueOf(width));
float height = style.getHeight();
svgTopic.setHeight(String.valueOf(height));
svgTopic.setPreserveAspectRatio("none");
// Convert InnerShape ...
final List<Roundrect> roundrects = vmlTopic.getRoundrect();
float rectWidth = 0;
float rectHeight = 0;
for (Roundrect vmlRect : roundrects) {
// Skip outerShape figure...
final Fill vmlFill = vmlRect.getFill();
if (vmlFill == null || !"0".equals(vmlFill.getOpacity())) {
final com.wisemapping.xml.svgmap.Rect svgRect = convert(vmlRect);
svgTopic.setRect(svgRect);
final Style rectStyle = Style.parse(vmlRect.getStyle());
rectWidth = rectStyle.getWidth();
rectHeight = rectStyle.getHeight();
}
}
final List<Rect> vmlRects = vmlTopic.getRect();
for (com.wisemapping.xml.vmlmap.Rect vmlRect : vmlRects) {
// Skip outerShape figure...
final Fill vmlFill = vmlRect.getFill();
if (vmlFill == null || !"0".equals(vmlFill.getOpacity())) {
final com.wisemapping.xml.svgmap.Rect svgRect = convert(vmlRect);
svgTopic.setRect(svgRect);
final Style rectStyle = Style.parse(vmlRect.getStyle());
rectWidth = rectStyle.getWidth();
rectHeight = rectStyle.getHeight();
}
}
final List<Line> vmlLines = vmlTopic.getLine();
for (final Line vmlLine : vmlLines) {
final String lineStyleStr = vmlLine.getStyle();
final Style lineStyle = Style.parse(lineStyleStr);
if (lineStyle.isVisible()) {
com.wisemapping.xml.svgmap.Line line = convert(vmlLine);
svgTopic.setLine(line);
} else {
// Shape is line...
final String from = vmlLine.getFrom();
String[] formPoints = from.split(",");
final String to = vmlLine.getTo();
String[] toPoints = to.split(",");
rectWidth = Float.parseFloat(formPoints[0]) - Float.parseFloat(toPoints[0]);
rectWidth = Math.abs(rectWidth);
rectHeight = Float.parseFloat(formPoints[1]);
}
}
// Convert connection ovals..
final List<Oval> vmlOvals = vmlTopic.getOval();
for (Oval vmlOval : vmlOvals) {
// Skip outerShape figure...
final Ellipse svgElipse = convert(vmlOval);
if (svgElipse != null) {
svgTopic.setEllipse(svgElipse);
}
}
// Convert Text ...
final List<Shape> vmlTextShape = vmlTopic.getShape();
final Text svgText = convertTextShape(vmlTextShape.get(0), rectWidth, rectHeight);
svgTopic.setText(svgText);
return svgTopic;
}
private com.wisemapping.xml.svgmap.Rect convert(Rect vmlRect) {
final com.wisemapping.xml.svgmap.Rect svgRect = new com.wisemapping.xml.svgmap.Rect();
final Style style = Style.parse(vmlRect.getStyle());
float width = style.getWidth();
svgRect.setWidth(String.valueOf(width));
float height = style.getHeight();
svgRect.setHeight(height);
String top = style.getTop();
svgRect.setY(Float.parseFloat(top));
String left = style.getLeft();
svgRect.setX(Float.parseFloat(left));
// Fill properties ...
final String fillColor = vmlRect.getFillcolor();
svgRect.setFill(fillColor);
// Stroke properties ...
final String strokeColor = vmlRect.getStrokecolor();
svgRect.setStroke(strokeColor);
svgRect.setStrokeWidth("0.5px");
return svgRect;
}
private Ellipse convert(final Oval vmlOval) {
/**
* <v:oval style="LEFT: 5px; VISIBILITY: hidden; WIDTH: 6px; POSITION: absolute; TOP: 5px; HEIGHT: 6px"
* coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9" strokeweight="6762emu">
* <v:stroke dashstyle="solid"></v:stroke>
* <v:fill></v:fill>
* </v:oval>
*
*
* SVG:
* <ellipse stroke="#023BB9" visibility="hidden" fill="#E0E5EF" stroke-width="0.5px" cy="3" cx="3" ry="3" rx="3"
* height="6" width="6"></ellipse>
*/
final Style style = Style.parse(vmlOval.getStyle());
Ellipse svgElipse = null;
if (style.isVisible()) {
svgElipse = new Ellipse();
float width = style.getWidth();
svgElipse.setWidth(width);
svgElipse.setRx(width / 2);
float height = style.getHeight();
svgElipse.setHeight(height);
svgElipse.setRy(height / 2);
String top = style.getTop();
svgElipse.setCy(Float.parseFloat(top) + (width / 2));
String left = style.getLeft();
svgElipse.setCx(Float.parseFloat(left) + (height / 2));
// Fill properties ...
final String fillColor = vmlOval.getFillcolor();
svgElipse.setFill(fillColor);
// Stroke properties ...
final String strokeColor = vmlOval.getStrokecolor();
svgElipse.setStroke(strokeColor);
svgElipse.setStrokeWidth("0.5px");
}
return svgElipse;
}
private com.wisemapping.xml.svgmap.Line convert(final Line vmlLine) {
/**
* VML:
* <v:line style="POSITION: absolute" from="0,0" to="157,-150" fillcolor="white" stroked="t" strokecolor="#495879"
* strokeweight="1px">
* <:stroke dashstyle="solid"></v:stroke>
* </v:line>
*
* SVG:
* <line y2="14" x2="49" y1="14" x1="-1" visibility="hidden" style="cursor: move;" stroke="#495879"
stroke-width="1px"></line>
*/
com.wisemapping.xml.svgmap.Line svgLine = new com.wisemapping.xml.svgmap.Line();
final String from = vmlLine.getFrom();
final String[] fromPoints = from.split(",");
svgLine.setX1(Float.parseFloat(fromPoints[0]));
svgLine.setY1(Float.parseFloat(fromPoints[1]));
final String to = vmlLine.getTo();
final String[] toPoints = to.split(",");
svgLine.setX2(Float.parseFloat(toPoints[0]));
svgLine.setY2(Float.parseFloat(toPoints[1]));
String strokeweight = vmlLine.getStrokeweight();
svgLine.setStrokeWidth(strokeweight);
String stokeColor = vmlLine.getStrokecolor();
svgLine.setStroke(stokeColor);
return svgLine;
}
private Text convertTextShape(Shape vmlTextShape, float boxWidth, float boxHeigth) {
/**
* <v:shape
* style="Z-INDEX: 10; LEFT: 9px; WIDTH: 130px; CURSOR: default; POSITION: absolute; TOP: 9px; HEIGHT: 1px; antialias: true"
* coordsize="100,100">
* <v:textbox
* style="MARGIN-TOP: 0.187pt; LEFT: auto; FONT: bold 19px verdana; MARGIN-LEFT: 0.25pt; OVERFLOW: visible; WIDTH: 138.531pt; COLOR: #023bb9; POSITION: absolute; TOP: auto; HEIGHT: 0.343pt"
* xFontScale="1.4" xTextSize="100.1,16.0" inset="0,0,0,0">
* <SPAN style="WIDTH: 100%; HEIGHT: 100%">
* <SPAN>Central Topic</SPAN>
* </SPAN>
* </v:textbox>
* </v:shape>
* SVG:
* <text x="9" y="19" style="cursor: default;" fill="#023BB9" font-weight="bold" font-style="normal"
* font-size="13.4375" font-family="verdana" focusable="true">Central Topic
* </text>
*/
final Text svgText = new Text();
Textbox vmlTextBox = vmlTextShape.getTextbox();
final String textBoxStyleStr = vmlTextBox.getStyle();
final Style textBoxStyle = Style.parse(textBoxStyleStr);
String fontStyle = svgText.getFontStyle();
svgText.setFontStyle(fontStyle);
// @todo: Take this hardcode from javascript ...
float fontSize = textBoxStyle.getFontSize();
float scale = vmlTextBox.getXFontScale();
float svgFontSize = fontSize / scale;
svgText.setFontSize(svgFontSize);
// Set text properties...
final String textValue = vmlTextBox.getSPAN().getSPAN();
svgText.setContent(textValue);
final String color = textBoxStyle.getColor();
svgText.setFill(color);
final String style = textBoxStyle.getFontWidth();
svgText.setFontWeight(style);
// Positionate font...
final String textSize = vmlTextBox.getXTextSize();
final String[] split = textSize.split(",");
float textWidth = Float.valueOf(split[0]);
float textHeight = Float.valueOf(split[1]);
svgText.setX(boxWidth - textWidth);
svgText.setY(boxHeigth - textHeight + CORRECTION_HARDCODE);
return svgText;
}
private com.wisemapping.xml.svgmap.Rect convert(Roundrect vmlRect) {
/*
* VML:
* <v:roundrect style="LEFT: 0px; WIDTH: 62px; CURSOR: move; POSITION: absolute; TOP: 0px; HEIGHT: 23px"
* arcsize="9830f" coordsize="21600,21600" fillcolor="#e0e5ef" stroked="t" strokecolor="#023bb9"
* strokeweight="6762emu">
* <v:stroke dashstyle="solid"></v:stroke>
* <v:fill></v:fill>
* </v:roundrect>
*
* SVG:
* <rect style="cursor: move;" fill="#E0E5EF" stroke="#023BB9" stroke-width="0.5px" y="0" x="0" ry="2.7" rx="2.7"
* height="18" width="68"></rect>
*
*/
final com.wisemapping.xml.svgmap.Rect svgRect = new com.wisemapping.xml.svgmap.Rect();
final Style style = Style.parse(vmlRect.getStyle());
svgRect.setRy(2.7F);
svgRect.setRx(2.7F);
float width = style.getWidth();
svgRect.setWidth(String.valueOf(width));
float height = style.getHeight();
svgRect.setHeight(height);
String top = style.getTop();
svgRect.setY(Float.parseFloat(top));
String left = style.getLeft();
svgRect.setX(Float.parseFloat(left));
// Fill properties ...
final String fillColor = vmlRect.getFillcolor();
svgRect.setFill(fillColor);
// Stroke properties ...
final String strokeColor = vmlRect.getStrokecolor();
svgRect.setStroke(strokeColor);
svgRect.setStrokeWidth("0.5px");
return svgRect;
}
private com.wisemapping.xml.svgmap.Polyline convert(Polyline vmlPolyline) {
/*
* <v:polyline style="POSITION: absolute" rPoints="167.1, 100.0 177.1, 100.0 177.1, 130.5 182.1, 135.5 230.6, 135.5"
* filled="f" strokecolor="#495879" strokeweight=".75pt">
* <v:stroke opacity="1" dashstyle="solid"></v:stroke>
* </v:polyline>
*
* <polyline points="173.5,100 183.5,100 183.5,129 188.5,134 240,134" stroke-opacity="1" stroke="#495879"
* stroke-width="1px" fill="none"></polyline>
*/
final com.wisemapping.xml.svgmap.Polyline svgPolyline = svgObjectFactory.createPolyline();
final String rPoints = vmlPolyline.getXPoints();
svgPolyline.setPoints(rPoints);
final String strokeColor = vmlPolyline.getStrokecolor();
svgPolyline.setStroke(strokeColor);
// @todo: Take from SVG.
svgPolyline.setFill("none");
svgPolyline.setStrokeWidth("1px");
svgPolyline.setStrokeOpacity("1");
return svgPolyline;
}
public void toXml(OutputStream os) throws JAXBException {
final JAXBContext svgContext = JAXBContext.newInstance("com.wisemapping.xml.svgmap");
Marshaller m = svgContext.createMarshaller();
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
m.marshal(svgRootElem, os);
}
public void toXml(Writer os) throws JAXBException {
final JAXBContext svgContext = JAXBContext.newInstance("com.wisemapping.xml.svgmap");
Marshaller m = svgContext.createMarshaller();
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
m.marshal(svgRootElem, os);
}
}

View File

@ -1,229 +0,0 @@
//
// 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.10 at 02:12:59 PM ART
//
package com.wisemapping.xml.freemind;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="COLOR" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="DESTINATION" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="ENDARROW" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="ENDINCLINATION" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="STARTARROW" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="STARTINCLINATION" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "arrowlink")
public class Arrowlink {
@XmlAttribute(name = "COLOR")
protected String color;
@XmlAttribute(name = "DESTINATION", required = true)
protected String destination;
@XmlAttribute(name = "ENDARROW")
protected String endarrow;
@XmlAttribute(name = "ENDINCLINATION")
protected String endinclination;
@XmlAttribute(name = "ID")
protected String id;
@XmlAttribute(name = "STARTARROW")
protected String startarrow;
@XmlAttribute(name = "STARTINCLINATION")
protected String startinclination;
/**
* Gets the value of the color property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCOLOR() {
return color;
}
/**
* Sets the value of the color property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCOLOR(String value) {
this.color = value;
}
/**
* Gets the value of the destination property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDESTINATION() {
return destination;
}
/**
* Sets the value of the destination property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDESTINATION(String value) {
this.destination = value;
}
/**
* Gets the value of the endarrow property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getENDARROW() {
return endarrow;
}
/**
* Sets the value of the endarrow property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setENDARROW(String value) {
this.endarrow = value;
}
/**
* Gets the value of the endinclination property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getENDINCLINATION() {
return endinclination;
}
/**
* Sets the value of the endinclination property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setENDINCLINATION(String value) {
this.endinclination = 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 startarrow property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSTARTARROW() {
return startarrow;
}
/**
* Sets the value of the startarrow property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSTARTARROW(String value) {
this.startarrow = value;
}
/**
* Gets the value of the startinclination property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSTARTINCLINATION() {
return startinclination;
}
/**
* Sets the value of the startinclination property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSTARTINCLINATION(String value) {
this.startinclination = value;
}
}

View File

@ -1,67 +0,0 @@
//
// 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.10 at 02:12:59 PM ART
//
package com.wisemapping.xml.freemind;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="COLOR" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "cloud")
public class Cloud {
@XmlAttribute(name = "COLOR")
protected String color;
/**
* Gets the value of the color property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCOLOR() {
return color;
}
/**
* Sets the value of the color property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCOLOR(String value) {
this.color = value;
}
}

View File

@ -1,121 +0,0 @@
//
// 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.10 at 02:12:59 PM ART
//
package com.wisemapping.xml.freemind;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="COLOR" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="STYLE" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="WIDTH" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "edge")
public class Edge {
@XmlAttribute(name = "COLOR")
protected String color;
@XmlAttribute(name = "STYLE")
protected String style;
@XmlAttribute(name = "WIDTH")
protected String width;
/**
* Gets the value of the color property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCOLOR() {
return color;
}
/**
* Sets the value of the color property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCOLOR(String value) {
this.color = value;
}
/**
* Gets the value of the style property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSTYLE() {
return style;
}
/**
* Sets the value of the style property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSTYLE(String value) {
this.style = value;
}
/**
* Gets the value of the width property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getWIDTH() {
return width;
}
/**
* Sets the value of the width property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setWIDTH(String value) {
this.width = value;
}
}

View File

@ -1,162 +0,0 @@
//
// 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.10 at 02:12:59 PM ART
//
package com.wisemapping.xml.freemind;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="BOLD">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="true"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/attribute>
* &lt;attribute name="ITALIC">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="true"/>
* &lt;enumeration value="false"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/attribute>
* &lt;attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="SIZE" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "font")
public class Font {
@XmlAttribute(name = "BOLD")
protected String bold;
@XmlAttribute(name = "ITALIC")
protected String italic;
@XmlAttribute(name = "NAME", required = true)
protected String name;
@XmlAttribute(name = "SIZE", required = true)
protected BigInteger size;
/**
* Gets the value of the bold property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBOLD() {
return bold;
}
/**
* Sets the value of the bold property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBOLD(String value) {
this.bold = value;
}
/**
* Gets the value of the italic property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getITALIC() {
return italic;
}
/**
* Sets the value of the italic property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setITALIC(String value) {
this.italic = value;
}
/**
* 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 size property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getSIZE() {
return size;
}
/**
* Sets the value of the size property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setSIZE(BigInteger value) {
this.size = value;
}
}

View File

@ -1,126 +0,0 @@
//
// 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.10 at 02:12:59 PM ART
//
package com.wisemapping.xml.freemind;
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="{}Parameters" minOccurs="0"/>
* &lt;element ref="{}text" minOccurs="0"/>
* &lt;/sequence>
* &lt;attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"parameters",
"text"
})
@XmlRootElement(name = "hook")
public class Hook {
@XmlElement(name = "Parameters")
protected Parameters parameters;
protected String text;
@XmlAttribute(name = "NAME", required = true)
protected String name;
/**
* Gets the value of the parameters property.
*
* @return
* possible object is
* {@link Parameters }
*
*/
public Parameters getParameters() {
return parameters;
}
/**
* Sets the value of the parameters property.
*
* @param value
* allowed object is
* {@link Parameters }
*
*/
public void setParameters(Parameters value) {
this.parameters = 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;
}
/**
* 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;
}
}

View File

@ -1,79 +0,0 @@
//
// 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.10 at 02:12:59 PM ART
//
package com.wisemapping.xml.freemind;
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.XmlAnyElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
/**
* <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;any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"any"
})
@XmlRootElement(name = "html")
public class Html {
@XmlAnyElement
protected List<Element> any;
/**
* Gets the value of the any 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 any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
*
*
*/
public List<Element> getAny() {
if (any == null) {
any = new ArrayList<Element>();
}
return this.any;
}
}

View File

@ -1,67 +0,0 @@
//
// 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.10 at 02:12:59 PM ART
//
package com.wisemapping.xml.freemind;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="BUILTIN" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "icon")
public class Icon {
@XmlAttribute(name = "BUILTIN", required = true)
protected String builtin;
/**
* Gets the value of the builtin property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBUILTIN() {
return builtin;
}
/**
* Sets the value of the builtin property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBUILTIN(String value) {
this.builtin = value;
}
}

View File

@ -1,99 +0,0 @@
//
// 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.10 at 02:12:59 PM ART
//
package com.wisemapping.xml.freemind;
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="{}node"/>
* &lt;/sequence>
* &lt;attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"node"
})
@XmlRootElement(name = "map")
public class Map {
@XmlElement(required = true)
protected Node node;
@XmlAttribute(required = true)
protected String version;
/**
* Gets the value of the node property.
*
* @return
* possible object is
* {@link Node }
*
*/
public Node getNode() {
return node;
}
/**
* Sets the value of the node property.
*
* @param value
* allowed object is
* {@link Node }
*
*/
public void setNode(Node value) {
this.node = 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,466 +0,0 @@
//
// 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.10 at 02:12:59 PM ART
//
package com.wisemapping.xml.freemind;
import java.math.BigInteger;
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.XmlElements;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for anonymous complex type.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;choice maxOccurs="unbounded" minOccurs="0">
* &lt;element ref="{}arrowlink"/>
* &lt;element ref="{}cloud"/>
* &lt;element ref="{}edge"/>
* &lt;element ref="{}font"/>
* &lt;element ref="{}hook"/>
* &lt;element ref="{}icon"/>
* &lt;element ref="{}node"/>
* &lt;element ref="{}richcontent"/>
* &lt;/choice>
* &lt;attribute name="BACKGROUND_COLOR" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="COLOR" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="FOLDED">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="true"/>
* &lt;enumeration value="false"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/attribute>
* &lt;attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" />
* &lt;attribute name="LINK" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="POSITION">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="left"/>
* &lt;enumeration value="right"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/attribute>
* &lt;attribute name="STYLE" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="TEXT" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="CREATED" type="{http://www.w3.org/2001/XMLSchema}integer" />
* &lt;attribute name="MODIFIED" type="{http://www.w3.org/2001/XMLSchema}integer" />
* &lt;attribute name="HGAP" type="{http://www.w3.org/2001/XMLSchema}integer" />
* &lt;attribute name="VGAP" type="{http://www.w3.org/2001/XMLSchema}integer" />
* &lt;attribute name="VSHIFT" type="{http://www.w3.org/2001/XMLSchema}integer" />
* &lt;attribute name="ENCRYPTED_CONTENT" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"arrowlinkOrCloudOrEdge"
})
@XmlRootElement(name = "node")
public class Node {
@XmlElements({
@XmlElement(name = "icon", type = Icon.class),
@XmlElement(name = "node", type = Node.class),
@XmlElement(name = "edge", type = Edge.class),
@XmlElement(name = "arrowlink", type = Arrowlink.class),
@XmlElement(name = "font", type = Font.class),
@XmlElement(name = "hook", type = Hook.class),
@XmlElement(name = "richcontent", type = Richcontent.class),
@XmlElement(name = "cloud", type = Cloud.class)
})
protected List<Object> arrowlinkOrCloudOrEdge;
@XmlAttribute(name = "BACKGROUND_COLOR")
protected String backgroundcolor;
@XmlAttribute(name = "COLOR")
protected String color;
@XmlAttribute(name = "FOLDED")
protected String folded;
@XmlAttribute(name = "ID")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
@XmlAttribute(name = "LINK")
protected String link;
@XmlAttribute(name = "POSITION")
protected String position;
@XmlAttribute(name = "STYLE")
protected String style;
@XmlAttribute(name = "TEXT", required = true)
protected String text;
@XmlAttribute(name = "CREATED")
protected BigInteger created;
@XmlAttribute(name = "MODIFIED")
protected BigInteger modified;
@XmlAttribute(name = "HGAP")
protected BigInteger hgap;
@XmlAttribute(name = "VGAP")
protected BigInteger vgap;
@XmlAttribute(name = "VSHIFT")
protected BigInteger vshift;
@XmlAttribute(name = "ENCRYPTED_CONTENT")
protected String encryptedcontent;
// Wise Extensions
@XmlAttribute(name = "wCOORDS")
protected String wcoords;
@XmlAttribute(name = "wORDER")
protected BigInteger worder;
/**
* Gets the value of the arrowlinkOrCloudOrEdge property.
* <p/>
* <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 arrowlinkOrCloudOrEdge property.
* <p/>
* <p/>
* For example, to add a new item, do as follows:
* <pre>
* getArrowlinkOrCloudOrEdge().add(newItem);
* </pre>
* <p/>
* <p/>
* <p/>
* Objects of the following type(s) are allowed in the list
* {@link Icon }
* {@link Node }
* {@link Edge }
* {@link Arrowlink }
* {@link Font }
* {@link Hook }
* {@link Richcontent }
* {@link Cloud }
*/
public List<Object> getArrowlinkOrCloudOrEdge() {
if (arrowlinkOrCloudOrEdge == null) {
arrowlinkOrCloudOrEdge = new ArrayList<Object>();
}
return this.arrowlinkOrCloudOrEdge;
}
/**
* Gets the value of the backgroundcolor property.
*
* @return possible object is
* {@link String }
*/
public String getBACKGROUNDCOLOR() {
return backgroundcolor;
}
/**
* Sets the value of the backgroundcolor property.
*
* @param value allowed object is
* {@link String }
*/
public void setBACKGROUNDCOLOR(String value) {
this.backgroundcolor = value;
}
/**
* Gets the value of the color property.
*
* @return possible object is
* {@link String }
*/
public String getCOLOR() {
return color;
}
public BigInteger getWorder() {
return worder;
}
public void setWorder(BigInteger worder) {
this.worder = worder;
}
/**
* Sets the value of the color property.
*
* @param value allowed object is
* {@link String }
*/
public void setCOLOR(String value) {
this.color = value;
}
/**
* Gets the value of the folded property.
*
* @return possible object is
* {@link String }
*/
public String getFOLDED() {
return folded;
}
/**
* Sets the value of the folded property.
*
* @param value allowed object is
* {@link String }
*/
public void setFOLDED(String value) {
this.folded = 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 link property.
*
* @return possible object is
* {@link String }
*/
public String getLINK() {
return link;
}
/**
* Sets the value of the link property.
*
* @param value allowed object is
* {@link String }
*/
public void setLINK(String value) {
this.link = 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 style property.
*
* @return possible object is
* {@link String }
*/
public String getSTYLE() {
return style;
}
/**
* Sets the value of the style property.
*
* @param value allowed object is
* {@link String }
*/
public void setSTYLE(String value) {
this.style = 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;
}
/**
* Gets the value of the created property.
*
* @return possible object is
* {@link BigInteger }
*/
public BigInteger getCREATED() {
return created;
}
/**
* Sets the value of the created property.
*
* @param value allowed object is
* {@link BigInteger }
*/
public void setCREATED(BigInteger value) {
this.created = value;
}
/**
* Gets the value of the modified property.
*
* @return possible object is
* {@link BigInteger }
*/
public BigInteger getMODIFIED() {
return modified;
}
public String getWcoords() {
return wcoords;
}
public void setWcoords(String wcoords) {
this.wcoords = wcoords;
}
/**
* Sets the value of the modified property.
*
* @param value allowed object is
* {@link BigInteger }
*/
public void setMODIFIED(BigInteger value) {
this.modified = value;
}
/**
* Gets the value of the hgap property.
*
* @return possible object is
* {@link BigInteger }
*/
public BigInteger getHGAP() {
return hgap;
}
/**
* Sets the value of the hgap property.
*
* @param value allowed object is
* {@link BigInteger }
*/
public void setHGAP(BigInteger value) {
this.hgap = value;
}
/**
* Gets the value of the vgap property.
*
* @return possible object is
* {@link BigInteger }
*/
public BigInteger getVGAP() {
return vgap;
}
/**
* Sets the value of the vgap property.
*
* @param value allowed object is
* {@link BigInteger }
*/
public void setVGAP(BigInteger value) {
this.vgap = value;
}
/**
* Gets the value of the vshift property.
*
* @return possible object is
* {@link BigInteger }
*/
public BigInteger getVSHIFT() {
return vshift;
}
/**
* Sets the value of the vshift property.
*
* @param value allowed object is
* {@link BigInteger }
*/
public void setVSHIFT(BigInteger value) {
this.vshift = value;
}
/**
* Gets the value of the encryptedcontent property.
*
* @return possible object is
* {@link String }
*/
public String getENCRYPTEDCONTENT() {
return encryptedcontent;
}
/**
* Sets the value of the encryptedcontent property.
*
* @param value allowed object is
* {@link String }
*/
public void setENCRYPTEDCONTENT(String value) {
this.encryptedcontent = value;
}
}

View File

@ -1,140 +0,0 @@
//
// 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.10 at 02:12:59 PM ART
//
package com.wisemapping.xml.freemind;
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.freemind 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 _Text_QNAME = new QName("", "text");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.wisemapping.xml.freemind
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link Cloud }
*
*/
public Cloud createCloud() {
return new Cloud();
}
/**
* Create an instance of {@link Richcontent }
*
*/
public Richcontent createRichcontent() {
return new Richcontent();
}
/**
* Create an instance of {@link Hook }
*
*/
public Hook createHook() {
return new Hook();
}
/**
* Create an instance of {@link Arrowlink }
*
*/
public Arrowlink createArrowlink() {
return new Arrowlink();
}
/**
* Create an instance of {@link Parameters }
*
*/
public Parameters createParameters() {
return new Parameters();
}
/**
* Create an instance of {@link Edge }
*
*/
public Edge createEdge() {
return new Edge();
}
/**
* Create an instance of {@link Html }
*
*/
public Html createHtml() {
return new Html();
}
/**
* Create an instance of {@link Node }
*
*/
public Node createNode() {
return new Node();
}
/**
* 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 Font }
*
*/
public Font createFont() {
return new Font();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "", name = "text")
public JAXBElement<String> createText(String value) {
return new JAXBElement<String>(_Text_QNAME, String.class, null, value);
}
}

View File

@ -1,68 +0,0 @@
//
// 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.10 at 02:12:59 PM ART
//
package com.wisemapping.xml.freemind;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="REMINDUSERAT" type="{http://www.w3.org/2001/XMLSchema}integer" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "Parameters")
public class Parameters {
@XmlAttribute(name = "REMINDUSERAT")
protected BigInteger reminduserat;
/**
* Gets the value of the reminduserat property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getREMINDUSERAT() {
return reminduserat;
}
/**
* Sets the value of the reminduserat property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setREMINDUSERAT(BigInteger value) {
this.reminduserat = value;
}
}

View File

@ -1,106 +0,0 @@
//
// 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.10 at 02:12:59 PM ART
//
package com.wisemapping.xml.freemind;
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="{}html"/>
* &lt;/sequence>
* &lt;attribute name="TYPE" use="required">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="NODE"/>
* &lt;enumeration value="NOTE"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/attribute>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"html"
})
@XmlRootElement(name = "richcontent")
public class Richcontent {
@XmlElement(required = true)
protected Html html;
@XmlAttribute(name = "TYPE", required = true)
protected String type;
/**
* Gets the value of the html property.
*
* @return
* possible object is
* {@link Html }
*
*/
public Html getHtml() {
return html;
}
/**
* Sets the value of the html property.
*
* @param value
* allowed object is
* {@link Html }
*
*/
public void setHtml(Html value) {
this.html = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTYPE() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTYPE(String value) {
this.type = value;
}
}

View File

@ -1,65 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
attributeFormDefault="unqualified"
elementFormDefault="qualified"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<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"/>
<xsd:complexType name="topicType">
<xsd:sequence>
<xsd:element minOccurs='0' maxOccurs='unbounded' type="icon" name="icon"/>
<xsd:element minOccurs='0' maxOccurs='1' type="link" name="link"/>
<xsd:element minOccurs='0' maxOccurs='1' type="note" name="note"/>
<xsd:element minOccurs='0' maxOccurs='unbounded' ref="topic"/>
</xsd:sequence>
<xsd:attribute name="text" type="xsd:string"/>
<xsd:attribute name="shape" type="xsd:string"/>
<xsd:attribute name="fontStyle" type="xsd:string"/>
<xsd:attribute name="bgColor" type="xsd:string"/>
<xsd:attribute name="brColor" type="xsd:string"/>
<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: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:attribute name="startArrow" type="xsd:boolean"/>
</xsd:complexType>
</xsd:schema>

View File

@ -1,92 +0,0 @@
//
// 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.16 at 11:06:29 AM 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;
}
}

View File

@ -1,92 +0,0 @@
//
// 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.16 at 11:06:29 AM 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="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,165 +0,0 @@
//
// 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.16 at 11:06:29 AM 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;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,65 +0,0 @@
//
// 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.16 at 11:06:29 AM 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;
}
}

View File

@ -1,110 +0,0 @@
//
// 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.16 at 11:06:29 AM 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 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 Note }
*
*/
public Note createNote() {
return new Note();
}
/**
* Create an instance of {@link Icon }
*
*/
public Icon createIcon() {
return new Icon();
}
/**
* Create an instance of {@link TopicType }
*
*/
public TopicType createTopicType() {
return new TopicType();
}
/**
* Create an instance of {@link Map }
*
*/
public Map createMap() {
return new Map();
}
/**
* Create an instance of {@link RelationshipType }
*
*/
public RelationshipType createRelationshipType() {
return new RelationshipType();
}
/**
* Create an instance of {@link Link }
*
*/
public Link createLink() {
return new Link();
}
/**
* 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

@ -1,254 +0,0 @@
//
// 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.16 at 11:06:29 AM 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;attribute name="startArrow" 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;
@XmlAttribute
protected Boolean startArrow;
/**
* 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;
}
/**
* Gets the value of the startArrow property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isStartArrow() {
return startArrow;
}
/**
* Sets the value of the startArrow property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setStartArrow(Boolean value) {
this.startArrow = value;
}
}

View File

@ -1,431 +0,0 @@
//
// 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.16 at 11:06:29 AM 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.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

@ -1,269 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:27:07 PM ART
//
package com.wisemapping.xml.svgmap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for anonymous complex type.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="cx" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
* &lt;attribute name="cy" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
* &lt;attribute name="fill" use="required" type="{http://www.w3.org/2001/XMLSchema}string" fixed="#E0E5EF" />
* &lt;attribute name="height" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
* &lt;attribute name="rx" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
* &lt;attribute name="ry" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
* &lt;attribute name="stroke" use="required" type="{http://www.w3.org/2001/XMLSchema}string" fixed="#023BB9" />
* &lt;attribute name="stroke-width" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
* &lt;attribute name="visibility" use="required">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* &lt;enumeration value="hidden"/>
* &lt;enumeration value="visible"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/attribute>
* &lt;attribute name="width" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "ellipse")
public class Ellipse {
@XmlAttribute(required = true)
protected float cx;
@XmlAttribute(required = true)
protected float cy;
@XmlAttribute(required = true)
protected String fill;
@XmlAttribute(required = true)
protected float height;
@XmlAttribute(required = true)
protected float rx;
@XmlAttribute(required = true)
protected float ry;
@XmlAttribute(required = true)
protected String stroke;
@XmlAttribute(name = "stroke-width", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String strokeWidth;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String visibility;
@XmlAttribute(required = true)
protected float width;
/**
* Gets the value of the cx property.
*/
public float getCx() {
return cx;
}
/**
* Sets the value of the cx property.
*/
public void setCx(float value) {
this.cx = value;
}
/**
* Gets the value of the cy property.
*/
public float getCy() {
return cy;
}
/**
* Sets the value of the cy property.
*/
public void setCy(float value) {
this.cy = value;
}
/**
* Gets the value of the fill property.
*
* @return possible object is
* {@link String }
*/
public String getFill() {
if (fill == null) {
return "#E0E5EF";
} else {
return fill;
}
}
/**
* Sets the value of the fill property.
*
* @param value allowed object is
* {@link String }
*/
public void setFill(String value) {
this.fill = value;
}
/**
* Gets the value of the height property.
*/
public float getHeight() {
return height;
}
/**
* Sets the value of the height property.
*/
public void setHeight(float value) {
this.height = value;
}
/**
* Gets the value of the rx property.
*/
public float getRx() {
return rx;
}
/**
* Sets the value of the rx property.
*/
public void setRx(float value) {
this.rx = value;
}
/**
* Gets the value of the ry property.
*/
public float getRy() {
return ry;
}
/**
* Sets the value of the ry property.
*/
public void setRy(float value) {
this.ry = value;
}
/**
* Gets the value of the stroke property.
*
* @return possible object is
* {@link String }
*/
public String getStroke() {
if (stroke == null) {
return "#023BB9";
} else {
return stroke;
}
}
/**
* Sets the value of the stroke property.
*
* @param value allowed object is
* {@link String }
*/
public void setStroke(String value) {
this.stroke = value;
}
/**
* Gets the value of the strokeWidth property.
*
* @return possible object is
* {@link String }
*/
public String getStrokeWidth() {
return strokeWidth;
}
/**
* Sets the value of the strokeWidth property.
*
* @param value allowed object is
* {@link String }
*/
public void setStrokeWidth(String value) {
this.strokeWidth = value;
}
/**
* Gets the value of the visibility property.
*
* @return possible object is
* {@link String }
*/
public String getVisibility() {
return visibility;
}
/**
* Sets the value of the visibility property.
*
* @param value allowed object is
* {@link String }
*/
public void setVisibility(String value) {
this.visibility = value;
}
/**
* Gets the value of the width property.
*/
public float getWidth() {
return width;
}
/**
* Sets the value of the width property.
*/
public void setWidth(float value) {
this.width = value;
}
}

View File

@ -1,288 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:27:07 PM ART
//
package com.wisemapping.xml.svgmap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for anonymous complex type.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;choice>
* &lt;element ref="{http://www.w3.org/2000/svg}ellipse"/>
* &lt;element ref="{http://www.w3.org/2000/svg}line"/>
* &lt;element ref="{http://www.w3.org/2000/svg}rect"/>
* &lt;element ref="{http://www.w3.org/2000/svg}text"/>
* &lt;/choice>
* &lt;attribute name="focusable" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="true" />
* &lt;attribute name="height" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="100" />
* &lt;attribute name="preserveAspectRatio" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="none" />
* &lt;attribute name="transform" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="width" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="100" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"ellipse",
"line",
"rect",
"text"
})
@XmlRootElement(name = "g")
public class G {
protected Ellipse ellipse;
protected Line line;
protected Rect rect;
protected Text text;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String focusable;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String height;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String preserveAspectRatio;
@XmlAttribute(required = true)
protected String transform;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String width;
/**
* Gets the value of the ellipse property.
*
* @return possible object is
* {@link Ellipse }
*/
public Ellipse getEllipse() {
return ellipse;
}
/**
* Sets the value of the ellipse property.
*
* @param value allowed object is
* {@link Ellipse }
*/
public void setEllipse(Ellipse value) {
this.ellipse = value;
}
/**
* Gets the value of the line property.
*
* @return possible object is
* {@link Line }
*/
public Line getLine() {
return line;
}
/**
* Sets the value of the line property.
*
* @param value allowed object is
* {@link Line }
*/
public void setLine(Line value) {
this.line = value;
}
/**
* Gets the value of the rect property.
*
* @return possible object is
* {@link Rect }
*/
public Rect getRect() {
return rect;
}
/**
* Sets the value of the rect property.
*
* @param value allowed object is
* {@link Rect }
*/
public void setRect(Rect value) {
this.rect = value;
}
/**
* Gets the value of the text property.
*
* @return possible object is
* {@link Text }
*/
public Text getText() {
return text;
}
/**
* Sets the value of the text property.
*
* @param value allowed object is
* {@link Text }
*/
public void setText(Text value) {
this.text = value;
}
/**
* Gets the value of the focusable property.
*
* @return possible object is
* {@link String }
*/
public String getFocusable() {
if (focusable == null) {
return "true";
} else {
return focusable;
}
}
/**
* Sets the value of the focusable property.
*
* @param value allowed object is
* {@link String }
*/
public void setFocusable(String value) {
this.focusable = value;
}
/**
* Gets the value of the height property.
*
* @return possible object is
* {@link String }
*/
public String getHeight() {
if (height == null) {
return "100";
} else {
return height;
}
}
/**
* Sets the value of the height property.
*
* @param value allowed object is
* {@link String }
*/
public void setHeight(String value) {
this.height = value;
}
/**
* Gets the value of the preserveAspectRatio property.
*
* @return possible object is
* {@link String }
*/
public String getPreserveAspectRatio() {
if (preserveAspectRatio == null) {
return "none";
} else {
return preserveAspectRatio;
}
}
/**
* Sets the value of the preserveAspectRatio property.
*
* @param value allowed object is
* {@link String }
*/
public void setPreserveAspectRatio(String value) {
this.preserveAspectRatio = value;
}
/**
* Gets the value of the transform property.
*
* @return possible object is
* {@link String }
*/
public String getTransform() {
return transform;
}
/**
* Sets the value of the transform property.
*
* @param value allowed object is
* {@link String }
*/
public void setTransform(String value) {
this.transform = value;
}
/**
* Gets the value of the width property.
*
* @return possible object is
* {@link String }
*/
public String getWidth() {
if (width == null) {
return "100";
} else {
return width;
}
}
/**
* Sets the value of the width property.
*
* @param value allowed object is
* {@link String }
*/
public void setWidth(String value) {
this.width = value;
}
}

View File

@ -1,278 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:27:07 PM ART
//
package com.wisemapping.xml.svgmap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for anonymous complex type.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="fill-opacity" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
* &lt;attribute name="stroke" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="stroke-opacity" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
* &lt;attribute name="stroke-width" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="1px" />
* &lt;attribute name="style" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="visibility">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* &lt;enumeration value="hidden"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/attribute>
* &lt;attribute name="x1" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
* &lt;attribute name="x2" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
* &lt;attribute name="y1" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
* &lt;attribute name="y2" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "line")
public class Line {
@XmlAttribute(name = "fill-opacity")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String fillOpacity;
@XmlAttribute(required = true)
protected String stroke;
@XmlAttribute(name = "stroke-opacity")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String strokeOpacity;
@XmlAttribute(name = "stroke-width", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String strokeWidth;
@XmlAttribute
protected String style;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String visibility;
@XmlAttribute(required = true)
protected float x1;
@XmlAttribute(required = true)
protected float x2;
@XmlAttribute(required = true)
protected float y1;
@XmlAttribute(required = true)
protected float y2;
/**
* Gets the value of the fillOpacity property.
*
* @return possible object is
* {@link String }
*/
public String getFillOpacity() {
return fillOpacity;
}
/**
* Sets the value of the fillOpacity property.
*
* @param value allowed object is
* {@link String }
*/
public void setFillOpacity(String value) {
this.fillOpacity = value;
}
/**
* Gets the value of the stroke property.
*
* @return possible object is
* {@link String }
*/
public String getStroke() {
return stroke;
}
/**
* Sets the value of the stroke property.
*
* @param value allowed object is
* {@link String }
*/
public void setStroke(String value) {
this.stroke = value;
}
/**
* Gets the value of the strokeOpacity property.
*
* @return possible object is
* {@link String }
*/
public String getStrokeOpacity() {
return strokeOpacity;
}
/**
* Sets the value of the strokeOpacity property.
*
* @param value allowed object is
* {@link String }
*/
public void setStrokeOpacity(String value) {
this.strokeOpacity = value;
}
/**
* Gets the value of the strokeWidth property.
*
* @return possible object is
* {@link String }
*/
public String getStrokeWidth() {
if (strokeWidth == null) {
return "1px";
} else {
return strokeWidth;
}
}
/**
* Sets the value of the strokeWidth property.
*
* @param value allowed object is
* {@link String }
*/
public void setStrokeWidth(String value) {
this.strokeWidth = value;
}
/**
* Gets the value of the style property.
*
* @return possible object is
* {@link String }
*/
public String getStyle() {
return style;
}
/**
* Sets the value of the style property.
*
* @param value allowed object is
* {@link String }
*/
public void setStyle(String value) {
this.style = value;
}
/**
* Gets the value of the visibility property.
*
* @return possible object is
* {@link String }
*/
public String getVisibility() {
return visibility;
}
/**
* Sets the value of the visibility property.
*
* @param value allowed object is
* {@link String }
*/
public void setVisibility(String value) {
this.visibility = value;
}
/**
* Gets the value of the x1 property.
*/
public float getX1() {
return x1;
}
/**
* Sets the value of the x1 property.
*/
public void setX1(float value) {
this.x1 = value;
}
/**
* Gets the value of the x2 property.
*/
public float getX2() {
return x2;
}
/**
* Sets the value of the x2 property.
*/
public void setX2(float value) {
this.x2 = value;
}
/**
* Gets the value of the y1 property.
*/
public float getY1() {
return y1;
}
/**
* Sets the value of the y1 property.
*/
public void setY1(float value) {
this.y1 = value;
}
/**
* Gets the value of the y2 property.
*/
public float getY2() {
return y2;
}
/**
* Sets the value of the y2 property.
*/
public void setY2(float value) {
this.y2 = value;
}
}

View File

@ -1,104 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:27:07 PM ART
//
package com.wisemapping.xml.svgmap;
import javax.xml.bind.annotation.XmlRegistry;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the com.mindmap.xml.svgmap package.
* <p>An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*/
@XmlRegistry
public class ObjectFactory {
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.mindmap.xml.svgmap
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link Rect }
*/
public Rect createRect() {
return new Rect();
}
/**
* Create an instance of {@link Svg }
*/
public Svg createSvg() {
return new Svg();
}
/**
* Create an instance of {@link Text }
*/
public Text createText() {
return new Text();
}
/**
* Create an instance of {@link Ellipse }
*/
public Ellipse createEllipse() {
return new Ellipse();
}
/**
* Create an instance of {@link Line }
*/
public Line createLine() {
return new Line();
}
/**
* Create an instance of {@link Polyline }
*/
public Polyline createPolyline() {
return new Polyline();
}
/**
* Create an instance of {@link G }
*/
public G createG() {
return new G();
}
}

View File

@ -1,239 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:27:07 PM ART
//
package com.wisemapping.xml.svgmap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for anonymous complex type.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="fill" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="none" />
* &lt;attribute name="fill-opacity" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
* &lt;attribute name="points" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="stroke" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="stroke-opacity" use="required">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* &lt;enumeration value="0.4"/>
* &lt;enumeration value="1"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/attribute>
* &lt;attribute name="stroke-width" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="1px" />
* &lt;attribute name="visibility" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "polyline")
public class Polyline {
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String fill;
@XmlAttribute(name = "fill-opacity")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String fillOpacity;
@XmlAttribute
protected String points;
@XmlAttribute(required = true)
protected String stroke;
@XmlAttribute(name = "stroke-opacity", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String strokeOpacity;
@XmlAttribute(name = "stroke-width", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String strokeWidth;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String visibility;
/**
* Gets the value of the fill property.
*
* @return possible object is
* {@link String }
*/
public String getFill() {
if (fill == null) {
return "none";
} else {
return fill;
}
}
/**
* Sets the value of the fill property.
*
* @param value allowed object is
* {@link String }
*/
public void setFill(String value) {
this.fill = value;
}
/**
* Gets the value of the fillOpacity property.
*
* @return possible object is
* {@link String }
*/
public String getFillOpacity() {
return fillOpacity;
}
/**
* Sets the value of the fillOpacity property.
*
* @param value allowed object is
* {@link String }
*/
public void setFillOpacity(String value) {
this.fillOpacity = value;
}
/**
* Gets the value of the points property.
*
* @return possible object is
* {@link String }
*/
public String getPoints() {
return points;
}
/**
* Sets the value of the points property.
*
* @param value allowed object is
* {@link String }
*/
public void setPoints(String value) {
this.points = value;
}
/**
* Gets the value of the stroke property.
*
* @return possible object is
* {@link String }
*/
public String getStroke() {
return stroke;
}
/**
* Sets the value of the stroke property.
*
* @param value allowed object is
* {@link String }
*/
public void setStroke(String value) {
this.stroke = value;
}
/**
* Gets the value of the strokeOpacity property.
*
* @return possible object is
* {@link String }
*/
public String getStrokeOpacity() {
return strokeOpacity;
}
/**
* Sets the value of the strokeOpacity property.
*
* @param value allowed object is
* {@link String }
*/
public void setStrokeOpacity(String value) {
this.strokeOpacity = value;
}
/**
* Gets the value of the strokeWidth property.
*
* @return possible object is
* {@link String }
*/
public String getStrokeWidth() {
if (strokeWidth == null) {
return "1px";
} else {
return strokeWidth;
}
}
/**
* Sets the value of the strokeWidth property.
*
* @param value allowed object is
* {@link String }
*/
public void setStrokeWidth(String value) {
this.strokeWidth = value;
}
/**
* Gets the value of the visibility property.
*
* @return possible object is
* {@link String }
*/
public String getVisibility() {
return visibility;
}
/**
* Sets the value of the visibility property.
*
* @param value allowed object is
* {@link String }
*/
public void setVisibility(String value) {
this.visibility = value;
}
}

View File

@ -1,341 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:27:07 PM ART
//
package com.wisemapping.xml.svgmap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for anonymous complex type.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="fill" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="fill-opacity" type="{http://www.w3.org/2001/XMLSchema}float" />
* &lt;attribute name="height" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
* &lt;attribute name="rx" type="{http://www.w3.org/2001/XMLSchema}float" />
* &lt;attribute name="ry" type="{http://www.w3.org/2001/XMLSchema}float" />
* &lt;attribute name="stroke" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="stroke-opacity" type="{http://www.w3.org/2001/XMLSchema}float" />
* &lt;attribute name="stroke-width" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="style" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="visibility" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
* &lt;attribute name="width" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
* &lt;attribute name="x" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
* &lt;attribute name="y" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "rect")
public class Rect {
@XmlAttribute(required = true)
protected String fill;
@XmlAttribute(name = "fill-opacity")
protected Float fillOpacity;
@XmlAttribute(required = true)
protected float height;
@XmlAttribute
protected Float rx;
@XmlAttribute
protected Float ry;
@XmlAttribute(required = true)
protected String stroke;
@XmlAttribute(name = "stroke-opacity")
protected Float strokeOpacity;
@XmlAttribute(name = "stroke-width", required = true)
protected String strokeWidth;
@XmlAttribute
protected String style;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String visibility;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String width;
@XmlAttribute(required = true)
protected float x;
@XmlAttribute(required = true)
protected float y;
/**
* Gets the value of the fill property.
*
* @return possible object is
* {@link String }
*/
public String getFill() {
return fill;
}
/**
* Sets the value of the fill property.
*
* @param value allowed object is
* {@link String }
*/
public void setFill(String value) {
this.fill = value;
}
/**
* Gets the value of the fillOpacity property.
*
* @return possible object is
* {@link Float }
*/
public Float getFillOpacity() {
return fillOpacity;
}
/**
* Sets the value of the fillOpacity property.
*
* @param value allowed object is
* {@link Float }
*/
public void setFillOpacity(Float value) {
this.fillOpacity = value;
}
/**
* Gets the value of the height property.
*/
public float getHeight() {
return height;
}
/**
* Sets the value of the height property.
*/
public void setHeight(float value) {
this.height = value;
}
/**
* Gets the value of the rx property.
*
* @return possible object is
* {@link Float }
*/
public Float getRx() {
return rx;
}
/**
* Sets the value of the rx property.
*
* @param value allowed object is
* {@link Float }
*/
public void setRx(Float value) {
this.rx = value;
}
/**
* Gets the value of the ry property.
*
* @return possible object is
* {@link Float }
*/
public Float getRy() {
return ry;
}
/**
* Sets the value of the ry property.
*
* @param value allowed object is
* {@link Float }
*/
public void setRy(Float value) {
this.ry = value;
}
/**
* Gets the value of the stroke property.
*
* @return possible object is
* {@link String }
*/
public String getStroke() {
return stroke;
}
/**
* Sets the value of the stroke property.
*
* @param value allowed object is
* {@link String }
*/
public void setStroke(String value) {
this.stroke = value;
}
/**
* Gets the value of the strokeOpacity property.
*
* @return possible object is
* {@link Float }
*/
public Float getStrokeOpacity() {
return strokeOpacity;
}
/**
* Sets the value of the strokeOpacity property.
*
* @param value allowed object is
* {@link Float }
*/
public void setStrokeOpacity(Float value) {
this.strokeOpacity = value;
}
/**
* Gets the value of the strokeWidth property.
*
* @return possible object is
* {@link String }
*/
public String getStrokeWidth() {
return strokeWidth;
}
/**
* Sets the value of the strokeWidth property.
*
* @param value allowed object is
* {@link String }
*/
public void setStrokeWidth(String value) {
this.strokeWidth = value;
}
/**
* Gets the value of the style property.
*
* @return possible object is
* {@link String }
*/
public String getStyle() {
return style;
}
/**
* Sets the value of the style property.
*
* @param value allowed object is
* {@link String }
*/
public void setStyle(String value) {
this.style = value;
}
/**
* Gets the value of the visibility property.
*
* @return possible object is
* {@link String }
*/
public String getVisibility() {
return visibility;
}
/**
* Sets the value of the visibility property.
*
* @param value allowed object is
* {@link String }
*/
public void setVisibility(String value) {
this.visibility = value;
}
/**
* Gets the value of the width property.
*
* @return possible object is
* {@link String }
*/
public String getWidth() {
return width;
}
/**
* Sets the value of the width property.
*
* @param value allowed object is
* {@link String }
*/
public void setWidth(String value) {
this.width = value;
}
/**
* Gets the value of the x property.
*/
public float getX() {
return x;
}
/**
* Sets the value of the x property.
*/
public void setX(float value) {
this.x = value;
}
/**
* Gets the value of the y property.
*/
public float getY() {
return y;
}
/**
* Sets the value of the y property.
*/
public void setY(float value) {
this.y = value;
}
}

View File

@ -1,331 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:27:07 PM ART
//
package com.wisemapping.xml.svgmap;
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;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for anonymous complex type.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element ref="{http://www.w3.org/2000/svg}polyline" maxOccurs="unbounded"/>
* &lt;element ref="{http://www.w3.org/2000/svg}line" maxOccurs="unbounded"/>
* &lt;element ref="{http://www.w3.org/2000/svg}g" maxOccurs="unbounded"/>
* &lt;element ref="{http://www.w3.org/2000/svg}rect" maxOccurs="unbounded"/>
* &lt;/sequence>
* &lt;attribute name="focusable" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
* &lt;attribute name="height" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
* &lt;attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
* &lt;attribute name="preserveAspectRatio" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
* &lt;attribute name="viewBox" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="width" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"polyline",
"line",
"g",
"rect"
})
@XmlRootElement(name = "svg")
public class Svg {
@XmlElement(required = true)
protected List<Polyline> polyline;
@XmlElement(required = true)
protected List<Line> line;
@XmlElement(required = true)
protected List<G> g;
@XmlElement(required = true)
protected List<Rect> rect;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String focusable;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String height;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String id;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String preserveAspectRatio;
@XmlAttribute(required = true)
protected String viewBox;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String width;
/**
* Gets the value of the polyline property.
* <p/>
* <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 polyline property.
* <p/>
* <p/>
* For example, to add a new item, do as follows:
* <pre>
* getPolyline().add(newItem);
* </pre>
* <p/>
* <p/>
* <p/>
* Objects of the following type(s) are allowed in the list
* {@link Polyline }
*/
public List<Polyline> getPolyline() {
if (polyline == null) {
polyline = new ArrayList<Polyline>();
}
return this.polyline;
}
/**
* Gets the value of the line property.
* <p/>
* <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 line property.
* <p/>
* <p/>
* For example, to add a new item, do as follows:
* <pre>
* getLine().add(newItem);
* </pre>
* <p/>
* <p/>
* <p/>
* Objects of the following type(s) are allowed in the list
* {@link Line }
*/
public List<Line> getLine() {
if (line == null) {
line = new ArrayList<Line>();
}
return this.line;
}
/**
* Gets the value of the g property.
* <p/>
* <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 g property.
* <p/>
* <p/>
* For example, to add a new item, do as follows:
* <pre>
* getG().add(newItem);
* </pre>
* <p/>
* <p/>
* <p/>
* Objects of the following type(s) are allowed in the list
* {@link G }
*/
public List<G> getG() {
if (g == null) {
g = new ArrayList<G>();
}
return this.g;
}
/**
* Gets the value of the rect property.
* <p/>
* <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 rect property.
* <p/>
* <p/>
* For example, to add a new item, do as follows:
* <pre>
* getRect().add(newItem);
* </pre>
* <p/>
* <p/>
* <p/>
* Objects of the following type(s) are allowed in the list
* {@link Rect }
*/
public List<Rect> getRect() {
if (rect == null) {
rect = new ArrayList<Rect>();
}
return this.rect;
}
/**
* Gets the value of the focusable property.
*
* @return possible object is
* {@link String }
*/
public String getFocusable() {
return focusable;
}
/**
* Sets the value of the focusable property.
*
* @param value allowed object is
* {@link String }
*/
public void setFocusable(String value) {
this.focusable = value;
}
/**
* Gets the value of the height property.
*
* @return possible object is
* {@link String }
*/
public String getHeight() {
return height;
}
/**
* Sets the value of the height property.
*
* @param value allowed object is
* {@link String }
*/
public void setHeight(String value) {
this.height = 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 preserveAspectRatio property.
*
* @return possible object is
* {@link String }
*/
public String getPreserveAspectRatio() {
return preserveAspectRatio;
}
/**
* Sets the value of the preserveAspectRatio property.
*
* @param value allowed object is
* {@link String }
*/
public void setPreserveAspectRatio(String value) {
this.preserveAspectRatio = value;
}
/**
* Gets the value of the viewBox property.
*
* @return possible object is
* {@link String }
*/
public String getViewBox() {
return viewBox;
}
/**
* Sets the value of the viewBox property.
*
* @param value allowed object is
* {@link String }
*/
public void setViewBox(String value) {
this.viewBox = value;
}
/**
* Gets the value of the width property.
*
* @return possible object is
* {@link String }
*/
public String getWidth() {
return width;
}
/**
* Sets the value of the width property.
*
* @param value allowed object is
* {@link String }
*/
public void setWidth(String value) {
this.width = value;
}
}

View File

@ -1,298 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:27:07 PM ART
//
package com.wisemapping.xml.svgmap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for anonymous complex type.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="fill" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="focusable" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="true" />
* &lt;attribute name="font-family" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="verdana" />
* &lt;attribute name="font-size" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
* &lt;attribute name="font-style" use="required">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* &lt;enumeration value="italic"/>
* &lt;enumeration value="normal"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/attribute>
* &lt;attribute name="font-weight" use="required">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* &lt;enumeration value="bold"/>
* &lt;enumeration value="normal"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/attribute>
* &lt;attribute name="style" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="x" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
* &lt;attribute name="y" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"content"
})
@XmlRootElement(name = "text")
public class Text {
@XmlValue
protected String content;
@XmlAttribute(required = true)
protected String fill;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String focusable;
@XmlAttribute(name = "font-family", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String fontFamily;
@XmlAttribute(name = "font-size", required = true)
protected float fontSize;
@XmlAttribute(name = "font-style", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String fontStyle;
@XmlAttribute(name = "font-weight", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String fontWeight;
@XmlAttribute(required = true)
protected String style;
@XmlAttribute(required = true)
protected float x;
@XmlAttribute(required = true)
protected float y;
/**
* Gets the value of the content property.
*
* @return possible object is
* {@link String }
*/
public String getContent() {
return content;
}
/**
* Sets the value of the content property.
*
* @param value allowed object is
* {@link String }
*/
public void setContent(String value) {
this.content = value;
}
/**
* Gets the value of the fill property.
*
* @return possible object is
* {@link String }
*/
public String getFill() {
return fill;
}
/**
* Sets the value of the fill property.
*
* @param value allowed object is
* {@link String }
*/
public void setFill(String value) {
this.fill = value;
}
/**
* Gets the value of the focusable property.
*
* @return possible object is
* {@link String }
*/
public String getFocusable() {
if (focusable == null) {
return "true";
} else {
return focusable;
}
}
/**
* Sets the value of the focusable property.
*
* @param value allowed object is
* {@link String }
*/
public void setFocusable(String value) {
this.focusable = value;
}
/**
* Gets the value of the fontFamily property.
*
* @return possible object is
* {@link String }
*/
public String getFontFamily() {
if (fontFamily == null) {
return "verdana";
} else {
return fontFamily;
}
}
/**
* Sets the value of the fontFamily property.
*
* @param value allowed object is
* {@link String }
*/
public void setFontFamily(String value) {
this.fontFamily = value;
}
/**
* Gets the value of the fontSize property.
*/
public float getFontSize() {
return fontSize;
}
/**
* Sets the value of the fontSize property.
*/
public void setFontSize(float value) {
this.fontSize = 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 fontWeight property.
*
* @return possible object is
* {@link String }
*/
public String getFontWeight() {
return fontWeight;
}
/**
* Sets the value of the fontWeight property.
*
* @param value allowed object is
* {@link String }
*/
public void setFontWeight(String value) {
this.fontWeight = value;
}
/**
* Gets the value of the style property.
*
* @return possible object is
* {@link String }
*/
public String getStyle() {
return style;
}
/**
* Sets the value of the style property.
*
* @param value allowed object is
* {@link String }
*/
public void setStyle(String value) {
this.style = value;
}
/**
* Gets the value of the x property.
*/
public float getX() {
return x;
}
/**
* Sets the value of the x property.
*/
public void setX(float value) {
this.x = value;
}
/**
* Gets the value of the y property.
*/
public float getY() {
return y;
}
/**
* Sets the value of the y property.
*/
public void setY(float value) {
this.y = value;
}
}

View File

@ -1,26 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:27:07 PM ART
//
@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.w3.org/2000/svg", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) package com.wisemapping.xml.svgmap;

View File

@ -1,169 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:18:25 PM ART
//
package com.wisemapping.xml.vmlmap;
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 element complex type.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* &lt;complexType name="element">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="fillcolor" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="opacity" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="strokecolor" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="strokeweight" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="style" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "element")
public class Element {
@XmlAttribute
protected String fillcolor;
@XmlAttribute
protected String opacity;
@XmlAttribute(required = true)
protected String strokecolor;
@XmlAttribute
protected String strokeweight;
@XmlAttribute
protected String style;
/**
* Gets the value of the fillcolor property.
*
* @return possible object is
* {@link String }
*/
public String getFillcolor() {
return fillcolor;
}
/**
* Sets the value of the fillcolor property.
*
* @param value allowed object is
* {@link String }
*/
public void setFillcolor(String value) {
this.fillcolor = value;
}
/**
* Gets the value of the opacity property.
*
* @return possible object is
* {@link String }
*/
public String getOpacity() {
return opacity;
}
/**
* Sets the value of the opacity property.
*
* @param value allowed object is
* {@link String }
*/
public void setOpacity(String value) {
this.opacity = value;
}
/**
* Gets the value of the strokecolor property.
*
* @return possible object is
* {@link String }
*/
public String getStrokecolor() {
return strokecolor;
}
/**
* Sets the value of the strokecolor property.
*
* @param value allowed object is
* {@link String }
*/
public void setStrokecolor(String value) {
this.strokecolor = value;
}
/**
* Gets the value of the strokeweight property.
*
* @return possible object is
* {@link String }
*/
public String getStrokeweight() {
return strokeweight;
}
/**
* Sets the value of the strokeweight property.
*
* @param value allowed object is
* {@link String }
*/
public void setStrokeweight(String value) {
this.strokeweight = value;
}
/**
* Gets the value of the style property.
*
* @return possible object is
* {@link String }
*/
public String getStyle() {
return style;
}
/**
* Sets the value of the style property.
*
* @param value allowed object is
* {@link String }
*/
public void setStyle(String value) {
this.style = value;
}
}

View File

@ -1,79 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:18:25 PM ART
//
package com.wisemapping.xml.vmlmap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="opacity" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "fill")
public class Fill {
@XmlAttribute
protected String opacity;
/**
* Gets the value of the opacity property.
*
* @return possible object is
* {@link String }
*/
public String getOpacity() {
return opacity;
}
/**
* Sets the value of the opacity property.
*
* @param value allowed object is
* {@link String }
*/
public void setOpacity(String value) {
this.opacity = value;
}
}

View File

@ -1,318 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:18:25 PM ART
//
package com.wisemapping.xml.vmlmap;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;extension base="{http://mindmap.com/xml/vmlmap}element">
* &lt;choice>
* &lt;element ref="{http://mindmap.com/xml/vmlmap}group" maxOccurs="unbounded"/>
* &lt;element ref="{http://mindmap.com/xml/vmlmap}line" maxOccurs="unbounded"/>
* &lt;element ref="{http://mindmap.com/xml/vmlmap}oval" maxOccurs="unbounded"/>
* &lt;element ref="{http://mindmap.com/xml/vmlmap}polyline" maxOccurs="unbounded"/>
* &lt;element ref="{http://mindmap.com/xml/vmlmap}rect" maxOccurs="unbounded"/>
* &lt;element ref="{http://mindmap.com/xml/vmlmap}roundrect" maxOccurs="unbounded"/>
* &lt;element ref="{http://mindmap.com/xml/vmlmap}shape" maxOccurs="unbounded"/>
* &lt;/choice>
* &lt;attribute name="coordorigin" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="coordsize" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"group",
"line",
"oval",
"polyline",
"rect",
"roundrect",
"shape"
})
@XmlRootElement(name = "group")
public class Group
extends Element {
protected List<Group> group;
protected List<Line> line;
protected List<Oval> oval;
protected List<Polyline> polyline;
protected List<Rect> rect;
protected List<Roundrect> roundrect;
protected List<Shape> shape;
@XmlAttribute
protected String coordorigin;
@XmlAttribute(required = true)
protected String coordsize;
/**
* Gets the value of the group property.
* <p/>
* <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 group property.
* <p/>
* <p/>
* For example, to add a new item, do as follows:
* <pre>
* getGroup().add(newItem);
* </pre>
* <p/>
* <p/>
* <p/>
* Objects of the following type(s) are allowed in the list
* {@link Group }
*/
public List<Group> getGroup() {
if (group == null) {
group = new ArrayList<Group>();
}
return this.group;
}
/**
* Gets the value of the line property.
* <p/>
* <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 line property.
* <p/>
* <p/>
* For example, to add a new item, do as follows:
* <pre>
* getLine().add(newItem);
* </pre>
* <p/>
* <p/>
* <p/>
* Objects of the following type(s) are allowed in the list
* {@link Line }
*/
public List<Line> getLine() {
if (line == null) {
line = new ArrayList<Line>();
}
return this.line;
}
/**
* Gets the value of the oval property.
* <p/>
* <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 oval property.
* <p/>
* <p/>
* For example, to add a new item, do as follows:
* <pre>
* getOval().add(newItem);
* </pre>
* <p/>
* <p/>
* <p/>
* Objects of the following type(s) are allowed in the list
* {@link Oval }
*/
public List<Oval> getOval() {
if (oval == null) {
oval = new ArrayList<Oval>();
}
return this.oval;
}
/**
* Gets the value of the polyline property.
* <p/>
* <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 polyline property.
* <p/>
* <p/>
* For example, to add a new item, do as follows:
* <pre>
* getPolyline().add(newItem);
* </pre>
* <p/>
* <p/>
* <p/>
* Objects of the following type(s) are allowed in the list
* {@link Polyline }
*/
public List<Polyline> getPolyline() {
if (polyline == null) {
polyline = new ArrayList<Polyline>();
}
return this.polyline;
}
/**
* Gets the value of the rect property.
* <p/>
* <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 rect property.
* <p/>
* <p/>
* For example, to add a new item, do as follows:
* <pre>
* getRect().add(newItem);
* </pre>
* <p/>
* <p/>
* <p/>
* Objects of the following type(s) are allowed in the list
* {@link Rect }
*/
public List<Rect> getRect() {
if (rect == null) {
rect = new ArrayList<Rect>();
}
return this.rect;
}
/**
* Gets the value of the roundrect property.
* <p/>
* <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 roundrect property.
* <p/>
* <p/>
* For example, to add a new item, do as follows:
* <pre>
* getRoundrect().add(newItem);
* </pre>
* <p/>
* <p/>
* <p/>
* Objects of the following type(s) are allowed in the list
* {@link Roundrect }
*/
public List<Roundrect> getRoundrect() {
if (roundrect == null) {
roundrect = new ArrayList<Roundrect>();
}
return this.roundrect;
}
/**
* Gets the value of the shape property.
* <p/>
* <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 shape property.
* <p/>
* <p/>
* For example, to add a new item, do as follows:
* <pre>
* getShape().add(newItem);
* </pre>
* <p/>
* <p/>
* <p/>
* Objects of the following type(s) are allowed in the list
* {@link Shape }
*/
public List<Shape> getShape() {
if (shape == null) {
shape = new ArrayList<Shape>();
}
return this.shape;
}
/**
* Gets the value of the coordorigin property.
*
* @return possible object is
* {@link String }
*/
public String getCoordorigin() {
return coordorigin;
}
/**
* Sets the value of the coordorigin property.
*
* @param value allowed object is
* {@link String }
*/
public void setCoordorigin(String value) {
this.coordorigin = value;
}
/**
* Gets the value of the coordsize property.
*
* @return possible object is
* {@link String }
*/
public String getCoordsize() {
return coordsize;
}
/**
* Sets the value of the coordsize property.
*
* @param value allowed object is
* {@link String }
*/
public void setCoordsize(String value) {
this.coordsize = value;
}
}

View File

@ -1,184 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:18:25 PM ART
//
package com.wisemapping.xml.vmlmap;
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;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for anonymous complex type.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;extension base="{http://mindmap.com/xml/vmlmap}element">
* &lt;sequence>
* &lt;element ref="{http://mindmap.com/xml/vmlmap}stroke"/>
* &lt;element ref="{http://mindmap.com/xml/vmlmap}fill" minOccurs="0"/>
* &lt;/sequence>
* &lt;attribute name="from" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="stroked" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="t" />
* &lt;attribute name="to" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"stroke",
"fill"
})
@XmlRootElement(name = "line")
public class Line
extends Element {
@XmlElement(required = true)
protected Stroke stroke;
protected Fill fill;
@XmlAttribute(required = true)
protected String from;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String stroked;
@XmlAttribute(required = true)
protected String to;
/**
* Gets the value of the stroke property.
*
* @return possible object is
* {@link Stroke }
*/
public Stroke getStroke() {
return stroke;
}
/**
* Sets the value of the stroke property.
*
* @param value allowed object is
* {@link Stroke }
*/
public void setStroke(Stroke value) {
this.stroke = value;
}
/**
* Gets the value of the fill property.
*
* @return possible object is
* {@link Fill }
*/
public Fill getFill() {
return fill;
}
/**
* Sets the value of the fill property.
*
* @param value allowed object is
* {@link Fill }
*/
public void setFill(Fill value) {
this.fill = value;
}
/**
* Gets the value of the from property.
*
* @return possible object is
* {@link String }
*/
public String getFrom() {
return from;
}
/**
* Sets the value of the from property.
*
* @param value allowed object is
* {@link String }
*/
public void setFrom(String value) {
this.from = value;
}
/**
* Gets the value of the stroked property.
*
* @return possible object is
* {@link String }
*/
public String getStroked() {
if (stroked == null) {
return "t";
} else {
return stroked;
}
}
/**
* Sets the value of the stroked property.
*
* @param value allowed object is
* {@link String }
*/
public void setStroked(String value) {
this.stroked = value;
}
/**
* Gets the value of the to property.
*
* @return possible object is
* {@link String }
*/
public String getTo() {
return to;
}
/**
* Sets the value of the to property.
*
* @param value allowed object is
* {@link String }
*/
public void setTo(String value) {
this.to = value;
}
}

View File

@ -1,139 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:18:25 PM ART
//
package com.wisemapping.xml.vmlmap;
import javax.xml.bind.annotation.XmlRegistry;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the com.mindmap.xml.vmlmap package.
* <p>An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*/
@XmlRegistry
public class ObjectFactory {
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.mindmap.xml.vmlmap
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link Textbox }
*/
public Textbox createTextbox() {
return new Textbox();
}
/**
* Create an instance of {@link Shape }
*/
public Shape createShape() {
return new Shape();
}
/**
* Create an instance of {@link Roundrect }
*/
public Roundrect createRoundrect() {
return new Roundrect();
}
/**
* Create an instance of {@link Oval }
*/
public Oval createOval() {
return new Oval();
}
/**
* Create an instance of {@link Textbox.SPAN }
*/
public Textbox.SPAN createTextboxSPAN() {
return new Textbox.SPAN();
}
/**
* Create an instance of {@link Rect }
*/
public Rect createRect() {
return new Rect();
}
/**
* Create an instance of {@link Element }
*/
public Element createElement() {
return new Element();
}
/**
* Create an instance of {@link Line }
*/
public Line createLine() {
return new Line();
}
/**
* Create an instance of {@link Group }
*/
public Group createGroup() {
return new Group();
}
/**
* Create an instance of {@link Stroke }
*/
public Stroke createStroke() {
return new Stroke();
}
/**
* Create an instance of {@link Polyline }
*/
public Polyline createPolyline() {
return new Polyline();
}
/**
* Create an instance of {@link Fill }
*/
public Fill createFill() {
return new Fill();
}
}

View File

@ -1,166 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:18:25 PM ART
//
package com.wisemapping.xml.vmlmap;
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;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for anonymous complex type.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;extension base="{http://mindmap.com/xml/vmlmap}element">
* &lt;sequence>
* &lt;element ref="{http://mindmap.com/xml/vmlmap}stroke"/>
* &lt;element ref="{http://mindmap.com/xml/vmlmap}fill"/>
* &lt;/sequence>
* &lt;attribute name="coordsize" use="required" type="{http://www.w3.org/2001/XMLSchema}string" fixed="21600,21600" />
* &lt;attribute name="stroked" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="t" />
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"stroke",
"fill"
})
@XmlRootElement(name = "oval")
public class Oval
extends Element {
@XmlElement(required = true)
protected Stroke stroke;
@XmlElement(required = true)
protected Fill fill;
@XmlAttribute(required = true)
protected String coordsize;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String stroked;
/**
* Gets the value of the stroke property.
*
* @return possible object is
* {@link Stroke }
*/
public Stroke getStroke() {
return stroke;
}
/**
* Sets the value of the stroke property.
*
* @param value allowed object is
* {@link Stroke }
*/
public void setStroke(Stroke value) {
this.stroke = value;
}
/**
* Gets the value of the fill property.
*
* @return possible object is
* {@link Fill }
*/
public Fill getFill() {
return fill;
}
/**
* Sets the value of the fill property.
*
* @param value allowed object is
* {@link Fill }
*/
public void setFill(Fill value) {
this.fill = value;
}
/**
* Gets the value of the coordsize property.
*
* @return possible object is
* {@link String }
*/
public String getCoordsize() {
if (coordsize == null) {
return "21600,21600";
} else {
return coordsize;
}
}
/**
* Sets the value of the coordsize property.
*
* @param value allowed object is
* {@link String }
*/
public void setCoordsize(String value) {
this.coordsize = value;
}
/**
* Gets the value of the stroked property.
*
* @return possible object is
* {@link String }
*/
public String getStroked() {
if (stroked == null) {
return "t";
} else {
return stroked;
}
}
/**
* Sets the value of the stroked property.
*
* @param value allowed object is
* {@link String }
*/
public void setStroked(String value) {
this.stroked = value;
}
}

View File

@ -1,184 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:18:25 PM ART
//
package com.wisemapping.xml.vmlmap;
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;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for anonymous complex type.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;extension base="{http://mindmap.com/xml/vmlmap}element">
* &lt;sequence>
* &lt;element ref="{http://mindmap.com/xml/vmlmap}stroke"/>
* &lt;element ref="{http://mindmap.com/xml/vmlmap}fill" minOccurs="0"/>
* &lt;/sequence>
* &lt;attribute name="filled" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="f" />
* &lt;attribute name="points" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="xPoints" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"stroke",
"fill"
})
@XmlRootElement(name = "polyline")
public class Polyline
extends Element {
@XmlElement(required = true)
protected Stroke stroke;
protected Fill fill;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String filled;
@XmlAttribute
protected String points;
@XmlAttribute
protected String xPoints;
/**
* Gets the value of the stroke property.
*
* @return possible object is
* {@link Stroke }
*/
public Stroke getStroke() {
return stroke;
}
/**
* Sets the value of the stroke property.
*
* @param value allowed object is
* {@link Stroke }
*/
public void setStroke(Stroke value) {
this.stroke = value;
}
/**
* Gets the value of the fill property.
*
* @return possible object is
* {@link Fill }
*/
public Fill getFill() {
return fill;
}
/**
* Sets the value of the fill property.
*
* @param value allowed object is
* {@link Fill }
*/
public void setFill(Fill value) {
this.fill = value;
}
/**
* Gets the value of the filled property.
*
* @return possible object is
* {@link String }
*/
public String getFilled() {
if (filled == null) {
return "f";
} else {
return filled;
}
}
/**
* Sets the value of the filled property.
*
* @param value allowed object is
* {@link String }
*/
public void setFilled(String value) {
this.filled = value;
}
/**
* Gets the value of the points property.
*
* @return possible object is
* {@link String }
*/
public String getPoints() {
return points;
}
/**
* Sets the value of the points property.
*
* @param value allowed object is
* {@link String }
*/
public void setPoints(String value) {
this.points = value;
}
/**
* Gets the value of the xPoints property.
*
* @return possible object is
* {@link String }
*/
public String getXPoints() {
return xPoints;
}
/**
* Sets the value of the xPoints property.
*
* @param value allowed object is
* {@link String }
*/
public void setXPoints(String value) {
this.xPoints = value;
}
}

View File

@ -1,158 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:18:25 PM ART
//
package com.wisemapping.xml.vmlmap;
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;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for anonymous complex type.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;extension base="{http://mindmap.com/xml/vmlmap}element">
* &lt;sequence>
* &lt;element ref="{http://mindmap.com/xml/vmlmap}stroke"/>
* &lt;element ref="{http://mindmap.com/xml/vmlmap}fill"/>
* &lt;/sequence>
* &lt;attribute name="coordsize" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="stroked" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"stroke",
"fill"
})
@XmlRootElement(name = "rect")
public class Rect
extends Element {
@XmlElement(required = true)
protected Stroke stroke;
@XmlElement(required = true)
protected Fill fill;
@XmlAttribute(required = true)
protected String coordsize;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String stroked;
/**
* Gets the value of the stroke property.
*
* @return possible object is
* {@link Stroke }
*/
public Stroke getStroke() {
return stroke;
}
/**
* Sets the value of the stroke property.
*
* @param value allowed object is
* {@link Stroke }
*/
public void setStroke(Stroke value) {
this.stroke = value;
}
/**
* Gets the value of the fill property.
*
* @return possible object is
* {@link Fill }
*/
public Fill getFill() {
return fill;
}
/**
* Sets the value of the fill property.
*
* @param value allowed object is
* {@link Fill }
*/
public void setFill(Fill value) {
this.fill = value;
}
/**
* Gets the value of the coordsize property.
*
* @return possible object is
* {@link String }
*/
public String getCoordsize() {
return coordsize;
}
/**
* Sets the value of the coordsize property.
*
* @param value allowed object is
* {@link String }
*/
public void setCoordsize(String value) {
this.coordsize = value;
}
/**
* Gets the value of the stroked property.
*
* @return possible object is
* {@link String }
*/
public String getStroked() {
return stroked;
}
/**
* Sets the value of the stroked property.
*
* @param value allowed object is
* {@link String }
*/
public void setStroked(String value) {
this.stroked = value;
}
}

View File

@ -1,166 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:18:25 PM ART
//
package com.wisemapping.xml.vmlmap;
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;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for anonymous complex type.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;extension base="{http://mindmap.com/xml/vmlmap}element">
* &lt;sequence>
* &lt;element ref="{http://mindmap.com/xml/vmlmap}stroke"/>
* &lt;element ref="{http://mindmap.com/xml/vmlmap}fill"/>
* &lt;/sequence>
* &lt;attribute name="arcsize" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="9830f" />
* &lt;attribute name="coordsize" use="required" type="{http://www.w3.org/2001/XMLSchema}string" fixed="21600,21600" />
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"stroke",
"fill"
})
@XmlRootElement(name = "roundrect")
public class Roundrect
extends Element {
@XmlElement(required = true)
protected Stroke stroke;
@XmlElement(required = true)
protected Fill fill;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String arcsize;
@XmlAttribute(required = true)
protected String coordsize;
/**
* Gets the value of the stroke property.
*
* @return possible object is
* {@link Stroke }
*/
public Stroke getStroke() {
return stroke;
}
/**
* Sets the value of the stroke property.
*
* @param value allowed object is
* {@link Stroke }
*/
public void setStroke(Stroke value) {
this.stroke = value;
}
/**
* Gets the value of the fill property.
*
* @return possible object is
* {@link Fill }
*/
public Fill getFill() {
return fill;
}
/**
* Sets the value of the fill property.
*
* @param value allowed object is
* {@link Fill }
*/
public void setFill(Fill value) {
this.fill = value;
}
/**
* Gets the value of the arcsize property.
*
* @return possible object is
* {@link String }
*/
public String getArcsize() {
if (arcsize == null) {
return "9830f";
} else {
return arcsize;
}
}
/**
* Sets the value of the arcsize property.
*
* @param value allowed object is
* {@link String }
*/
public void setArcsize(String value) {
this.arcsize = value;
}
/**
* Gets the value of the coordsize property.
*
* @return possible object is
* {@link String }
*/
public String getCoordsize() {
if (coordsize == null) {
return "21600,21600";
} else {
return coordsize;
}
}
/**
* Sets the value of the coordsize property.
*
* @param value allowed object is
* {@link String }
*/
public void setCoordsize(String value) {
this.coordsize = value;
}
}

View File

@ -1,112 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:18:25 PM ART
//
package com.wisemapping.xml.vmlmap;
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/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;extension base="{http://mindmap.com/xml/vmlmap}element">
* &lt;sequence>
* &lt;element ref="{http://mindmap.com/xml/vmlmap}textbox"/>
* &lt;/sequence>
* &lt;attribute name="coordsize" use="required" type="{http://www.w3.org/2001/XMLSchema}string" fixed="100,100" />
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"textbox"
})
@XmlRootElement(name = "shape")
public class Shape
extends Element {
@XmlElement(required = true)
protected Textbox textbox;
@XmlAttribute(required = true)
protected String coordsize;
/**
* Gets the value of the textbox property.
*
* @return possible object is
* {@link Textbox }
*/
public Textbox getTextbox() {
return textbox;
}
/**
* Sets the value of the textbox property.
*
* @param value allowed object is
* {@link Textbox }
*/
public void setTextbox(Textbox value) {
this.textbox = value;
}
/**
* Gets the value of the coordsize property.
*
* @return possible object is
* {@link String }
*/
public String getCoordsize() {
if (coordsize == null) {
return "100,100";
} else {
return coordsize;
}
}
/**
* Sets the value of the coordsize property.
*
* @param value allowed object is
* {@link String }
*/
public void setCoordsize(String value) {
this.coordsize = value;
}
}

View File

@ -1,88 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:18:25 PM ART
//
package com.wisemapping.xml.vmlmap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for anonymous complex type.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="dashstyle">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* &lt;enumeration value="solid"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/attribute>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "stroke")
public class Stroke {
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String dashstyle;
/**
* Gets the value of the dashstyle property.
*
* @return possible object is
* {@link String }
*/
public String getDashstyle() {
return dashstyle;
}
/**
* Sets the value of the dashstyle property.
*
* @param value allowed object is
* {@link String }
*/
public void setDashstyle(String value) {
this.dashstyle = value;
}
}

View File

@ -1,211 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:18:25 PM ART
//
package com.wisemapping.xml.vmlmap;
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/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;extension base="{http://mindmap.com/xml/vmlmap}element">
* &lt;sequence>
* &lt;element name="SPAN">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="SPAN" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/sequence>
* &lt;attribute name="inset" use="required" type="{http://www.w3.org/2001/XMLSchema}string" fixed="0,0,0,0" />
* &lt;attribute name="xFontScale" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
* &lt;attribute name="xTextSize" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"span"
})
@XmlRootElement(name = "textbox")
public class Textbox
extends Element {
@XmlElement(name = "SPAN", namespace = "", required = true)
protected Textbox.SPAN span;
@XmlAttribute(required = true)
protected String inset;
@XmlAttribute(required = true)
protected float xFontScale;
@XmlAttribute(required = true)
protected String xTextSize;
/**
* Gets the value of the span property.
*
* @return possible object is
* {@link Textbox.SPAN }
*/
public Textbox.SPAN getSPAN() {
return span;
}
/**
* Sets the value of the span property.
*
* @param value allowed object is
* {@link Textbox.SPAN }
*/
public void setSPAN(Textbox.SPAN value) {
this.span = value;
}
/**
* Gets the value of the inset property.
*
* @return possible object is
* {@link String }
*/
public String getInset() {
if (inset == null) {
return "0,0,0,0";
} else {
return inset;
}
}
/**
* Sets the value of the inset property.
*
* @param value allowed object is
* {@link String }
*/
public void setInset(String value) {
this.inset = value;
}
/**
* Gets the value of the xFontScale property.
*/
public float getXFontScale() {
return xFontScale;
}
/**
* Sets the value of the xFontScale property.
*/
public void setXFontScale(float value) {
this.xFontScale = value;
}
/**
* Gets the value of the xTextSize property.
*
* @return possible object is
* {@link String }
*/
public String getXTextSize() {
return xTextSize;
}
/**
* Sets the value of the xTextSize property.
*
* @param value allowed object is
* {@link String }
*/
public void setXTextSize(String value) {
this.xTextSize = value;
}
/**
* <p>Java class for anonymous complex type.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="SPAN" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"span"
})
public static class SPAN {
@XmlElement(name = "SPAN", namespace = "", required = true)
protected String span;
/**
* Gets the value of the span property.
*
* @return possible object is
* {@link String }
*/
public String getSPAN() {
return span;
}
/**
* Sets the value of the span property.
*
* @param value allowed object is
* {@link String }
*/
public void setSPAN(String value) {
this.span = value;
}
}
}

View File

@ -1,26 +0,0 @@
/*
* Copyright [2011] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* 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.
*/
//
// 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.04.14 at 05:18:25 PM ART
//
@javax.xml.bind.annotation.XmlSchema(namespace = "http://wisemapping.com/xml/vmlmap", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) package com.wisemapping.xml.vmlmap;

View File

@ -1,159 +1,159 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name='Parameters'>
<xs:complexType>
<!--Is the time management plugin.-->
<xs:attribute name='REMINDUSERAT' type='xs:integer' use='optional'/>
</xs:complexType>
</xs:element>
<!--Used for node notes.-->
<xs:element name='text' type="xs:string"/>
<xs:element name='arrowlink'>
<xs:complexType>
<xs:attribute name='COLOR' type='xs:string' use='optional'/>
<xs:attribute name='DESTINATION' type='xs:string' use='required'/>
<xs:attribute name='ENDARROW' type='xs:string' use='optional'/>
<xs:attribute name='ENDINCLINATION' type='xs:string' use='optional'/>
<xs:attribute name='ID' type='xs:string' use='optional'/>
<xs:attribute name='STARTARROW' type='xs:string' use='optional'/>
<xs:attribute name='STARTINCLINATION' type='xs:string' use='optional'/>
</xs:complexType>
</xs:element>
<xs:element name='cloud'>
<xs:complexType>
<xs:attribute name='COLOR' type='xs:string' use='optional'/>
</xs:complexType>
</xs:element>
<xs:element name='edge'>
<xs:complexType>
<xs:attribute name='COLOR' type='xs:string' use='optional'/>
<xs:attribute name='STYLE' type='xs:string' use='optional'/>
<xs:attribute name='WIDTH' type='xs:string' use='optional'/>
</xs:complexType>
</xs:element>
<xs:element name='font'>
<xs:complexType>
<xs:attribute name='BOLD' use='optional'>
<xs:simpleType>
<xs:restriction base='xs:string'>
<xs:enumeration value='true'/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name='ITALIC' use='optional'>
<xs:simpleType>
<xs:restriction base='xs:string'>
<xs:enumeration value='true'/>
<xs:enumeration value='false'/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name='NAME' type='xs:string' use='required'/>
<xs:attribute name='SIZE' use='required' type='xs:integer'/>
</xs:complexType>
</xs:element>
<xs:element name='hook'>
<xs:complexType>
<xs:sequence>
<xs:element ref='Parameters' minOccurs='0' maxOccurs='1'/>
<xs:element ref='text' minOccurs='0' maxOccurs='1'/>
</xs:sequence>
<xs:attribute name='NAME' type='xs:string' use='required'/>
</xs:complexType>
</xs:element>
<xs:element name='icon'>
<xs:complexType>
<xs:attribute name='BUILTIN' type='xs:string' use='required'/>
</xs:complexType>
</xs:element>
<xs:element name='html'>
<xs:complexType>
<xs:sequence>
<!--Anything that is valid XML, but should be http://www.w3.org/1999/xhtml -->
<xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name='richcontent'>
<xs:complexType>
<!-- And contains XHTML as unique child:-->
<xs:sequence>
<xs:element ref='html' minOccurs='1' maxOccurs='1'/>
</xs:sequence>
<!--Currently, only NODE or NOTE is allowed.-->
<xs:attribute name='TYPE' use='required'>
<xs:simpleType>
<xs:restriction base='xs:string'>
<xs:enumeration value='NODE'/>
<xs:enumeration value='NOTE'/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name='map'>
<xs:complexType>
<xs:sequence>
<xs:element ref='node'/>
</xs:sequence>
<xs:attribute name='version' type='xs:string' use='required'/>
</xs:complexType>
</xs:element>
<xs:element name='node'>
<xs:complexType>
<xs:choice minOccurs='0' maxOccurs='unbounded'>
<xs:element ref='arrowlink'/>
<xs:element ref='cloud'/>
<xs:element ref='edge'/>
<xs:element ref='font'/>
<xs:element ref='hook'/>
<xs:element ref='icon'/>
<xs:element ref='node'/>
<!-- For nodes with extended formatting content or for notes to nodes. -->
<xs:element ref='richcontent'/>
</xs:choice>
<xs:attribute name='BACKGROUND_COLOR' type='xs:string' use='optional'/>
<xs:attribute name='COLOR' type='xs:string' use='optional'/>
<xs:attribute name='FOLDED' use='optional'>
<xs:simpleType>
<xs:restriction base='xs:string'>
<xs:enumeration value='true'/>
<xs:enumeration value='false'/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name='ID' type='xs:ID' use='optional'/>
<xs:attribute name='LINK' type='xs:string' use='optional'/>
<xs:attribute name='POSITION' use='optional'>
<xs:simpleType>
<xs:restriction base='xs:string'>
<xs:enumeration value='left'/>
<xs:enumeration value='right'/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name='STYLE' type='xs:string' use='optional'/>
<xs:attribute name='TEXT' type='xs:string' use='required'/>
<xs:attribute name='CREATED' type='xs:integer' use='optional'/>
<xs:attribute name='MODIFIED' type='xs:integer' use='optional'/>
<xs:attribute name='HGAP' type='xs:integer' use='optional'/>
<xs:attribute name='VGAP' type='xs:integer' use='optional'/>
<xs:attribute name='WCOORDS' type='xs:string' use='optional'/>
<xs:attribute name='WORDER' type='xs:integer' use='optional'/>
<xs:attribute name='VSHIFT' type='xs:integer' use='optional'/>
<xs:attribute name='ENCRYPTED_CONTENT' type='xs:string' use='optional'/>
</xs:complexType>
</xs:element>
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name='Parameters'>
<xs:complexType>
<!--Is the time management plugin.-->
<xs:attribute name='REMINDUSERAT' type='xs:integer' use='optional'/>
</xs:complexType>
</xs:element>
<!--Used for node notes.-->
<xs:element name='text' type="xs:string"/>
<xs:element name='arrowlink'>
<xs:complexType>
<xs:attribute name='COLOR' type='xs:string' use='optional'/>
<xs:attribute name='DESTINATION' type='xs:string' use='required'/>
<xs:attribute name='ENDARROW' type='xs:string' use='optional'/>
<xs:attribute name='ENDINCLINATION' type='xs:string' use='optional'/>
<xs:attribute name='ID' type='xs:string' use='optional'/>
<xs:attribute name='STARTARROW' type='xs:string' use='optional'/>
<xs:attribute name='STARTINCLINATION' type='xs:string' use='optional'/>
</xs:complexType>
</xs:element>
<xs:element name='cloud'>
<xs:complexType>
<xs:attribute name='COLOR' type='xs:string' use='optional'/>
</xs:complexType>
</xs:element>
<xs:element name='edge'>
<xs:complexType>
<xs:attribute name='COLOR' type='xs:string' use='optional'/>
<xs:attribute name='STYLE' type='xs:string' use='optional'/>
<xs:attribute name='WIDTH' type='xs:string' use='optional'/>
</xs:complexType>
</xs:element>
<xs:element name='font'>
<xs:complexType>
<xs:attribute name='BOLD' use='optional'>
<xs:simpleType>
<xs:restriction base='xs:string'>
<xs:enumeration value='true'/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name='ITALIC' use='optional'>
<xs:simpleType>
<xs:restriction base='xs:string'>
<xs:enumeration value='true'/>
<xs:enumeration value='false'/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name='NAME' type='xs:string' use='required'/>
<xs:attribute name='SIZE' use='required' type='xs:integer'/>
</xs:complexType>
</xs:element>
<xs:element name='hook'>
<xs:complexType>
<xs:sequence>
<xs:element ref='Parameters' minOccurs='0' maxOccurs='1'/>
<xs:element ref='text' minOccurs='0' maxOccurs='1'/>
</xs:sequence>
<xs:attribute name='NAME' type='xs:string' use='required'/>
</xs:complexType>
</xs:element>
<xs:element name='icon'>
<xs:complexType>
<xs:attribute name='BUILTIN' type='xs:string' use='required'/>
</xs:complexType>
</xs:element>
<xs:element name='html'>
<xs:complexType>
<xs:sequence>
<!--Anything that is valid XML, but should be http://www.w3.org/1999/xhtml -->
<xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name='richcontent'>
<xs:complexType>
<!-- And contains XHTML as unique child:-->
<xs:sequence>
<xs:element ref='html' minOccurs='1' maxOccurs='1'/>
</xs:sequence>
<!--Currently, only NODE or NOTE is allowed.-->
<xs:attribute name='TYPE' use='required'>
<xs:simpleType>
<xs:restriction base='xs:string'>
<xs:enumeration value='NODE'/>
<xs:enumeration value='NOTE'/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name='map'>
<xs:complexType>
<xs:sequence>
<xs:element ref='node'/>
</xs:sequence>
<xs:attribute name='version' type='xs:string' use='required'/>
</xs:complexType>
</xs:element>
<xs:element name='node'>
<xs:complexType>
<xs:choice minOccurs='0' maxOccurs='unbounded'>
<xs:element ref='arrowlink'/>
<xs:element ref='cloud'/>
<xs:element ref='edge'/>
<xs:element ref='font'/>
<xs:element ref='hook'/>
<xs:element ref='icon'/>
<xs:element ref='node'/>
<!-- For nodes with extended formatting content or for notes to nodes. -->
<xs:element ref='richcontent'/>
</xs:choice>
<xs:attribute name='BACKGROUND_COLOR' type='xs:string' use='optional'/>
<xs:attribute name='COLOR' type='xs:string' use='optional'/>
<xs:attribute name='FOLDED' use='optional'>
<xs:simpleType>
<xs:restriction base='xs:string'>
<xs:enumeration value='true'/>
<xs:enumeration value='false'/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name='ID' type='xs:ID' use='optional'/>
<xs:attribute name='LINK' type='xs:string' use='optional'/>
<xs:attribute name='POSITION' use='optional'>
<xs:simpleType>
<xs:restriction base='xs:string'>
<xs:enumeration value='left'/>
<xs:enumeration value='right'/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name='STYLE' type='xs:string' use='optional'/>
<xs:attribute name='TEXT' type='xs:string' use='required'/>
<xs:attribute name='CREATED' type='xs:integer' use='optional'/>
<xs:attribute name='MODIFIED' type='xs:integer' use='optional'/>
<xs:attribute name='HGAP' type='xs:integer' use='optional'/>
<xs:attribute name='VGAP' type='xs:integer' use='optional'/>
<xs:attribute name='WCOORDS' type='xs:string' use='optional'/>
<xs:attribute name='WORDER' type='xs:integer' use='optional'/>
<xs:attribute name='VSHIFT' type='xs:integer' use='optional'/>
<xs:attribute name='ENCRYPTED_CONTENT' type='xs:string' use='optional'/>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,14 @@
<jxb:bindings version="2.0" xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<jxb:bindings schemaLocation="mindmap.xsd">
<jxb:schemaBindings>
<jxb:package name="com.wisemapping.jaxb.mindmap"/>
</jxb:schemaBindings>
</jxb:bindings>
<jxb:bindings node="/xsd:schema/xsd:complexType[@name='topicType']/xsd:attribute[@name='text']" schemaLocation="mindmap.xsd">
<jxb:property name="textAttr"/>
</jxb:bindings>
<jxb:bindings node="/xsd:schema/xsd:complexType[@name='note']/xsd:attribute[@name='text']" schemaLocation="mindmap.xsd">
<jxb:property name="textAttr"/>
</jxb:bindings>
</jxb:bindings>

131
wise-webapp/src/main/resources/mindmap.xsd Executable file → Normal file
View File

@ -1,64 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
attributeFormDefault="unqualified"
elementFormDefault="qualified"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<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"/>
<xsd:complexType name="topicType">
<xsd:sequence>
<xsd:element minOccurs='0' maxOccurs='unbounded' type="icon" name="icon"/>
<xsd:element minOccurs='0' maxOccurs='1' type="link" name="link"/>
<xsd:element minOccurs='0' maxOccurs='1' type="note" name="note"/>
<xsd:element minOccurs='0' maxOccurs='unbounded' ref="topic"/>
</xsd:sequence>
<xsd:attribute name="text" type="xsd:string"/>
<xsd:attribute name="shape" type="xsd:string"/>
<xsd:attribute name="fontStyle" type="xsd:string"/>
<xsd:attribute name="bgColor" type="xsd:string"/>
<xsd:attribute name="brColor" type="xsd:string"/>
<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: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>
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
attributeFormDefault="unqualified"
elementFormDefault="qualified"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<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"/>
<xsd:complexType name="topicType">
<xsd:sequence>
<xsd:element minOccurs='0' maxOccurs='1' type="xsd:string" name="text"/>
<xsd:element minOccurs='0' maxOccurs='unbounded' type="icon" name="icon"/>
<xsd:element minOccurs='0' maxOccurs='1' type="link" name="link"/>
<xsd:element minOccurs='0' maxOccurs='1' type="note" name="note"/>
<xsd:element minOccurs='0' maxOccurs='unbounded' ref="topic"/>
</xsd:sequence>
<xsd:attribute name="text" type="xsd:string"/>
<xsd:attribute name="shape" type="xsd:string"/>
<xsd:attribute name="fontStyle" type="xsd:string"/>
<xsd:attribute name="bgColor" type="xsd:string"/>
<xsd:attribute name="brColor" type="xsd:string"/>
<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:sequence>
<xsd:element minOccurs='0' maxOccurs='1' type="xsd:string" name="text"/>
</xsd:sequence>
<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:attribute name="startArrow" type="xsd:boolean"/>
</xsd:complexType>
</xsd:schema>

View File

@ -1,106 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:sch="http://www.wisemapping.org/ws" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.wisemapping.org/ws" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="http://www.wisemapping.org/ws">
<wsdl:types>
<xsd:schema xmlns:wm="http://www.wisemapping.org/mindmap" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
attributeFormDefault="unqualified" elementFormDefault="qualified"
targetNamespace="http://www.wisemapping.org/ws">
<xsd:import namespace="http://www.wisemapping.org/mindmap" schemaLocation="mindmap.xsd"/>
<xsd:element name="loadMindmapRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="mapdId" type="xsd:long"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="loadMindmapResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="creator" type="xsd:string"/>
<xsd:element ref="wm:map"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="addMindmapRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="creator" type="xsd:string"/>
<xsd:element name="title" type="xsd:string"/>
<xsd:element name="description" type="xsd:string"/>
<xsd:element ref="wm:map"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="addMindmapResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="mapId" type="xsd:long"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="loadMindmapResponse">
<wsdl:part element="tns:loadMindmapResponse" name="loadMindmapResponse">
</wsdl:part>
</wsdl:message>
<wsdl:message name="addMindmapRequest">
<wsdl:part element="tns:addMindmapRequest" name="addMindmapRequest">
</wsdl:part>
</wsdl:message>
<wsdl:message name="loadMindmapRequest">
<wsdl:part element="tns:loadMindmapRequest" name="loadMindmapRequest">
</wsdl:part>
</wsdl:message>
<wsdl:message name="addMindmapResponse">
<wsdl:part element="tns:addMindmapResponse" name="addMindmapResponse">
</wsdl:part>
</wsdl:message>
<wsdl:portType name="WiseServicesPortType">
<wsdl:operation name="loadMindmap">
<wsdl:input message="tns:loadMindmapRequest" name="loadMindmapRequest">
</wsdl:input>
<wsdl:output message="tns:loadMindmapResponse" name="loadMindmapResponse">
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="addMindmap">
<wsdl:input message="tns:addMindmapRequest" name="addMindmapRequest">
</wsdl:input>
<wsdl:output message="tns:addMindmapResponse" name="addMindmapResponse">
</wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="WiseServicesPortTypeSoap11" type="tns:WiseServicesPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="loadMindmap">
<soap:operation soapAction=""/>
<wsdl:input name="loadMindmapRequest">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="loadMindmapResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="addMindmap">
<soap:operation soapAction=""/>
<wsdl:input name="addMindmapRequest">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="addMindmapResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="WiseServicesPortTypeService">
<wsdl:port binding="tns:WiseServicesPortTypeSoap11" name="WiseServicesPortTypeSoap11">
<soap:address location="http://localhost:8080/wise-webapp/ws/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

View File

@ -1 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="0.9.0"><node wCOORDS="0,0" TEXT="This is the root node" ID="ID_0"><node wORDER="0" wCOORDS="200,0" TEXT="Child Level 1 Right 1" POSITION="right" ID="ID_1"/><node wORDER="0" wCOORDS="-200,0" TEXT="Child Level 1 Left 1" POSITION="left" ID="ID_2"><node wORDER="0" wCOORDS="-290,-25" TEXT="Child Level 2 Left 11" POSITION="left" ID="ID_3"/><node wORDER="1" wCOORDS="-290,0" TEXT="Child Level 2 Left 12" POSITION="left" ID="ID_4"/></node><node wORDER="4" wCOORDS="200,100" TEXT="Child Level 1 Right 2" POSITION="right" ID="ID_5"/><node wORDER="4" wCOORDS="-200,100" TEXT="Child Level 1 Left 2" POSITION="left" ID="ID_6"><node wORDER="0" wCOORDS="-290,75" TEXT="Child Level 2 Left 21 " POSITION="left" ID="ID_7"/><node wORDER="1" wCOORDS="-290,100" TEXT="Child Level 2 Left 22" POSITION="left" ID="ID_8"/></node></node></map>
<?xml version="1.0" encoding="UTF-8"?>
<map version="0.9.0">
<node TEXT="This is the root node" ID="ID_0">
<node TEXT="Child Level 1 Right 1" POSITION="right" ID="ID_1"/>
<node TEXT="Child Level 1 Left 1" POSITION="left" ID="ID_2">
<node TEXT="Child Level 2 Left 11" POSITION="left" ID="ID_3"/>
<node TEXT="Child Level 2 Left 12" POSITION="left" ID="ID_4"/>
</node>
<node TEXT="Child Level 1 Right 2" POSITION="right" ID="ID_5"/>
<node TEXT="Child Level 1 Left 2" POSITION="left" ID="ID_6">
<node TEXT="Child Level 2 Left 21 " POSITION="left" ID="ID_7"/>
<node TEXT="Child Level 2 Left 22" POSITION="left" ID="ID_8"/>
</node>
</node>
</map>

View File

@ -1 +1,30 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="pela" name="basic"><topic id="0" central="true" position="0,0" shape="rounded rectagle" text="This is the root node"><topic id="1" position="200,0" order="0" shape="line" text="Child Level 1 Right 1"/><topic id="2" position="-200,0" order="0" shape="line" text="Child Level 1 Left 1"><topic id="3" position="-290,-25" order="0" shape="line" text="Child Level 2 Left 11"/><topic id="4" position="-290,0" order="1" shape="line" text="Child Level 2 Left 12"/></topic><topic id="5" position="200,100" order="4" shape="line" text="Child Level 1 Right 2"/><topic id="6" position="-200,100" order="4" shape="line" text="Child Level 1 Left 2"><topic id="7" position="-290,75" order="0" shape="line" text="Child Level 2 Left 21 "/><topic id="8" position="-290,100" order="1" shape="line" text="Child Level 2 Left 22"/></topic></topic></map>
<?xml version="1.0" encoding="UTF-8"?>
<map version="tango" name="basic">
<topic id="0" central="true" position="0,0" shape="rounded rectagle">
<text><![CDATA[This is the root node]]></text>
<topic id="1" position="200,0" order="0" shape="line">
<text><![CDATA[Child Level 1 Right 1]]></text>
</topic>
<topic id="2" position="-200,0" order="0" shape="line">
<text><![CDATA[Child Level 1 Left 1]]></text>
<topic id="3" position="-290,-25" order="0" shape="line">
<text><![CDATA[Child Level 2 Left 11]]></text>
</topic>
<topic id="4" position="-290,0" order="1" shape="line">
<text><![CDATA[Child Level 2 Left 12]]></text>
</topic>
</topic>
<topic id="5" position="200,100" order="4" shape="line">
<text><![CDATA[Child Level 1 Right 2]]></text>
</topic>
<topic id="6" position="-200,100" order="4" shape="line">
<text><![CDATA[Child Level 1 Left 2]]></text>
<topic id="7" position="-290,75" order="0" shape="line">
<text><![CDATA[Child Level 2 Left 21 ]]></text>
</topic>
<topic id="8" position="-290,100" order="1" shape="line">
<text><![CDATA[Child Level 2 Left 22]]></text>
</topic>
</topic>
</topic>
</map>

View File

@ -1 +1,40 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="0.9.0"><node wCOORDS="0,0" TEXT="Fonts" ID="ID_0"><node wORDER="0" wCOORDS="200,0" TEXT="Styles" POSITION="right" ID="ID_1"><node wORDER="0" wCOORDS="290,-25" TEXT="Bold" POSITION="right" ID="ID_2"><font SIZE="12" NAME="Arial" BOLD="true"/></node><node wORDER="1" wCOORDS="290,0" TEXT="Italic" POSITION="right" ID="ID_3"><font SIZE="12" NAME="Arial" ITALIC="true"/></node></node><node wORDER="0" wCOORDS="-200,0" TEXT="Sizes" POSITION="left" ID="ID_4"><node wORDER="0" wCOORDS="-290,-100" TEXT="Normal----" POSITION="left" ID="ID_5"><font SIZE="8" NAME="Arial"/></node><node wORDER="1" wCOORDS="-290,-75" TEXT="Normal---" POSITION="left" ID="ID_6"><font SIZE="9" NAME="Arial"/></node><node wORDER="2" wCOORDS="-290,-50" TEXT="Normal--" POSITION="left" ID="ID_7"><font SIZE="10" NAME="Arial"/></node><node wORDER="3" wCOORDS="-290,-25" TEXT="Normal-" POSITION="left" ID="ID_8"><font SIZE="11" NAME="Arial"/></node><node wORDER="4" wCOORDS="-290,0" TEXT="Normal" POSITION="left" ID="ID_9"/><node wORDER="5" wCOORDS="-290,25" TEXT="Nomal+" POSITION="left" ID="ID_10"><font SIZE="13" NAME="Arial"/></node><node wORDER="6" wCOORDS="-290,50" TEXT="Normal++" POSITION="left" ID="ID_11"><font SIZE="14" NAME="Arial"/></node><node wORDER="7" wCOORDS="-290,75" TEXT="Normal+++" POSITION="left" ID="ID_12"><font SIZE="15" NAME="Arial"/></node><node wORDER="8" wCOORDS="-290,100" TEXT="Normal++++" POSITION="left" ID="ID_13"><font SIZE="16" NAME="Arial"/></node></node></node></map>
<?xml version="1.0" encoding="UTF-8"?>
<map version="0.9.0">
<node TEXT="Fonts" ID="ID_0">
<node TEXT="Styles" POSITION="right" ID="ID_1">
<node TEXT="Bold" POSITION="right" ID="ID_2">
<font SIZE="12" NAME="Arial" BOLD="true"/>
</node>
<node TEXT="Italic" POSITION="right" ID="ID_3">
<font SIZE="12" NAME="Arial" ITALIC="true"/>
</node>
</node>
<node TEXT="Sizes" POSITION="left" ID="ID_4">
<node TEXT="Normal----" POSITION="left" ID="ID_5">
<font SIZE="8" NAME="Arial"/>
</node>
<node TEXT="Normal---" POSITION="left" ID="ID_6">
<font SIZE="9" NAME="Arial"/>
</node>
<node TEXT="Normal--" POSITION="left" ID="ID_7">
<font SIZE="10" NAME="Arial"/>
</node>
<node TEXT="Normal-" POSITION="left" ID="ID_8">
<font SIZE="11" NAME="Arial"/>
</node>
<node TEXT="Normal" POSITION="left" ID="ID_9"/>
<node TEXT="Nomal+" POSITION="left" ID="ID_10">
<font SIZE="13" NAME="Arial"/>
</node>
<node TEXT="Normal++" POSITION="left" ID="ID_11">
<font SIZE="14" NAME="Arial"/>
</node>
<node TEXT="Normal+++" POSITION="left" ID="ID_12">
<font SIZE="15" NAME="Arial"/>
</node>
<node TEXT="Normal++++" POSITION="left" ID="ID_13">
<font SIZE="16" NAME="Arial"/>
</node>
</node>
</node>
</map>

View File

@ -1 +1,55 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="pela" name="basic"><topic id="0" central="true" position="0,0" shape="rounded rectagle" text="Fonts"><topic id="1" position="200,0" order="0" shape="line" text="Styles"><topic id="2" position="290,-25" order="0" fontStyle="Arial;12;;bold;;" shape="line" text="Bold"/><topic id="3" position="290,0" order="1" fontStyle="Arial;12;;;italic;" shape="line" text="Italic"/></topic><topic id="4" position="-200,0" order="0" shape="line" text="Sizes"><topic id="5" position="-290,-100" order="0" fontStyle="Arial;8;;;;" shape="line" text="Normal----"/><topic id="6" position="-290,-75" order="1" fontStyle="Arial;9;;;;" shape="line" text="Normal---"/><topic id="7" position="-290,-50" order="2" fontStyle="Arial;10;;;;" shape="line" text="Normal--"/><topic id="8" position="-290,-25" order="3" fontStyle="Arial;11;;;;" shape="line" text="Normal-"/><topic id="9" position="-290,0" order="4" shape="line" text="Normal"/><topic id="10" position="-290,25" order="5" fontStyle="Arial;13;;;;" shape="line" text="Nomal+"/><topic id="11" position="-290,50" order="6" fontStyle="Arial;14;;;;" shape="line" text="Normal++"/><topic id="12" position="-290,75" order="7" fontStyle="Arial;15;;;;" shape="line" text="Normal+++"/><topic id="13" position="-290,100" order="8" fontStyle="Arial;16;;;;" shape="line" text="Normal++++"/></topic></topic></map>
<?xml version="1.0" encoding="UTF-8"?>
<map version="tango" name="basic">
<topic id="0" central="true" position="0,0" shape="rounded rectagle">
<text><![CDATA[Fonts]]></text>
<topic id="1" position="200,0" order="0" shape="line">
<text><![CDATA[Styles]]></text>
<topic id="2" position="290,-25" order="0"
fontStyle="Arial;12;;bold;;" shape="line">
<text><![CDATA[Bold]]></text>
</topic>
<topic id="3" position="290,0" order="1"
fontStyle="Arial;12;;;italic;" shape="line">
<text><![CDATA[Italic]]></text>
</topic>
</topic>
<topic id="4" position="-200,0" order="0" shape="line">
<text><![CDATA[Sizes]]></text>
<topic id="5" position="-290,-100" order="0"
fontStyle="Arial;8;;;;" shape="line">
<text><![CDATA[Normal----]]></text>
</topic>
<topic id="6" position="-290,-75" order="1"
fontStyle="Arial;9;;;;" shape="line">
<text><![CDATA[Normal---]]></text>
</topic>
<topic id="7" position="-290,-50" order="2"
fontStyle="Arial;10;;;;" shape="line">
<text><![CDATA[Normal--]]></text>
</topic>
<topic id="8" position="-290,-25" order="3"
fontStyle="Arial;11;;;;" shape="line">
<text><![CDATA[Normal-]]></text>
</topic>
<topic id="9" position="-290,0" order="4" shape="line">
<text><![CDATA[Normal]]></text>
</topic>
<topic id="10" position="-290,25" order="5"
fontStyle="Arial;13;;;;" shape="line">
<text><![CDATA[Nomal+]]></text>
</topic>
<topic id="11" position="-290,50" order="6"
fontStyle="Arial;14;;;;" shape="line">
<text><![CDATA[Normal++]]></text>
</topic>
<topic id="12" position="-290,75" order="7"
fontStyle="Arial;15;;;;" shape="line">
<text><![CDATA[Normal+++]]></text>
</topic>
<topic id="13" position="-290,100" order="8"
fontStyle="Arial;16;;;;" shape="line">
<text><![CDATA[Normal++++]]></text>
</topic>
</topic>
</topic>
</map>

View File

@ -1 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="0.9.0"><node wCOORDS="0,0" TEXT="i18n" ID="ID_0"><node wORDER="0" wCOORDS="200,0" TEXT="Este es un é con acento" POSITION="right" ID="ID_1"/><node wORDER="0" wCOORDS="-200,0" TEXT="Este es una ñ" POSITION="left" ID="ID_2"/><node wORDER="4" wCOORDS="200,100" TEXT="這是一個樣本 Japanise。" POSITION="right" ID="ID_3"/></node></map>
<?xml version="1.0" encoding="UTF-8"?>
<map version="0.9.0">
<node TEXT="i18n" ID="ID_0">
<node TEXT="Este es un é con acento" POSITION="right" ID="ID_1"/>
<node TEXT="Este es una ñ" POSITION="left" ID="ID_2"/>
<node TEXT="這是一個樣本 Japanise。" POSITION="right" ID="ID_3"/>
</node>
</map>

View File

@ -1 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="pela" name="basic"><topic id="0" central="true" position="0,0" shape="rounded rectagle" text="i18n"><topic id="1" position="200,0" order="0" shape="line" text="Este es un é con acento"/><topic id="2" position="-200,0" order="0" shape="line" text="Este es una ñ"/><topic id="3" position="200,100" order="4" shape="line" text="這是一個樣本 Japanise。"/></topic></map>
<?xml version="1.0" encoding="UTF-8"?>
<map version="tango" name="basic">
<topic id="0" central="true" position="0,0" shape="rounded rectagle">
<text><![CDATA[i18n]]></text>
<topic id="1" position="200,0" order="0" shape="line">
<text><![CDATA[Este es un é con acento]]></text>
</topic>
<topic id="2" position="-200,0" order="0" shape="line">
<text><![CDATA[Este es una ñ]]></text>
</topic>
<topic id="3" position="200,100" order="4" shape="line">
<text><![CDATA[這是一個樣本 Japanise。]]></text>
</topic>
</topic>
</map>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="0.9.0"><node wCOORDS="0,0" TEXT="Node Links" LINK="http://www.google.com" ID="ID_0"><icon BUILTIN="closed"/><node wORDER="0" wCOORDS="200,0" TEXT="Link Topic" POSITION="right" LINK="http://www.bing.com" ID="ID_1" FOLDED="true"><icon BUILTIN="info"/><node wORDER="0" wCOORDS="290,-25" TEXT="Link Topic Topic" POSITION="right" LINK="http://bing.com" ID="ID_2"><icon BUILTIN="messagebox_warning"/></node></node></node></map>
<?xml version="1.0" encoding="UTF-8"?>
<map version="0.9.0">
<node TEXT="Node Links" LINK="http://www.google.com" ID="ID_0">
<icon BUILTIN="closed"/>
<node TEXT="Link Topic" POSITION="right"
LINK="http://www.bing.com" ID="ID_1" FOLDED="true">
<icon BUILTIN="info"/>
<node TEXT="Link Topic Topic" POSITION="right"
LINK="http://bing.com" ID="ID_2">
<icon BUILTIN="messagebox_warning"/>
</node>
</node>
</node>
</map>

View File

@ -1 +1,18 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="pela" name="basic"><topic id="0" central="true" position="0,0" shape="rounded rectagle" text="Node Links"><icon id="onoff_delete"/><link url="http://www.google.com"/><topic shrink="true" id="1" position="200,0" order="0" shape="line" text="Link Topic"><icon id="sign_info"/><link url="http://www.bing.com"/><topic id="2" position="290,-25" order="0" shape="line" text="Link Topic Topic"><icon id="sign_warning"/><link url="http://bing.com"/></topic></topic></topic></map>
<?xml version="1.0" encoding="UTF-8"?>
<map version="tango" name="basic">
<topic id="0" central="true" position="0,0" shape="rounded rectagle">
<text><![CDATA[Node Links]]></text>
<icon id="onoff_delete"/>
<link url="http://www.google.com"/>
<topic shrink="true" id="1" position="200,0" order="0" shape="line">
<text><![CDATA[Link Topic]]></text>
<icon id="sign_info"/>
<link url="http://www.bing.com"/>
<topic id="2" position="290,-25" order="0" shape="line">
<text><![CDATA[Link Topic Topic]]></text>
<icon id="sign_warning"/>
<link url="http://bing.com"/>
</topic>
</topic>
</topic>
</map>

View File

@ -1 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="0.9.0"><node wCOORDS="0,0" TEXT="I have HTML In Nodes" ID="ID_0"><node wORDER="0" wCOORDS="200,0" TEXT="Here is some fonts   Add color changes ... Add some bullets: Different Bullets And all aligned !!!!s" POSITION="right" ID="ID_1"/></node></map>
<?xml version="1.0" encoding="UTF-8"?>
<map version="0.9.0">
<node TEXT="I have HTML In Nodes" ID="ID_0">
<node TEXT="" POSITION="right" ID="ID_1"/>
</node>
</map>

View File

@ -1 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="pela" name="basic"><topic id="0" central="true" position="0,0" shape="rounded rectagle" text="I have HTML In Nodes"><topic id="1" position="200,0" order="0" shape="line" text="Here is some fonts   Add color changes ... Add some bullets: Different Bullets And all aligned !!!!s"/></topic></map>
<?xml version="1.0" encoding="UTF-8"?>
<map version="tango" name="basic">
<topic id="0" central="true" position="0,0" shape="rounded rectagle">
<text><![CDATA[I have HTML In Nodes]]></text>
<topic id="1" position="200,0" order="0" shape="line">
<text><![CDATA[]]></text>
</topic>
</topic>
</map>

View File

@ -1 +1,50 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="0.9.0"><node wCOORDS="0,0" TEXT="Shapes" ID="ID_0"><node wORDER="0" wCOORDS="200,0" TEXT="Node Styles" POSITION="right" ID="ID_1"><node wORDER="0" wCOORDS="290,-50" TEXT="Fork" POSITION="right" ID="ID_2"><edge COLOR="#808080"/></node><node wORDER="1" wCOORDS="290,-25" TEXT="Bubble" STYLE="bubble" POSITION="right" ID="ID_3"><edge COLOR="#808080"/></node><node wORDER="2" wCOORDS="290,0" TEXT="As parent" POSITION="right" ID="ID_4"><edge COLOR="#808080"/></node><node wORDER="3" wCOORDS="290,25" TEXT="Combined" POSITION="right" ID="ID_5"><edge COLOR="#808080"/></node></node><node wORDER="0" wCOORDS="-200,0" TEXT="Node Background Color" POSITION="left" ID="ID_6" BACKGROUND_COLOR="#f20707"><node wORDER="0" wCOORDS="-290,-50" TEXT="Fork" POSITION="left" ID="ID_7" BACKGROUND_COLOR="#0000cc"><edge COLOR="#808080"/></node><node wORDER="1" wCOORDS="-290,-25" TEXT="Bubble" STYLE="bubble" POSITION="left" ID="ID_8" BACKGROUND_COLOR="#ccffcc"><edge COLOR="#808080"/></node><node wORDER="2" wCOORDS="-290,0" TEXT="As parent" POSITION="left" ID="ID_9" BACKGROUND_COLOR="#00ffff"><edge COLOR="#808080"/></node><node wORDER="3" wCOORDS="-290,25" TEXT="Combined" POSITION="left" ID="ID_10" BACKGROUND_COLOR="#990099"><edge COLOR="#808080"/></node></node><node wORDER="4" wCOORDS="-200,100" TEXT="Node Text Color" POSITION="left" ID="ID_11" BACKGROUND_COLOR="#f20707"><node wORDER="0" wCOORDS="-290,50" TEXT="Fork" POSITION="left" ID="ID_12" COLOR="#ffff00" BACKGROUND_COLOR="#0000cc"><edge COLOR="#808080"/></node><node wORDER="1" wCOORDS="-290,75" TEXT="Bubble" STYLE="bubble" POSITION="left" ID="ID_13" COLOR="#ff6666" BACKGROUND_COLOR="#ccffcc"><edge COLOR="#808080"/></node><node wORDER="2" wCOORDS="-290,100" TEXT="As parent" POSITION="left" ID="ID_14" COLOR="#009999" BACKGROUND_COLOR="#00ffff"><edge COLOR="#808080"/></node><node wORDER="3" wCOORDS="-290,125" TEXT="Combined" POSITION="left" ID="ID_15" COLOR="#009999" BACKGROUND_COLOR="#990099"><edge COLOR="#808080"/></node></node></node></map>
<?xml version="1.0" encoding="UTF-8"?>
<map version="0.9.0">
<node TEXT="Shapes" ID="ID_0">
<node TEXT="Node Styles" POSITION="right" ID="ID_1">
<node TEXT="Fork" POSITION="right" ID="ID_2">
<edge COLOR="#808080"/>
</node>
<node TEXT="Bubble" STYLE="bubble" POSITION="right" ID="ID_3">
<edge COLOR="#808080"/>
</node>
<node TEXT="As parent" POSITION="right" ID="ID_4">
<edge COLOR="#808080"/>
</node>
<node TEXT="Combined" POSITION="right" ID="ID_5">
<edge COLOR="#808080"/>
</node>
</node>
<node TEXT="Node Background Color" POSITION="left" ID="ID_6" BACKGROUND_COLOR="#f20707">
<node TEXT="Fork" POSITION="left" ID="ID_7" BACKGROUND_COLOR="#0000cc">
<edge COLOR="#808080"/>
</node>
<node TEXT="Bubble" STYLE="bubble" POSITION="left" ID="ID_8" BACKGROUND_COLOR="#ccffcc">
<edge COLOR="#808080"/>
</node>
<node TEXT="As parent" POSITION="left" ID="ID_9" BACKGROUND_COLOR="#00ffff">
<edge COLOR="#808080"/>
</node>
<node TEXT="Combined" POSITION="left" ID="ID_10" BACKGROUND_COLOR="#990099">
<edge COLOR="#808080"/>
</node>
</node>
<node TEXT="Node Text Color" POSITION="left" ID="ID_11" BACKGROUND_COLOR="#f20707">
<node TEXT="Fork" POSITION="left" ID="ID_12" COLOR="#ffff00" BACKGROUND_COLOR="#0000cc">
<edge COLOR="#808080"/>
</node>
<node TEXT="Bubble" STYLE="bubble" POSITION="left"
ID="ID_13" COLOR="#ff6666" BACKGROUND_COLOR="#ccffcc">
<edge COLOR="#808080"/>
</node>
<node TEXT="As parent" POSITION="left" ID="ID_14"
COLOR="#009999" BACKGROUND_COLOR="#00ffff">
<edge COLOR="#808080"/>
</node>
<node TEXT="Combined" POSITION="left" ID="ID_15"
COLOR="#009999" BACKGROUND_COLOR="#990099">
<edge COLOR="#808080"/>
</node>
</node>
</node>
</map>

View File

@ -1 +1,63 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="pela" name="basic"><topic id="0" central="true" position="0,0" shape="rounded rectagle" text="Shapes"><topic id="1" position="200,0" order="0" shape="line" text="Node Styles"><topic id="2" position="290,-50" order="0" brColor="#808080" shape="line" text="Fork"/><topic id="3" position="290,-25" order="1" brColor="#808080" shape="rounded rectagle" text="Bubble"/><topic id="4" position="290,0" order="2" brColor="#808080" shape="line" text="As parent"/><topic id="5" position="290,25" order="3" brColor="#808080" shape="line" text="Combined"/></topic><topic id="6" position="-200,0" order="0" bgColor="#f20707" shape="line" text="Node Background Color"><topic id="7" position="-290,-50" order="0" brColor="#808080" bgColor="#0000cc" shape="line" text="Fork"/><topic id="8" position="-290,-25" order="1" brColor="#808080" bgColor="#ccffcc" shape="rounded rectagle" text="Bubble"/><topic id="9" position="-290,0" order="2" brColor="#808080" bgColor="#00ffff" shape="line" text="As parent"/><topic id="10" position="-290,25" order="3" brColor="#808080" bgColor="#990099" shape="line" text="Combined"/></topic><topic id="11" position="-200,100" order="4" bgColor="#f20707" shape="line" text="Node Text Color"><topic id="12" position="-290,50" order="0" brColor="#808080" bgColor="#0000cc" fontStyle=";;#ffff00;;;" shape="line" text="Fork"/><topic id="13" position="-290,75" order="1" brColor="#808080" bgColor="#ccffcc" fontStyle=";;#ff6666;;;" shape="rounded rectagle" text="Bubble"/><topic id="14" position="-290,100" order="2" brColor="#808080" bgColor="#00ffff" fontStyle=";;#009999;;;" shape="line" text="As parent"/><topic id="15" position="-290,125" order="3" brColor="#808080" bgColor="#990099" fontStyle=";;#009999;;;" shape="line" text="Combined"/></topic></topic></map>
<?xml version="1.0" encoding="UTF-8"?>
<map version="tango" name="basic">
<topic id="0" central="true" position="0,0" shape="rounded rectagle">
<text><![CDATA[Shapes]]></text>
<topic id="1" position="200,0" order="0" shape="line">
<text><![CDATA[Node Styles]]></text>
<topic id="2" position="290,-50" order="0" brColor="#808080" shape="line">
<text><![CDATA[Fork]]></text>
</topic>
<topic id="3" position="290,-25" order="1" brColor="#808080" shape="rounded rectagle">
<text><![CDATA[Bubble]]></text>
</topic>
<topic id="4" position="290,0" order="2" brColor="#808080" shape="line">
<text><![CDATA[As parent]]></text>
</topic>
<topic id="5" position="290,25" order="3" brColor="#808080" shape="line">
<text><![CDATA[Combined]]></text>
</topic>
</topic>
<topic id="6" position="-200,0" order="0" bgColor="#f20707" shape="line">
<text><![CDATA[Node Background Color]]></text>
<topic id="7" position="-290,-50" order="0"
brColor="#808080" bgColor="#0000cc" shape="line">
<text><![CDATA[Fork]]></text>
</topic>
<topic id="8" position="-290,-25" order="1"
brColor="#808080" bgColor="#ccffcc" shape="rounded rectagle">
<text><![CDATA[Bubble]]></text>
</topic>
<topic id="9" position="-290,0" order="2" brColor="#808080"
bgColor="#00ffff" shape="line">
<text><![CDATA[As parent]]></text>
</topic>
<topic id="10" position="-290,25" order="3"
brColor="#808080" bgColor="#990099" shape="line">
<text><![CDATA[Combined]]></text>
</topic>
</topic>
<topic id="11" position="-200,100" order="4" bgColor="#f20707" shape="line">
<text><![CDATA[Node Text Color]]></text>
<topic id="12" position="-290,50" order="0"
brColor="#808080" bgColor="#0000cc"
fontStyle=";;#ffff00;;;" shape="line">
<text><![CDATA[Fork]]></text>
</topic>
<topic id="13" position="-290,75" order="1"
brColor="#808080" bgColor="#ccffcc"
fontStyle=";;#ff6666;;;" shape="rounded rectagle">
<text><![CDATA[Bubble]]></text>
</topic>
<topic id="14" position="-290,100" order="2"
brColor="#808080" bgColor="#00ffff"
fontStyle=";;#009999;;;" shape="line">
<text><![CDATA[As parent]]></text>
</topic>
<topic id="15" position="-290,125" order="3"
brColor="#808080" bgColor="#990099"
fontStyle=";;#009999;;;" shape="line">
<text><![CDATA[Combined]]></text>
</topic>
</topic>
</topic>
</map>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="0.9.0">
<node TEXT="Welcome To WiseMapping" ID="ID_1" BACKGROUND_COLOR="#0a0a08">
<node TEXT="Try it Now!" POSITION="right" ID="ID_11" BACKGROUND_COLOR="#250be3">
<node TEXT="Double Click" POSITION="right" ID="ID_12"/>
<node TEXT=" INS to insert" POSITION="right" ID="ID_13"/>
<node TEXT="Drag map to move" POSITION="right" ID="ID_14"/>
</node>
<node TEXT="Productivity" POSITION="left" ID="ID_2" BACKGROUND_COLOR="#d9b518">
<node TEXT="Share your ideas" POSITION="left" ID="ID_3"/>
<node
TEXT="Brainstorming&#xa; with&#xa; some&#xa; lines"
POSITION="left" ID="ID_4"/>
<node TEXT="Visual " POSITION="left" ID="ID_5"/>
</node>
<node TEXT="Mind Mapping" POSITION="right" ID="ID_6" BACKGROUND_COLOR="#edabff">
<node TEXT="Share with Collegues" POSITION="right" ID="ID_7"/>
<node TEXT="Online" POSITION="right" ID="ID_8"/>
<node TEXT="Anyplace, Anytime" POSITION="right" ID="ID_9"/>
<node TEXT="Free!!!" POSITION="right" ID="ID_10"/>
</node>
<node TEXT="Web 2.0 Tool" POSITION="left" ID="ID_22" BACKGROUND_COLOR="#add1f7">
<node TEXT="Collaborate" POSITION="left" ID="ID_23"/>
<node TEXT="No plugin required" POSITION="left" ID="ID_24"/>
<node TEXT="Share" POSITION="left" ID="ID_25"/>
<node TEXT="Easy to use" POSITION="left" ID="ID_26"/>
</node>
<node TEXT="Features" POSITION="right" ID="ID_15">
<node TEXT="Links to Sites" POSITION="right" ID="ID_16"/>
<node TEXT="Fonts" POSITION="right" ID="ID_17"/>
<node TEXT="Topic Color" POSITION="right" ID="ID_18"/>
<node TEXT="Topic Shapes" POSITION="right" ID="ID_19"/>
<node TEXT="Icons" POSITION="right" ID="ID_20"/>
<node TEXT="History Changes" POSITION="right" ID="ID_21"/>
</node>
</node>
</map>

View File

@ -0,0 +1,53 @@
<map name="welcome" version="tango">
<topic central="true" text="Welcome To WiseMapping" id="1" fontStyle=";;#dfcfe6;;;" bgColor="#0a0a08">
<topic position="178,-130" order="0" text="Try it Now!" id="11" fontStyle=";;#ffffff;;;" bgColor="#250be3"
brColor="#080559">
<topic position="272,-156" order="0" text="Double Click" id="12" fontStyle=";;#001be6;;italic;"/>
<topic position="274,-130" order="1" text=" INS to insert" id="13" fontStyle=";;#001be6;;italic;"/>
<topic position="285,-104" order="2" text="Drag map to move" id="14" fontStyle=";;#001be6;;italic;"/>
</topic>
<topic position="-189,-52" order="1" text="Productivity" id="2" fontStyle=";;#104f11;;;" bgColor="#d9b518">
<icon id="chart_bar"/>
<topic position="-310,-90" order="0" text="Share your ideas" id="3">
<icon id="bulb_light_on"/>
</topic>
<topic position="-299,-52" order="1" id="4">
<text><![CDATA[Brainstorming
with
some
lines]]></text>
</topic>
<topic position="-283,-14" order="2" text="Visual " id="5"/>
</topic>
<topic position="185,-39" order="2" text="Mind Mapping" id="6" fontStyle=";;#602378;;;" bgColor="#edabff">
<topic position="303,-78" order="0" text="Share with Collegues" id="7"/>
<topic position="275,-52" order="1" text="Online" id="8"/>
<topic position="299,-26" order="2" text="Anyplace, Anytime" id="9"/>
<topic position="277,0" order="3" text="Free!!!" id="10"/>
</topic>
<topic position="-183,51" order="3" text="Web 2.0 Tool" id="22" fontStyle=";;#0c1d6b;;;" bgColor="#add1f7">
<topic position="-287,12" order="0" text="Collaborate" id="23">
<note><![CDATA[This is a multiline note with some spanish char "ñ"]]></note>
</topic>
<topic position="-302,38" order="1" text="No plugin required" id="24">
<icon id="conn_disconnect"/>
</topic>
<topic position="-271,64" order="2" text="Share" id="25"/>
<topic position="-282,90" order="3" text="Easy to use" id="26"/>
</topic>
<topic position="171,91" order="4" text="Features" id="15">
<topic position="266,26" order="0" text="Links to Sites" id="16" fontStyle=";6;;;;">
<link url="http://www.digg.com" type="url"/>
</topic>
<topic position="245,52" order="1" text="Fonts" id="17"/>
<topic position="255,78" order="2" text="Topic Color" id="18"/>
<topic position="260,104" order="3" text="Topic Shapes" shape="line" id="19"/>
<topic position="252,130" order="4" text="Icons" id="20">
<icon id="object_rainbow"/>
</topic>
<topic position="272,156" order="5" text="History Changes" id="21">
<icon id="arrowc_turn_left"/>
</topic>
</topic>
</topic>
</map>

View File

@ -34,7 +34,7 @@ public class ExportTest {
final StringBuilder recContent = new StringBuilder();
String line = br.readLine();
while (line != null) {
recContent.append(line);
recContent.append(line).append("\n");
line = br.readLine();
}
@ -65,14 +65,14 @@ public class ExportTest {
final StringBuilder content = new StringBuilder();
String line = br.readLine();
while (line != null) {
content.append(line);
content.append(line).append("\n");
line = br.readLine();
}
fis.close();
final MindMap result = new MindMap();
result.setXml(content.toString().getBytes("UTF-8"));
result.setXmlStr(content.toString());
return result;
}
@ -84,7 +84,7 @@ public class ExportTest {
final File[] freeMindFiles = dataDir.listFiles(new FilenameFilter() {
public boolean accept(File dir, String name) {
return name.endsWith(".xml");
return name.endsWith(".wxml");
}
});

View File

@ -17,6 +17,7 @@ import java.io.*;
@Test
public class ImportExportTest {
private static final String DATA_DIR_PATH = "src/test/data/freemind/";
private static final String UTF_8 = "UTF-8";
final private Importer importer;
final private FreemindExporter exporter;
@ -30,8 +31,6 @@ public class ImportExportTest {
@Test(dataProvider = "Data-Provider-Function")
public void exportImportTest(@NotNull final File freeMindFile, @NotNull final File wiseFile, @NotNull final File freeRecFile) throws ImporterException, IOException, ExportException {
final FileInputStream fileInputStream = new FileInputStream(freeMindFile.getAbsolutePath());
final MindMap mindMap = importer.importMap("basic", "basic", fileInputStream);
@ -46,7 +45,7 @@ public class ImportExportTest {
} else {
final FileOutputStream fos = new FileOutputStream(wiseFile);
fos.write(mindMap.getXmlStr().getBytes("UTF-8"));
fos.write(mindMap.getXmlStr().getBytes(UTF_8));
fos.close();
}
@ -59,7 +58,7 @@ public class ImportExportTest {
final ByteArrayOutputStream bos = new ByteArrayOutputStream();
exporter.export(mindMap, bos);
Assert.assertEquals(bos.toByteArray(), recContent.getBytes("UTF-8"));
Assert.assertEquals(new String(bos.toByteArray(), UTF_8), recContent);
} else {
final FileOutputStream fos = new FileOutputStream(freeRecFile);
@ -72,13 +71,13 @@ public class ImportExportTest {
private String readFile(@NotNull File file) throws IOException {
// Load rec file co
final FileInputStream fis = new FileInputStream(file);
final InputStreamReader isr = new InputStreamReader(fis,"UTF-8");
final InputStreamReader isr = new InputStreamReader(fis, UTF_8);
final BufferedReader br = new BufferedReader(isr);
final StringBuilder result = new StringBuilder();
String line = br.readLine();
while (line != null) {
result.append(line);
result.append(line).append("\n");
line = br.readLine();
}
@ -97,7 +96,7 @@ public class ImportExportTest {
final File[] freeMindFiles = dataDir.listFiles(new FilenameFilter() {
public boolean accept(File dir, String name) {
return name.endsWith(".mm") && (testNameToRun==null || name.startsWith(testNameToRun));
return name.endsWith(".mm") && (testNameToRun == null || name.startsWith(testNameToRun));
}
});

View File

@ -7,7 +7,7 @@
<package name="com.wisemapping.test.export"/>
</packages>
</test>
<test name="Model Tests">
<test name="Model Tests">
<packages>
<package name="com.wisemapping.test.model"/>
</packages>