- Revert some positioning code. - Child nodes are not positioned - Don't support export/import of relations This is a temporal fix in order to stabilize the old layout. Pablo, we need to discuss how this will be fix to fit the new layout.
467 lines
12 KiB
Java
467 lines
12 KiB
Java
//
|
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
|
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
|
// Any modifications to this file will be lost upon recompilation of the source schema.
|
|
// Generated on: 2011.01.10 at 02:12:59 PM ART
|
|
//
|
|
|
|
|
|
package com.wisemapping.xml.freemind;
|
|
|
|
import java.math.BigInteger;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import javax.xml.bind.annotation.XmlAccessType;
|
|
import javax.xml.bind.annotation.XmlAccessorType;
|
|
import javax.xml.bind.annotation.XmlAttribute;
|
|
import javax.xml.bind.annotation.XmlElement;
|
|
import javax.xml.bind.annotation.XmlElements;
|
|
import javax.xml.bind.annotation.XmlID;
|
|
import javax.xml.bind.annotation.XmlRootElement;
|
|
import javax.xml.bind.annotation.XmlSchemaType;
|
|
import javax.xml.bind.annotation.XmlType;
|
|
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
|
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
|
|
|
|
|
/**
|
|
* <p>Java class for anonymous complex type.
|
|
* <p/>
|
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
|
* <p/>
|
|
* <pre>
|
|
* <complexType>
|
|
* <complexContent>
|
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
* <choice maxOccurs="unbounded" minOccurs="0">
|
|
* <element ref="{}arrowlink"/>
|
|
* <element ref="{}cloud"/>
|
|
* <element ref="{}edge"/>
|
|
* <element ref="{}font"/>
|
|
* <element ref="{}hook"/>
|
|
* <element ref="{}icon"/>
|
|
* <element ref="{}node"/>
|
|
* <element ref="{}richcontent"/>
|
|
* </choice>
|
|
* <attribute name="BACKGROUND_COLOR" type="{http://www.w3.org/2001/XMLSchema}string" />
|
|
* <attribute name="COLOR" type="{http://www.w3.org/2001/XMLSchema}string" />
|
|
* <attribute name="FOLDED">
|
|
* <simpleType>
|
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
|
* <enumeration value="true"/>
|
|
* <enumeration value="false"/>
|
|
* </restriction>
|
|
* </simpleType>
|
|
* </attribute>
|
|
* <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" />
|
|
* <attribute name="LINK" type="{http://www.w3.org/2001/XMLSchema}string" />
|
|
* <attribute name="POSITION">
|
|
* <simpleType>
|
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
|
* <enumeration value="left"/>
|
|
* <enumeration value="right"/>
|
|
* </restriction>
|
|
* </simpleType>
|
|
* </attribute>
|
|
* <attribute name="STYLE" type="{http://www.w3.org/2001/XMLSchema}string" />
|
|
* <attribute name="TEXT" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
|
|
* <attribute name="CREATED" type="{http://www.w3.org/2001/XMLSchema}integer" />
|
|
* <attribute name="MODIFIED" type="{http://www.w3.org/2001/XMLSchema}integer" />
|
|
* <attribute name="HGAP" type="{http://www.w3.org/2001/XMLSchema}integer" />
|
|
* <attribute name="VGAP" type="{http://www.w3.org/2001/XMLSchema}integer" />
|
|
* <attribute name="VSHIFT" type="{http://www.w3.org/2001/XMLSchema}integer" />
|
|
* <attribute name="ENCRYPTED_CONTENT" type="{http://www.w3.org/2001/XMLSchema}string" />
|
|
* </restriction>
|
|
* </complexContent>
|
|
* </complexType>
|
|
* </pre>
|
|
*/
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
|
@XmlType(name = "", propOrder = {
|
|
"arrowlinkOrCloudOrEdge"
|
|
})
|
|
@XmlRootElement(name = "node")
|
|
public class Node {
|
|
|
|
@XmlElements({
|
|
@XmlElement(name = "icon", type = Icon.class),
|
|
@XmlElement(name = "node", type = Node.class),
|
|
@XmlElement(name = "edge", type = Edge.class),
|
|
@XmlElement(name = "arrowlink", type = Arrowlink.class),
|
|
@XmlElement(name = "font", type = Font.class),
|
|
@XmlElement(name = "hook", type = Hook.class),
|
|
@XmlElement(name = "richcontent", type = Richcontent.class),
|
|
@XmlElement(name = "cloud", type = Cloud.class)
|
|
})
|
|
protected List<Object> arrowlinkOrCloudOrEdge;
|
|
@XmlAttribute(name = "BACKGROUND_COLOR")
|
|
protected String backgroundcolor;
|
|
@XmlAttribute(name = "COLOR")
|
|
protected String color;
|
|
@XmlAttribute(name = "FOLDED")
|
|
protected String folded;
|
|
@XmlAttribute(name = "ID")
|
|
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
|
@XmlID
|
|
@XmlSchemaType(name = "ID")
|
|
protected String id;
|
|
@XmlAttribute(name = "LINK")
|
|
protected String link;
|
|
@XmlAttribute(name = "POSITION")
|
|
protected String position;
|
|
@XmlAttribute(name = "STYLE")
|
|
protected String style;
|
|
@XmlAttribute(name = "TEXT", required = true)
|
|
protected String text;
|
|
@XmlAttribute(name = "CREATED")
|
|
protected BigInteger created;
|
|
@XmlAttribute(name = "MODIFIED")
|
|
protected BigInteger modified;
|
|
@XmlAttribute(name = "HGAP")
|
|
protected BigInteger hgap;
|
|
@XmlAttribute(name = "VGAP")
|
|
protected BigInteger vgap;
|
|
|
|
@XmlAttribute(name = "VSHIFT")
|
|
protected BigInteger vshift;
|
|
@XmlAttribute(name = "ENCRYPTED_CONTENT")
|
|
protected String encryptedcontent;
|
|
|
|
// Wise Extensions
|
|
@XmlAttribute(name = "wCOORDS")
|
|
protected String wcoords;
|
|
@XmlAttribute(name = "wORDER")
|
|
protected BigInteger worder;
|
|
|
|
/**
|
|
* Gets the value of the arrowlinkOrCloudOrEdge property.
|
|
* <p/>
|
|
* <p/>
|
|
* This accessor method returns a reference to the live list,
|
|
* not a snapshot. Therefore any modification you make to the
|
|
* returned list will be present inside the JAXB object.
|
|
* This is why there is not a <CODE>set</CODE> method for the arrowlinkOrCloudOrEdge property.
|
|
* <p/>
|
|
* <p/>
|
|
* For example, to add a new item, do as follows:
|
|
* <pre>
|
|
* getArrowlinkOrCloudOrEdge().add(newItem);
|
|
* </pre>
|
|
* <p/>
|
|
* <p/>
|
|
* <p/>
|
|
* Objects of the following type(s) are allowed in the list
|
|
* {@link Icon }
|
|
* {@link Node }
|
|
* {@link Edge }
|
|
* {@link Arrowlink }
|
|
* {@link Font }
|
|
* {@link Hook }
|
|
* {@link Richcontent }
|
|
* {@link Cloud }
|
|
*/
|
|
public List<Object> getArrowlinkOrCloudOrEdge() {
|
|
if (arrowlinkOrCloudOrEdge == null) {
|
|
arrowlinkOrCloudOrEdge = new ArrayList<Object>();
|
|
}
|
|
return this.arrowlinkOrCloudOrEdge;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the backgroundcolor property.
|
|
*
|
|
* @return possible object is
|
|
* {@link String }
|
|
*/
|
|
public String getBACKGROUNDCOLOR() {
|
|
return backgroundcolor;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the backgroundcolor property.
|
|
*
|
|
* @param value allowed object is
|
|
* {@link String }
|
|
*/
|
|
public void setBACKGROUNDCOLOR(String value) {
|
|
this.backgroundcolor = value;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the color property.
|
|
*
|
|
* @return possible object is
|
|
* {@link String }
|
|
*/
|
|
public String getCOLOR() {
|
|
return color;
|
|
}
|
|
|
|
public BigInteger getWorder() {
|
|
return worder;
|
|
}
|
|
|
|
public void setWorder(BigInteger worder) {
|
|
this.worder = worder;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the color property.
|
|
*
|
|
* @param value allowed object is
|
|
* {@link String }
|
|
*/
|
|
public void setCOLOR(String value) {
|
|
this.color = value;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the folded property.
|
|
*
|
|
* @return possible object is
|
|
* {@link String }
|
|
*/
|
|
public String getFOLDED() {
|
|
return folded;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the folded property.
|
|
*
|
|
* @param value allowed object is
|
|
* {@link String }
|
|
*/
|
|
public void setFOLDED(String value) {
|
|
this.folded = value;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the id property.
|
|
*
|
|
* @return possible object is
|
|
* {@link String }
|
|
*/
|
|
public String getID() {
|
|
return id;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the id property.
|
|
*
|
|
* @param value allowed object is
|
|
* {@link String }
|
|
*/
|
|
public void setID(String value) {
|
|
this.id = value;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the link property.
|
|
*
|
|
* @return possible object is
|
|
* {@link String }
|
|
*/
|
|
public String getLINK() {
|
|
return link;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the link property.
|
|
*
|
|
* @param value allowed object is
|
|
* {@link String }
|
|
*/
|
|
public void setLINK(String value) {
|
|
this.link = value;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the position property.
|
|
*
|
|
* @return possible object is
|
|
* {@link String }
|
|
*/
|
|
public String getPOSITION() {
|
|
return position;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the position property.
|
|
*
|
|
* @param value allowed object is
|
|
* {@link String }
|
|
*/
|
|
public void setPOSITION(String value) {
|
|
this.position = value;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the style property.
|
|
*
|
|
* @return possible object is
|
|
* {@link String }
|
|
*/
|
|
public String getSTYLE() {
|
|
return style;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the style property.
|
|
*
|
|
* @param value allowed object is
|
|
* {@link String }
|
|
*/
|
|
public void setSTYLE(String value) {
|
|
this.style = value;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the text property.
|
|
*
|
|
* @return possible object is
|
|
* {@link String }
|
|
*/
|
|
public String getTEXT() {
|
|
return text;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the text property.
|
|
*
|
|
* @param value allowed object is
|
|
* {@link String }
|
|
*/
|
|
public void setTEXT(String value) {
|
|
this.text = value;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the created property.
|
|
*
|
|
* @return possible object is
|
|
* {@link BigInteger }
|
|
*/
|
|
public BigInteger getCREATED() {
|
|
return created;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the created property.
|
|
*
|
|
* @param value allowed object is
|
|
* {@link BigInteger }
|
|
*/
|
|
public void setCREATED(BigInteger value) {
|
|
this.created = value;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the modified property.
|
|
*
|
|
* @return possible object is
|
|
* {@link BigInteger }
|
|
*/
|
|
public BigInteger getMODIFIED() {
|
|
return modified;
|
|
}
|
|
|
|
public String getWcoords() {
|
|
return wcoords;
|
|
}
|
|
|
|
public void setWcoords(String wcoords) {
|
|
this.wcoords = wcoords;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the modified property.
|
|
*
|
|
* @param value allowed object is
|
|
* {@link BigInteger }
|
|
*/
|
|
public void setMODIFIED(BigInteger value) {
|
|
this.modified = value;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the hgap property.
|
|
*
|
|
* @return possible object is
|
|
* {@link BigInteger }
|
|
*/
|
|
public BigInteger getHGAP() {
|
|
return hgap;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the hgap property.
|
|
*
|
|
* @param value allowed object is
|
|
* {@link BigInteger }
|
|
*/
|
|
public void setHGAP(BigInteger value) {
|
|
this.hgap = value;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the vgap property.
|
|
*
|
|
* @return possible object is
|
|
* {@link BigInteger }
|
|
*/
|
|
public BigInteger getVGAP() {
|
|
return vgap;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the vgap property.
|
|
*
|
|
* @param value allowed object is
|
|
* {@link BigInteger }
|
|
*/
|
|
public void setVGAP(BigInteger value) {
|
|
this.vgap = value;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the vshift property.
|
|
*
|
|
* @return possible object is
|
|
* {@link BigInteger }
|
|
*/
|
|
public BigInteger getVSHIFT() {
|
|
return vshift;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the vshift property.
|
|
*
|
|
* @param value allowed object is
|
|
* {@link BigInteger }
|
|
*/
|
|
public void setVSHIFT(BigInteger value) {
|
|
this.vshift = value;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the encryptedcontent property.
|
|
*
|
|
* @return possible object is
|
|
* {@link String }
|
|
*/
|
|
public String getENCRYPTEDCONTENT() {
|
|
return encryptedcontent;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the encryptedcontent property.
|
|
*
|
|
* @param value allowed object is
|
|
* {@link String }
|
|
*/
|
|
public void setENCRYPTEDCONTENT(String value) {
|
|
this.encryptedcontent = value;
|
|
}
|
|
|
|
}
|