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; package com.wisemapping.importer.freemind;
import com.sun.org.apache.xerces.internal.dom.TextImpl;
import com.wisemapping.importer.Importer; import com.wisemapping.importer.Importer;
import com.wisemapping.importer.ImporterException; import com.wisemapping.importer.ImporterException;
import com.wisemapping.model.MindMap; import com.wisemapping.model.MindMap;
@ -26,8 +27,10 @@ import com.wisemapping.model.ShapeStyle;
import com.wisemapping.model.MindMapNative; import com.wisemapping.model.MindMapNative;
import com.wisemapping.util.JAXBUtils; import com.wisemapping.util.JAXBUtils;
import com.wisemapping.xml.freemind.*; import com.wisemapping.xml.freemind.*;
import com.wisemapping.xml.freemind.Node;
import com.wisemapping.xml.mindmap.TopicType; import com.wisemapping.xml.mindmap.TopicType;
import com.wisemapping.xml.mindmap.Link; import com.wisemapping.xml.mindmap.Link;
import org.w3c.dom.*;
import javax.xml.bind.JAXBException; import javax.xml.bind.JAXBException;
import java.io.InputStream; import java.io.InputStream;
@ -38,7 +41,7 @@ import java.util.List;
import java.math.BigInteger; import java.math.BigInteger;
public class FreemindImporter public class FreemindImporter
implements Importer implements Importer
{ {
private com.wisemapping.xml.mindmap.ObjectFactory mindmapObjectFactory; private com.wisemapping.xml.mindmap.ObjectFactory mindmapObjectFactory;
@ -222,9 +225,85 @@ public class FreemindImporter
currentTopic.setNote(mindmapNote); 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) private void setNodePropertiesToTopic( com.wisemapping.xml.mindmap.TopicType mindmapTopic,com.wisemapping.xml.freemind.Node freemindNode)
{ {
mindmapTopic.setText(freemindNode.getTEXT()); mindmapTopic.setText(freemindNode.getTEXT());
@ -294,7 +373,7 @@ public class FreemindImporter
} }
return fontName; return fontName;
} }
private String getShapeFormFromNode(Node node) private String getShapeFormFromNode(Node node)
{ {
String shape = node.getSTYLE(); String shape = node.getSTYLE();

View File

@ -1,248 +1,229 @@
/* //
* Licensed to the Apache Software Foundation (ASF) under one or more // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
* contributor license agreements. See the NOTICE file distributed with // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
* this work for additional information regarding copyright ownership. // Any modifications to this file will be lost upon recompilation of the source schema.
* The ASF licenses this file to You under the Apache License, Version 2.0 // Generated on: 2011.01.10 at 02:12:59 PM ART
* (the "License"); you may not use this file except in compliance with //
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6 package com.wisemapping.xml.freemind;
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema. import javax.xml.bind.annotation.XmlAccessType;
// Generated on: 2007.08.27 at 09:24:17 PM ART import javax.xml.bind.annotation.XmlAccessorType;
// import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
package com.wisemapping.xml.freemind;
import javax.xml.bind.annotation.XmlAccessType; /**
import javax.xml.bind.annotation.XmlAccessorType; * <p>Java class for anonymous complex type.
import javax.xml.bind.annotation.XmlAttribute; *
import javax.xml.bind.annotation.XmlRootElement; * <p>The following schema fragment specifies the expected content contained within this class.
import javax.xml.bind.annotation.XmlType; *
* <pre>
* &lt;complexType>
/** * &lt;complexContent>
* <p>Java class for anonymous complex type. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* * &lt;attribute name="COLOR" type="{http://www.w3.org/2001/XMLSchema}string" />
* <p>The following schema fragment specifies the expected content contained within this class. * &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" />
* <pre> * &lt;attribute name="ENDINCLINATION" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;complexType> * &lt;attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;complexContent> * &lt;attribute name="STARTARROW" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * &lt;attribute name="STARTINCLINATION" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="COLOR" type="{http://www.w3.org/2001/XMLSchema}string" /> * &lt;/restriction>
* &lt;attribute name="DESTINATION" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * &lt;/complexContent>
* &lt;attribute name="ENDARROW" type="{http://www.w3.org/2001/XMLSchema}string" /> * &lt;/complexType>
* &lt;attribute name="ENDINCLINATION" type="{http://www.w3.org/2001/XMLSchema}string" /> * </pre>
* &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> @XmlAccessorType(XmlAccessType.FIELD)
* &lt;/complexContent> @XmlType(name = "")
* &lt;/complexType> @XmlRootElement(name = "arrowlink")
* </pre> public class Arrowlink {
*
* @XmlAttribute(name = "COLOR")
*/ protected String color;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAttribute(name = "DESTINATION", required = true)
@XmlType(name = "") protected String destination;
@XmlRootElement(name = "arrowlink") @XmlAttribute(name = "ENDARROW")
public class Arrowlink { protected String endarrow;
@XmlAttribute(name = "ENDINCLINATION")
@XmlAttribute(name = "COLOR") protected String endinclination;
protected String color; @XmlAttribute(name = "ID")
@XmlAttribute(name = "DESTINATION", required = true) protected String id;
protected String destination; @XmlAttribute(name = "STARTARROW")
@XmlAttribute(name = "ENDARROW") protected String startarrow;
protected String endarrow; @XmlAttribute(name = "STARTINCLINATION")
@XmlAttribute(name = "ENDINCLINATION") protected String startinclination;
protected String endinclination;
@XmlAttribute(name = "ID") /**
protected String id; * Gets the value of the color property.
@XmlAttribute(name = "STARTARROW") *
protected String startarrow; * @return
@XmlAttribute(name = "STARTINCLINATION") * possible object is
protected String startinclination; * {@link String }
*
/** */
* Gets the value of the color property. public String getCOLOR() {
* return color;
* @return }
* possible object is
* {@link String } /**
* * Sets the value of the color property.
*/ *
public String getCOLOR() { * @param value
return color; * allowed object is
} * {@link String }
*
/** */
* Sets the value of the color property. public void setCOLOR(String value) {
* this.color = value;
* @param value }
* allowed object is
* {@link String } /**
* * Gets the value of the destination property.
*/ *
public void setCOLOR(String value) { * @return
this.color = value; * possible object is
} * {@link String }
*
/** */
* Gets the value of the destination property. public String getDESTINATION() {
* return destination;
* @return }
* possible object is
* {@link String } /**
* * Sets the value of the destination property.
*/ *
public String getDESTINATION() { * @param value
return destination; * allowed object is
} * {@link String }
*
/** */
* Sets the value of the destination property. public void setDESTINATION(String value) {
* this.destination = value;
* @param value }
* allowed object is
* {@link String } /**
* * Gets the value of the endarrow property.
*/ *
public void setDESTINATION(String value) { * @return
this.destination = value; * possible object is
} * {@link String }
*
/** */
* Gets the value of the endarrow property. public String getENDARROW() {
* return endarrow;
* @return }
* possible object is
* {@link String } /**
* * Sets the value of the endarrow property.
*/ *
public String getENDARROW() { * @param value
return endarrow; * allowed object is
} * {@link String }
*
/** */
* Sets the value of the endarrow property. public void setENDARROW(String value) {
* this.endarrow = value;
* @param value }
* allowed object is
* {@link String } /**
* * Gets the value of the endinclination property.
*/ *
public void setENDARROW(String value) { * @return
this.endarrow = value; * possible object is
} * {@link String }
*
/** */
* Gets the value of the endinclination property. public String getENDINCLINATION() {
* return endinclination;
* @return }
* possible object is
* {@link String } /**
* * Sets the value of the endinclination property.
*/ *
public String getENDINCLINATION() { * @param value
return endinclination; * allowed object is
} * {@link String }
*
/** */
* Sets the value of the endinclination property. public void setENDINCLINATION(String value) {
* this.endinclination = value;
* @param value }
* allowed object is
* {@link String } /**
* * Gets the value of the id property.
*/ *
public void setENDINCLINATION(String value) { * @return
this.endinclination = value; * possible object is
} * {@link String }
*
/** */
* Gets the value of the id property. public String getID() {
* return id;
* @return }
* possible object is
* {@link String } /**
* * Sets the value of the id property.
*/ *
public String getID() { * @param value
return id; * allowed object is
} * {@link String }
*
/** */
* Sets the value of the id property. public void setID(String value) {
* this.id = value;
* @param value }
* allowed object is
* {@link String } /**
* * Gets the value of the startarrow property.
*/ *
public void setID(String value) { * @return
this.id = value; * possible object is
} * {@link String }
*
/** */
* Gets the value of the startarrow property. public String getSTARTARROW() {
* return startarrow;
* @return }
* possible object is
* {@link String } /**
* * Sets the value of the startarrow property.
*/ *
public String getSTARTARROW() { * @param value
return startarrow; * allowed object is
} * {@link String }
*
/** */
* Sets the value of the startarrow property. public void setSTARTARROW(String value) {
* this.startarrow = value;
* @param value }
* allowed object is
* {@link String } /**
* * Gets the value of the startinclination property.
*/ *
public void setSTARTARROW(String value) { * @return
this.startarrow = value; * possible object is
} * {@link String }
*
/** */
* Gets the value of the startinclination property. public String getSTARTINCLINATION() {
* return startinclination;
* @return }
* possible object is
* {@link String } /**
* * Sets the value of the startinclination property.
*/ *
public String getSTARTINCLINATION() { * @param value
return startinclination; * allowed object is
} * {@link String }
*
/** */
* Sets the value of the startinclination property. public void setSTARTINCLINATION(String value) {
* this.startinclination = value;
* @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 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
* contributor license agreements. See the NOTICE file distributed with // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
* this work for additional information regarding copyright ownership. // Any modifications to this file will be lost upon recompilation of the source schema.
* The ASF licenses this file to You under the Apache License, Version 2.0 // Generated on: 2011.01.10 at 02:12:59 PM ART
* (the "License"); you may not use this file except in compliance with //
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6 package com.wisemapping.xml.freemind;
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema. import javax.xml.bind.annotation.XmlAccessType;
// Generated on: 2007.08.27 at 09:24:17 PM ART import javax.xml.bind.annotation.XmlAccessorType;
// import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
package com.wisemapping.xml.freemind;
import javax.xml.bind.annotation.XmlAccessType; /**
import javax.xml.bind.annotation.XmlAccessorType; * <p>Java class for anonymous complex type.
import javax.xml.bind.annotation.XmlAttribute; *
import javax.xml.bind.annotation.XmlRootElement; * <p>The following schema fragment specifies the expected content contained within this class.
import javax.xml.bind.annotation.XmlType; *
* <pre>
* &lt;complexType>
/** * &lt;complexContent>
* <p>Java class for anonymous complex type. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* * &lt;attribute name="COLOR" type="{http://www.w3.org/2001/XMLSchema}string" />
* <p>The following schema fragment specifies the expected content contained within this class. * &lt;/restriction>
* * &lt;/complexContent>
* <pre> * &lt;/complexType>
* &lt;complexType> * </pre>
* &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> @XmlAccessorType(XmlAccessType.FIELD)
* &lt;/complexContent> @XmlType(name = "")
* &lt;/complexType> @XmlRootElement(name = "cloud")
* </pre> public class Cloud {
*
* @XmlAttribute(name = "COLOR")
*/ protected String color;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "") /**
@XmlRootElement(name = "cloud") * Gets the value of the color property.
public class Cloud { *
* @return
@XmlAttribute(name = "COLOR") * possible object is
protected String color; * {@link String }
*
/** */
* Gets the value of the color property. public String getCOLOR() {
* return color;
* @return }
* possible object is
* {@link String } /**
* * Sets the value of the color property.
*/ *
public String getCOLOR() { * @param value
return color; * allowed object is
} * {@link String }
*
/** */
* Sets the value of the color property. public void setCOLOR(String value) {
* this.color = value;
* @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 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
* contributor license agreements. See the NOTICE file distributed with // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
* this work for additional information regarding copyright ownership. // Any modifications to this file will be lost upon recompilation of the source schema.
* The ASF licenses this file to You under the Apache License, Version 2.0 // Generated on: 2011.01.10 at 02:12:59 PM ART
* (the "License"); you may not use this file except in compliance with //
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6 package com.wisemapping.xml.freemind;
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema. import javax.xml.bind.annotation.XmlAccessType;
// Generated on: 2007.08.27 at 09:24:17 PM ART import javax.xml.bind.annotation.XmlAccessorType;
// import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
package com.wisemapping.xml.freemind;
import javax.xml.bind.annotation.XmlAccessType; /**
import javax.xml.bind.annotation.XmlAccessorType; * <p>Java class for anonymous complex type.
import javax.xml.bind.annotation.XmlAttribute; *
import javax.xml.bind.annotation.XmlRootElement; * <p>The following schema fragment specifies the expected content contained within this class.
import javax.xml.bind.annotation.XmlType; *
* <pre>
* &lt;complexType>
/** * &lt;complexContent>
* <p>Java class for anonymous complex type. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* * &lt;attribute name="COLOR" type="{http://www.w3.org/2001/XMLSchema}string" />
* <p>The following schema fragment specifies the expected content contained within this class. * &lt;attribute name="STYLE" type="{http://www.w3.org/2001/XMLSchema}string" />
* * &lt;attribute name="WIDTH" type="{http://www.w3.org/2001/XMLSchema}string" />
* <pre> * &lt;/restriction>
* &lt;complexType> * &lt;/complexContent>
* &lt;complexContent> * &lt;/complexType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </pre>
* &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> @XmlAccessorType(XmlAccessType.FIELD)
* &lt;/complexContent> @XmlType(name = "")
* &lt;/complexType> @XmlRootElement(name = "edge")
* </pre> public class Edge {
*
* @XmlAttribute(name = "COLOR")
*/ protected String color;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAttribute(name = "STYLE")
@XmlType(name = "") protected String style;
@XmlRootElement(name = "edge") @XmlAttribute(name = "WIDTH")
public class Edge { protected String width;
@XmlAttribute(name = "COLOR") /**
protected String color; * Gets the value of the color property.
@XmlAttribute(name = "STYLE") *
protected String style; * @return
@XmlAttribute(name = "WIDTH") * possible object is
protected String width; * {@link String }
*
/** */
* Gets the value of the color property. public String getCOLOR() {
* return color;
* @return }
* possible object is
* {@link String } /**
* * Sets the value of the color property.
*/ *
public String getCOLOR() { * @param value
return color; * allowed object is
} * {@link String }
*
/** */
* Sets the value of the color property. public void setCOLOR(String value) {
* this.color = value;
* @param value }
* allowed object is
* {@link String } /**
* * Gets the value of the style property.
*/ *
public void setCOLOR(String value) { * @return
this.color = value; * possible object is
} * {@link String }
*
/** */
* Gets the value of the style property. public String getSTYLE() {
* return style;
* @return }
* possible object is
* {@link String } /**
* * Sets the value of the style property.
*/ *
public String getSTYLE() { * @param value
return style; * allowed object is
} * {@link String }
*
/** */
* Sets the value of the style property. public void setSTYLE(String value) {
* this.style = value;
* @param value }
* allowed object is
* {@link String } /**
* * Gets the value of the width property.
*/ *
public void setSTYLE(String value) { * @return
this.style = value; * possible object is
} * {@link String }
*
/** */
* Gets the value of the width property. public String getWIDTH() {
* return width;
* @return }
* possible object is
* {@link String } /**
* * Sets the value of the width property.
*/ *
public String getWIDTH() { * @param value
return width; * allowed object is
} * {@link String }
*
/** */
* Sets the value of the width property. public void setWIDTH(String value) {
* this.width = value;
* @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 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
* contributor license agreements. See the NOTICE file distributed with // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
* this work for additional information regarding copyright ownership. // Any modifications to this file will be lost upon recompilation of the source schema.
* The ASF licenses this file to You under the Apache License, Version 2.0 // Generated on: 2011.01.10 at 02:12:59 PM ART
* (the "License"); you may not use this file except in compliance with //
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6 package com.wisemapping.xml.freemind;
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema. import java.math.BigInteger;
// Generated on: 2007.08.27 at 09:24:17 PM ART import javax.xml.bind.annotation.XmlAccessType;
// import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
package com.wisemapping.xml.freemind; import javax.xml.bind.annotation.XmlType;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType; /**
import javax.xml.bind.annotation.XmlAccessorType; * <p>Java class for anonymous complex type.
import javax.xml.bind.annotation.XmlAttribute; *
import javax.xml.bind.annotation.XmlRootElement; * <p>The following schema fragment specifies the expected content contained within this class.
import javax.xml.bind.annotation.XmlType; *
* <pre>
* &lt;complexType>
/** * &lt;complexContent>
* <p>Java class for anonymous complex type. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* * &lt;attribute name="BOLD">
* <p>The following schema fragment specifies the expected content contained within this class. * &lt;simpleType>
* * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <pre> * &lt;enumeration value="true"/>
* &lt;complexType> * &lt;/restriction>
* &lt;complexContent> * &lt;/simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * &lt;/attribute>
* &lt;attribute name="BOLD"> * &lt;attribute name="ITALIC">
* &lt;simpleType> * &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"> * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="true"/> * &lt;enumeration value="true"/>
* &lt;/restriction> * &lt;enumeration value="false"/>
* &lt;/simpleType> * &lt;/restriction>
* &lt;/attribute> * &lt;/simpleType>
* &lt;attribute name="ITALIC"> * &lt;/attribute>
* &lt;simpleType> * &lt;attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"> * &lt;attribute name="SIZE" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
* &lt;enumeration value="true"/> * &lt;/restriction>
* &lt;enumeration value="false"/> * &lt;/complexContent>
* &lt;/restriction> * &lt;/complexType>
* &lt;/simpleType> * </pre>
* &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> @XmlAccessorType(XmlAccessType.FIELD)
* &lt;/complexContent> @XmlType(name = "")
* &lt;/complexType> @XmlRootElement(name = "font")
* </pre> public class Font {
*
* @XmlAttribute(name = "BOLD")
*/ protected String bold;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAttribute(name = "ITALIC")
@XmlType(name = "") protected String italic;
@XmlRootElement(name = "font") @XmlAttribute(name = "NAME", required = true)
public class Font { protected String name;
@XmlAttribute(name = "SIZE", required = true)
@XmlAttribute(name = "BOLD") protected BigInteger size;
protected String bold;
@XmlAttribute(name = "ITALIC") /**
protected String italic; * Gets the value of the bold property.
@XmlAttribute(name = "NAME", required = true) *
protected String name; * @return
@XmlAttribute(name = "SIZE", required = true) * possible object is
protected BigInteger size; * {@link String }
*
/** */
* Gets the value of the bold property. public String getBOLD() {
* return bold;
* @return }
* possible object is
* {@link String } /**
* * Sets the value of the bold property.
*/ *
public String getBOLD() { * @param value
return bold; * allowed object is
} * {@link String }
*
/** */
* Sets the value of the bold property. public void setBOLD(String value) {
* this.bold = value;
* @param value }
* allowed object is
* {@link String } /**
* * Gets the value of the italic property.
*/ *
public void setBOLD(String value) { * @return
this.bold = value; * possible object is
} * {@link String }
*
/** */
* Gets the value of the italic property. public String getITALIC() {
* return italic;
* @return }
* possible object is
* {@link String } /**
* * Sets the value of the italic property.
*/ *
public String getITALIC() { * @param value
return italic; * allowed object is
} * {@link String }
*
/** */
* Sets the value of the italic property. public void setITALIC(String value) {
* this.italic = value;
* @param value }
* allowed object is
* {@link String } /**
* * Gets the value of the name property.
*/ *
public void setITALIC(String value) { * @return
this.italic = value; * possible object is
} * {@link String }
*
/** */
* Gets the value of the name property. public String getNAME() {
* return name;
* @return }
* possible object is
* {@link String } /**
* * Sets the value of the name property.
*/ *
public String getNAME() { * @param value
return name; * allowed object is
} * {@link String }
*
/** */
* Sets the value of the name property. public void setNAME(String value) {
* this.name = value;
* @param value }
* allowed object is
* {@link String } /**
* * Gets the value of the size property.
*/ *
public void setNAME(String value) { * @return
this.name = value; * possible object is
} * {@link BigInteger }
*
/** */
* Gets the value of the size property. public BigInteger getSIZE() {
* return size;
* @return }
* possible object is
* {@link BigInteger } /**
* * Sets the value of the size property.
*/ *
public BigInteger getSIZE() { * @param value
return size; * allowed object is
} * {@link BigInteger }
*
/** */
* Sets the value of the size property. public void setSIZE(BigInteger value) {
* this.size = value;
* @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 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
* contributor license agreements. See the NOTICE file distributed with // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
* this work for additional information regarding copyright ownership. // Any modifications to this file will be lost upon recompilation of the source schema.
* The ASF licenses this file to You under the Apache License, Version 2.0 // Generated on: 2011.01.10 at 02:12:59 PM ART
* (the "License"); you may not use this file except in compliance with //
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6 package com.wisemapping.xml.freemind;
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema. import javax.xml.bind.annotation.XmlAccessType;
// Generated on: 2007.08.27 at 09:24:17 PM ART import javax.xml.bind.annotation.XmlAccessorType;
// import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
package com.wisemapping.xml.freemind; import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType; /**
import javax.xml.bind.annotation.XmlAttribute; * <p>Java class for anonymous complex type.
import javax.xml.bind.annotation.XmlElement; *
import javax.xml.bind.annotation.XmlRootElement; * <p>The following schema fragment specifies the expected content contained within this class.
import javax.xml.bind.annotation.XmlType; *
* <pre>
* &lt;complexType>
/** * &lt;complexContent>
* <p>Java class for anonymous complex type. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* * &lt;sequence>
* <p>The following schema fragment specifies the expected content contained within this class. * &lt;element ref="{}Parameters" minOccurs="0"/>
* * &lt;element ref="{}text" minOccurs="0"/>
* <pre> * &lt;/sequence>
* &lt;complexType> * &lt;attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;complexContent> * &lt;/restriction>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * &lt;/complexContent>
* &lt;sequence> * &lt;/complexType>
* &lt;element ref="{}Parameters" minOccurs="0"/> * </pre>
* &lt;element ref="{}text" minOccurs="0"/> *
* &lt;/sequence> *
* &lt;attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> */
* &lt;/restriction> @XmlAccessorType(XmlAccessType.FIELD)
* &lt;/complexContent> @XmlType(name = "", propOrder = {
* &lt;/complexType> "parameters",
* </pre> "text"
* })
* @XmlRootElement(name = "hook")
*/ public class Hook {
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { @XmlElement(name = "Parameters")
"parameters", protected Parameters parameters;
"text" protected String text;
}) @XmlAttribute(name = "NAME", required = true)
@XmlRootElement(name = "hook") protected String name;
public class Hook {
/**
@XmlElement(name = "Parameters") * Gets the value of the parameters property.
protected Parameters parameters; *
protected String text; * @return
@XmlAttribute(name = "NAME", required = true) * possible object is
protected String name; * {@link Parameters }
*
/** */
* Gets the value of the parameters property. public Parameters getParameters() {
* return parameters;
* @return }
* possible object is
* {@link Parameters } /**
* * Sets the value of the parameters property.
*/ *
public Parameters getParameters() { * @param value
return parameters; * allowed object is
} * {@link Parameters }
*
/** */
* Sets the value of the parameters property. public void setParameters(Parameters value) {
* this.parameters = value;
* @param value }
* allowed object is
* {@link Parameters } /**
* * Gets the value of the text property.
*/ *
public void setParameters(Parameters value) { * @return
this.parameters = value; * possible object is
} * {@link String }
*
/** */
* Gets the value of the text property. public String getText() {
* return text;
* @return }
* possible object is
* {@link String } /**
* * Sets the value of the text property.
*/ *
public String getText() { * @param value
return text; * allowed object is
} * {@link String }
*
/** */
* Sets the value of the text property. public void setText(String value) {
* this.text = value;
* @param value }
* allowed object is
* {@link String } /**
* * Gets the value of the name property.
*/ *
public void setText(String value) { * @return
this.text = value; * possible object is
} * {@link String }
*
/** */
* Gets the value of the name property. public String getNAME() {
* return name;
* @return }
* possible object is
* {@link String } /**
* * Sets the value of the name property.
*/ *
public String getNAME() { * @param value
return name; * allowed object is
} * {@link String }
*
/** */
* Sets the value of the name property. public void setNAME(String value) {
* this.name = value;
* @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 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
* contributor license agreements. See the NOTICE file distributed with // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
* this work for additional information regarding copyright ownership. // Any modifications to this file will be lost upon recompilation of the source schema.
* The ASF licenses this file to You under the Apache License, Version 2.0 // Generated on: 2011.01.10 at 02:12:59 PM ART
* (the "License"); you may not use this file except in compliance with //
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6 package com.wisemapping.xml.freemind;
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema. import javax.xml.bind.annotation.XmlAccessType;
// Generated on: 2007.08.27 at 09:24:17 PM ART import javax.xml.bind.annotation.XmlAccessorType;
// import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
package com.wisemapping.xml.freemind;
import javax.xml.bind.annotation.XmlAccessType; /**
import javax.xml.bind.annotation.XmlAccessorType; * <p>Java class for anonymous complex type.
import javax.xml.bind.annotation.XmlAttribute; *
import javax.xml.bind.annotation.XmlRootElement; * <p>The following schema fragment specifies the expected content contained within this class.
import javax.xml.bind.annotation.XmlType; *
* <pre>
* &lt;complexType>
/** * &lt;complexContent>
* <p>Java class for anonymous complex type. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* * &lt;attribute name="BUILTIN" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <p>The following schema fragment specifies the expected content contained within this class. * &lt;/restriction>
* * &lt;/complexContent>
* <pre> * &lt;/complexType>
* &lt;complexType> * </pre>
* &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> @XmlAccessorType(XmlAccessType.FIELD)
* &lt;/complexContent> @XmlType(name = "")
* &lt;/complexType> @XmlRootElement(name = "icon")
* </pre> public class Icon {
*
* @XmlAttribute(name = "BUILTIN", required = true)
*/ protected String builtin;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "") /**
@XmlRootElement(name = "icon") * Gets the value of the builtin property.
public class Icon { *
* @return
@XmlAttribute(name = "BUILTIN", required = true) * possible object is
protected String builtin; * {@link String }
*
/** */
* Gets the value of the builtin property. public String getBUILTIN() {
* return builtin;
* @return }
* possible object is
* {@link String } /**
* * Sets the value of the builtin property.
*/ *
public String getBUILTIN() { * @param value
return builtin; * allowed object is
} * {@link String }
*
/** */
* Sets the value of the builtin property. public void setBUILTIN(String value) {
* this.builtin = value;
* @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 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
* contributor license agreements. See the NOTICE file distributed with // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
* this work for additional information regarding copyright ownership. // Any modifications to this file will be lost upon recompilation of the source schema.
* The ASF licenses this file to You under the Apache License, Version 2.0 // Generated on: 2011.01.10 at 02:12:59 PM ART
* (the "License"); you may not use this file except in compliance with //
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6 package com.wisemapping.xml.freemind;
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema. import javax.xml.bind.annotation.XmlAccessType;
// Generated on: 2007.08.27 at 09:24:17 PM ART import javax.xml.bind.annotation.XmlAccessorType;
// import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
package com.wisemapping.xml.freemind; import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType; /**
import javax.xml.bind.annotation.XmlAttribute; * <p>Java class for anonymous complex type.
import javax.xml.bind.annotation.XmlElement; *
import javax.xml.bind.annotation.XmlRootElement; * <p>The following schema fragment specifies the expected content contained within this class.
import javax.xml.bind.annotation.XmlType; *
* <pre>
* &lt;complexType>
/** * &lt;complexContent>
* <p>Java class for anonymous complex type. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* * &lt;sequence>
* <p>The following schema fragment specifies the expected content contained within this class. * &lt;element ref="{}node"/>
* * &lt;/sequence>
* <pre> * &lt;attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;complexType> * &lt;/restriction>
* &lt;complexContent> * &lt;/complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * &lt;/complexType>
* &lt;sequence> * </pre>
* &lt;element ref="{}node"/> *
* &lt;/sequence> *
* &lt;attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> */
* &lt;/restriction> @XmlAccessorType(XmlAccessType.FIELD)
* &lt;/complexContent> @XmlType(name = "", propOrder = {
* &lt;/complexType> "node"
* </pre> })
* @XmlRootElement(name = "map")
* public class Map {
*/
@XmlAccessorType(XmlAccessType.FIELD) @XmlElement(required = true)
@XmlType(name = "", propOrder = { protected Node node;
"node" @XmlAttribute(required = true)
}) protected String version;
@XmlRootElement(name = "map")
public class Map { /**
* Gets the value of the node property.
@XmlElement(required = true) *
protected Node node; * @return
@XmlAttribute(required = true) * possible object is
protected String version; * {@link Node }
*
/** */
* Gets the value of the node property. public Node getNode() {
* return node;
* @return }
* possible object is
* {@link Node } /**
* * Sets the value of the node property.
*/ *
public Node getNode() { * @param value
return node; * allowed object is
} * {@link Node }
*
/** */
* Sets the value of the node property. public void setNode(Node value) {
* this.node = value;
* @param value }
* allowed object is
* {@link Node } /**
* * Gets the value of the version property.
*/ *
public void setNode(Node value) { * @return
this.node = value; * possible object is
} * {@link String }
*
/** */
* Gets the value of the version property. public String getVersion() {
* return version;
* @return }
* possible object is
* {@link String } /**
* * Sets the value of the version property.
*/ *
public String getVersion() { * @param value
return version; * allowed object is
} * {@link String }
*
/** */
* Sets the value of the version property. public void setVersion(String value) {
* this.version = value;
* @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 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
* contributor license agreements. See the NOTICE file distributed with // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
* this work for additional information regarding copyright ownership. // Any modifications to this file will be lost upon recompilation of the source schema.
* The ASF licenses this file to You under the Apache License, Version 2.0 // Generated on: 2011.01.10 at 02:12:59 PM ART
* (the "License"); you may not use this file except in compliance with //
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6 package com.wisemapping.xml.freemind;
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema. import javax.xml.bind.JAXBElement;
// Generated on: 2008.03.26 at 10:38:46 PM ART import javax.xml.bind.annotation.XmlElementDecl;
// import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
package com.wisemapping.xml.freemind;
/**
import javax.xml.bind.JAXBElement; * This object contains factory methods for each
import javax.xml.bind.annotation.XmlElementDecl; * Java content interface and Java element interface
import javax.xml.bind.annotation.XmlRegistry; * generated in the com.wisemapping.xml.freemind package.
import javax.xml.namespace.QName; * <p>An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
/** * content can consist of schema derived interfaces
* This object contains factory methods for each * and classes representing the binding of schema
* Java content interface and Java element interface * type definitions, element declarations and model
* generated in the generated package. * groups. Factory methods for each of these are
* <p>An ObjectFactory allows you to programatically * provided in this class.
* construct new instances of the Java representation *
* for XML content. The Java representation of XML */
* content can consist of schema derived interfaces @XmlRegistry
* and classes representing the binding of schema public class ObjectFactory {
* type definitions, element declarations and model
* groups. Factory methods for each of these are private final static QName _Text_QNAME = new QName("", "text");
* provided in this class.
* /**
*/ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.wisemapping.xml.freemind
@XmlRegistry *
public class ObjectFactory { */
public 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 * Create an instance of {@link Cloud }
* *
*/ */
public ObjectFactory() { public Cloud createCloud() {
} return new Cloud();
}
/**
* Create an instance of {@link Arrowlink } /**
* * Create an instance of {@link Richcontent }
*/ *
public Arrowlink createArrowlink() { */
return new Arrowlink(); public Richcontent createRichcontent() {
} return new Richcontent();
}
/**
* Create an instance of {@link Map } /**
* * Create an instance of {@link Hook }
*/ *
public Map createMap() { */
return new Map(); public Hook createHook() {
} return new Hook();
}
/**
* Create an instance of {@link Icon } /**
* * Create an instance of {@link Arrowlink }
*/ *
public Icon createIcon() { */
return new Icon(); public Arrowlink createArrowlink() {
} return new Arrowlink();
}
/**
* Create an instance of {@link Cloud } /**
* * Create an instance of {@link Parameters }
*/ *
public Cloud createCloud() { */
return new Cloud(); public Parameters createParameters() {
} return new Parameters();
}
/**
* Create an instance of {@link Font } /**
* * Create an instance of {@link Edge }
*/ *
public Font createFont() { */
return new Font(); public Edge createEdge() {
} return new Edge();
}
/**
* Create an instance of {@link Parameters } /**
* * Create an instance of {@link Html }
*/ *
public Parameters createParameters() { */
return new Parameters(); public Html createHtml() {
} return new Html();
}
/**
* Create an instance of {@link Hook } /**
* * Create an instance of {@link Node }
*/ *
public Hook createHook() { */
return new Hook(); public Node createNode() {
} return new Node();
}
/**
* Create an instance of {@link Edge } /**
* * Create an instance of {@link Icon }
*/ *
public Edge createEdge() { */
return new Edge(); public Icon createIcon() {
} return new Icon();
}
/**
* Create an instance of {@link Node } /**
* * Create an instance of {@link Map }
*/ *
public Node createNode() { */
return new Node(); public Map createMap() {
} return new Map();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} /**
* * Create an instance of {@link Font }
*/ *
@XmlElementDecl(namespace = "", name = "text") */
public JAXBElement<String> createText(String value) { public Font createFont() {
return new JAXBElement<String>(_Text_QNAME, String.class, null, value); 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 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
* contributor license agreements. See the NOTICE file distributed with // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
* this work for additional information regarding copyright ownership. // Any modifications to this file will be lost upon recompilation of the source schema.
* The ASF licenses this file to You under the Apache License, Version 2.0 // Generated on: 2011.01.10 at 02:12:59 PM ART
* (the "License"); you may not use this file except in compliance with //
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $Id: file 64488 2006-03-10 17:32:09Z paulo $
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6 package com.wisemapping.xml.freemind;
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema. import java.math.BigInteger;
// Generated on: 2007.08.27 at 09:24:17 PM ART import javax.xml.bind.annotation.XmlAccessType;
// import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
package com.wisemapping.xml.freemind; import javax.xml.bind.annotation.XmlType;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType; /**
import javax.xml.bind.annotation.XmlAccessorType; * <p>Java class for anonymous complex type.
import javax.xml.bind.annotation.XmlAttribute; *
import javax.xml.bind.annotation.XmlRootElement; * <p>The following schema fragment specifies the expected content contained within this class.
import javax.xml.bind.annotation.XmlType; *
* <pre>
* &lt;complexType>
/** * &lt;complexContent>
* <p>Java class for anonymous complex type. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* * &lt;attribute name="REMINDUSERAT" type="{http://www.w3.org/2001/XMLSchema}integer" />
* <p>The following schema fragment specifies the expected content contained within this class. * &lt;/restriction>
* * &lt;/complexContent>
* <pre> * &lt;/complexType>
* &lt;complexType> * </pre>
* &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> @XmlAccessorType(XmlAccessType.FIELD)
* &lt;/complexContent> @XmlType(name = "")
* &lt;/complexType> @XmlRootElement(name = "Parameters")
* </pre> public class Parameters {
*
* @XmlAttribute(name = "REMINDUSERAT")
*/ protected BigInteger reminduserat;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "") /**
@XmlRootElement(name = "Parameters") * Gets the value of the reminduserat property.
public class Parameters { *
* @return
@XmlAttribute(name = "REMINDUSERAT") * possible object is
protected BigInteger reminduserat; * {@link BigInteger }
*
/** */
* Gets the value of the reminduserat property. public BigInteger getREMINDUSERAT() {
* return reminduserat;
* @return }
* possible object is
* {@link BigInteger } /**
* * Sets the value of the reminduserat property.
*/ *
public BigInteger getREMINDUSERAT() { * @param value
return reminduserat; * allowed object is
} * {@link BigInteger }
*
/** */
* Sets the value of the reminduserat property. public void setREMINDUSERAT(BigInteger value) {
* this.reminduserat = value;
* @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:complexType>
</xs:element> </xs:element>
<!--Used for node notes.--> <!--Used for node notes.-->
<xs:element name='text' type="xs:string"/> <xs:element name='text' type="xs:string"/>
<xs:element name='arrowlink'> <xs:element name='arrowlink'>
<xs:complexType> <xs:complexType>
@ -74,6 +74,33 @@
</xs:complexType> </xs:complexType>
</xs:element> </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:element name='map'>
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
@ -93,6 +120,8 @@
<xs:element ref='hook'/> <xs:element ref='hook'/>
<xs:element ref='icon'/> <xs:element ref='icon'/>
<xs:element ref='node'/> <xs:element ref='node'/>
<!-- For nodes with extended formatting content or for notes to nodes. -->
<xs:element ref='richcontent'/>
</xs:choice> </xs:choice>
<xs:attribute name='BACKGROUND_COLOR' type='xs:string' use='optional'/> <xs:attribute name='BACKGROUND_COLOR' type='xs:string' use='optional'/>
<xs:attribute name='COLOR' type='xs:string' use='optional'/> <xs:attribute name='COLOR' type='xs:string' use='optional'/>