Freemind import adding Notes and richText support

This commit is contained in:
Pablo Luna 2011-01-11 13:59:28 -03:00
parent 6b3f50914f
commit c1989c4562
14 changed files with 1868 additions and 1744 deletions

View File

@ -19,6 +19,7 @@
package com.wisemapping.importer.freemind;
import com.sun.org.apache.xerces.internal.dom.TextImpl;
import com.wisemapping.importer.Importer;
import com.wisemapping.importer.ImporterException;
import com.wisemapping.model.MindMap;
@ -26,8 +27,10 @@ import com.wisemapping.model.ShapeStyle;
import com.wisemapping.model.MindMapNative;
import com.wisemapping.util.JAXBUtils;
import com.wisemapping.xml.freemind.*;
import com.wisemapping.xml.freemind.Node;
import com.wisemapping.xml.mindmap.TopicType;
import com.wisemapping.xml.mindmap.Link;
import org.w3c.dom.*;
import javax.xml.bind.JAXBException;
import java.io.InputStream;
@ -38,7 +41,7 @@ import java.util.List;
import java.math.BigInteger;
public class FreemindImporter
implements Importer
implements Importer
{
private com.wisemapping.xml.mindmap.ObjectFactory mindmapObjectFactory;
@ -222,9 +225,85 @@ public class FreemindImporter
currentTopic.setNote(mindmapNote);
}
}
else if (freemindNode instanceof Richcontent)
{
final Richcontent content = (Richcontent) freemindNode;
final String type = content.getTYPE();
if(type.equals("NODE")){
final String text = getText(content);
text.replaceAll("\n","");
text.trim();
currentTopic.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;
mindmapNote.setText(text);
currentTopic.setNote(mindmapNote);
}
}
}
}
private String getRichContent(Richcontent content) {
String result = null;
List<Element> elementList = content.getHtml().getAny();
Element body = null;
for(Element elem : elementList){
if(elem.getNodeName().equals("body")){
body = elem;
break;
}
}
if(body != null){
result = body.getTextContent();
}
return result;
}
private String getText(Richcontent content) {
String result = "";
List<Element> elementList = content.getHtml().getAny();
Element body = null;
for(Element elem : elementList){
if(elem.getNodeName().equals("body")){
body = elem;
break;
}
}
if(body != null){
String textNode = buildTextFromChildren(body);
if(textNode!= null)
result = textNode.trim();
}
return result;
}
private String buildTextFromChildren(org.w3c.dom.Node body) {
StringBuilder text = new StringBuilder();
NodeList childNodes = body.getChildNodes();
for(int i=0; i< childNodes.getLength(); i++){
org.w3c.dom.Node child = childNodes.item(i);
if(child instanceof TextImpl){
text.append(" ");
text.append(child.getTextContent());
}
else{
String textElem = buildTextFromChildren(child);
if(textElem!=null && !textElem.equals("")){
text.append(textElem);
}
}
}
return text.toString();
}
private void setNodePropertiesToTopic( com.wisemapping.xml.mindmap.TopicType mindmapTopic,com.wisemapping.xml.freemind.Node freemindNode)
{
mindmapTopic.setText(freemindNode.getTEXT());
@ -294,7 +373,7 @@ public class FreemindImporter
}
return fontName;
}
private String getShapeFormFromNode(Node node)
{
String shape = node.getSTYLE();

View File

@ -1,248 +1,229 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.01.10 at 02:12:59 PM ART
//
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2007.08.27 at 09:24:17 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;
}
}
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,86 +1,67 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.01.10 at 02:12:59 PM ART
//
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2007.08.27 at 09:24:17 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;
}
}
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,140 +1,121 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.01.10 at 02:12:59 PM ART
//
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2007.08.27 at 09:24:17 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;
}
}
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,181 +1,162 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.01.10 at 02:12:59 PM ART
//
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2007.08.27 at 09:24:17 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;
}
}
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,145 +1,126 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.01.10 at 02:12:59 PM ART
//
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2007.08.27 at 09:24:17 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;
}
}
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

@ -0,0 +1,79 @@
//
// 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,86 +1,67 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.01.10 at 02:12:59 PM ART
//
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2007.08.27 at 09:24:17 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;
}
}
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,118 +1,99 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.01.10 at 02:12:59 PM ART
//
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2007.08.27 at 09:24:17 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;
}
}
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;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,143 +1,140 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.01.10 at 02:12:59 PM ART
//
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2008.03.26 at 10:38:46 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 generated package.
* <p>An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*
*/
@XmlRegistry
public class ObjectFactory {
private final static QName _Text_QNAME = new QName("", "text");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: generated
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link Arrowlink }
*
*/
public Arrowlink createArrowlink() {
return new Arrowlink();
}
/**
* Create an instance of {@link Map }
*
*/
public Map createMap() {
return new Map();
}
/**
* Create an instance of {@link Icon }
*
*/
public Icon createIcon() {
return new Icon();
}
/**
* Create an instance of {@link Cloud }
*
*/
public Cloud createCloud() {
return new Cloud();
}
/**
* Create an instance of {@link Font }
*
*/
public Font createFont() {
return new Font();
}
/**
* Create an instance of {@link Parameters }
*
*/
public Parameters createParameters() {
return new Parameters();
}
/**
* Create an instance of {@link Hook }
*
*/
public Hook createHook() {
return new Hook();
}
/**
* Create an instance of {@link Edge }
*
*/
public Edge createEdge() {
return new Edge();
}
/**
* Create an instance of {@link Node }
*
*/
public Node createNode() {
return new Node();
}
/**
* 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);
}
}
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,87 +1,68 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.01.10 at 02:12:59 PM ART
//
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2007.08.27 at 09:24:17 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;
}
}
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

@ -0,0 +1,106 @@
//
// 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

@ -8,7 +8,7 @@
</xs:complexType>
</xs:element>
<!--Used for node notes.-->
<xs:element name='text' type="xs:string"/>
<xs:element name='text' type="xs:string"/>
<xs:element name='arrowlink'>
<xs:complexType>
@ -74,6 +74,33 @@
</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>
@ -93,6 +120,8 @@
<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'/>