Remove trunk directory
This commit is contained in:
@@ -0,0 +1,270 @@
|
||||
/*
|
||||
* 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.0 in JDK 1.6
|
||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||
// Generated on: 2007.04.14 at 05:27:07 PM ART
|
||||
//
|
||||
|
||||
|
||||
package com.wisemapping.xml.svgmap;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
* <p/>
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p/>
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <attribute name="cx" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
|
||||
* <attribute name="cy" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
|
||||
* <attribute name="fill" use="required" type="{http://www.w3.org/2001/XMLSchema}string" fixed="#E0E5EF" />
|
||||
* <attribute name="height" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
|
||||
* <attribute name="rx" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
|
||||
* <attribute name="ry" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
|
||||
* <attribute name="stroke" use="required" type="{http://www.w3.org/2001/XMLSchema}string" fixed="#023BB9" />
|
||||
* <attribute name="stroke-width" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
|
||||
* <attribute name="visibility" use="required">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
|
||||
* <enumeration value="hidden"/>
|
||||
* <enumeration value="visible"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </attribute>
|
||||
* <attribute name="width" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "")
|
||||
@XmlRootElement(name = "ellipse")
|
||||
public class Ellipse {
|
||||
|
||||
@XmlAttribute(required = true)
|
||||
protected float cx;
|
||||
@XmlAttribute(required = true)
|
||||
protected float cy;
|
||||
@XmlAttribute(required = true)
|
||||
protected String fill;
|
||||
@XmlAttribute(required = true)
|
||||
protected float height;
|
||||
@XmlAttribute(required = true)
|
||||
protected float rx;
|
||||
@XmlAttribute(required = true)
|
||||
protected float ry;
|
||||
@XmlAttribute(required = true)
|
||||
protected String stroke;
|
||||
@XmlAttribute(name = "stroke-width", required = true)
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String strokeWidth;
|
||||
@XmlAttribute(required = true)
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String visibility;
|
||||
@XmlAttribute(required = true)
|
||||
protected float width;
|
||||
|
||||
/**
|
||||
* Gets the value of the cx property.
|
||||
*/
|
||||
public float getCx() {
|
||||
return cx;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the cx property.
|
||||
*/
|
||||
public void setCx(float value) {
|
||||
this.cx = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the cy property.
|
||||
*/
|
||||
public float getCy() {
|
||||
return cy;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the cy property.
|
||||
*/
|
||||
public void setCy(float value) {
|
||||
this.cy = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the fill property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getFill() {
|
||||
if (fill == null) {
|
||||
return "#E0E5EF";
|
||||
} else {
|
||||
return fill;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the fill property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setFill(String value) {
|
||||
this.fill = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the height property.
|
||||
*/
|
||||
public float getHeight() {
|
||||
return height;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the height property.
|
||||
*/
|
||||
public void setHeight(float value) {
|
||||
this.height = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the rx property.
|
||||
*/
|
||||
public float getRx() {
|
||||
return rx;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the rx property.
|
||||
*/
|
||||
public void setRx(float value) {
|
||||
this.rx = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the ry property.
|
||||
*/
|
||||
public float getRy() {
|
||||
return ry;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the ry property.
|
||||
*/
|
||||
public void setRy(float value) {
|
||||
this.ry = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the stroke property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getStroke() {
|
||||
if (stroke == null) {
|
||||
return "#023BB9";
|
||||
} else {
|
||||
return stroke;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the stroke property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setStroke(String value) {
|
||||
this.stroke = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the strokeWidth property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getStrokeWidth() {
|
||||
return strokeWidth;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the strokeWidth property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setStrokeWidth(String value) {
|
||||
this.strokeWidth = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the visibility property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getVisibility() {
|
||||
return visibility;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the visibility property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setVisibility(String value) {
|
||||
this.visibility = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the width property.
|
||||
*/
|
||||
public float getWidth() {
|
||||
return width;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the width property.
|
||||
*/
|
||||
public void setWidth(float value) {
|
||||
this.width = value;
|
||||
}
|
||||
|
||||
}
|
||||
289
wise-webapp/src/main/java/com/wisemapping/xml/svgmap/G.java
Normal file
289
wise-webapp/src/main/java/com/wisemapping/xml/svgmap/G.java
Normal file
@@ -0,0 +1,289 @@
|
||||
/*
|
||||
* 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.0 in JDK 1.6
|
||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||
// Generated on: 2007.04.14 at 05:27:07 PM ART
|
||||
//
|
||||
|
||||
|
||||
package com.wisemapping.xml.svgmap;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
* <p/>
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p/>
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <choice>
|
||||
* <element ref="{http://www.w3.org/2000/svg}ellipse"/>
|
||||
* <element ref="{http://www.w3.org/2000/svg}line"/>
|
||||
* <element ref="{http://www.w3.org/2000/svg}rect"/>
|
||||
* <element ref="{http://www.w3.org/2000/svg}text"/>
|
||||
* </choice>
|
||||
* <attribute name="focusable" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="true" />
|
||||
* <attribute name="height" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="100" />
|
||||
* <attribute name="preserveAspectRatio" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="none" />
|
||||
* <attribute name="transform" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||
* <attribute name="width" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="100" />
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"ellipse",
|
||||
"line",
|
||||
"rect",
|
||||
"text"
|
||||
})
|
||||
@XmlRootElement(name = "g")
|
||||
public class G {
|
||||
|
||||
protected Ellipse ellipse;
|
||||
protected Line line;
|
||||
protected Rect rect;
|
||||
protected Text text;
|
||||
@XmlAttribute(required = true)
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String focusable;
|
||||
@XmlAttribute(required = true)
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String height;
|
||||
@XmlAttribute(required = true)
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String preserveAspectRatio;
|
||||
@XmlAttribute(required = true)
|
||||
protected String transform;
|
||||
@XmlAttribute(required = true)
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String width;
|
||||
|
||||
/**
|
||||
* Gets the value of the ellipse property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link Ellipse }
|
||||
*/
|
||||
public Ellipse getEllipse() {
|
||||
return ellipse;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the ellipse property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link Ellipse }
|
||||
*/
|
||||
public void setEllipse(Ellipse value) {
|
||||
this.ellipse = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the line property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link Line }
|
||||
*/
|
||||
public Line getLine() {
|
||||
return line;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the line property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link Line }
|
||||
*/
|
||||
public void setLine(Line value) {
|
||||
this.line = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the rect property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link Rect }
|
||||
*/
|
||||
public Rect getRect() {
|
||||
return rect;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the rect property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link Rect }
|
||||
*/
|
||||
public void setRect(Rect value) {
|
||||
this.rect = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the text property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link Text }
|
||||
*/
|
||||
public Text getText() {
|
||||
return text;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the text property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link Text }
|
||||
*/
|
||||
public void setText(Text value) {
|
||||
this.text = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the focusable property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getFocusable() {
|
||||
if (focusable == null) {
|
||||
return "true";
|
||||
} else {
|
||||
return focusable;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the focusable property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setFocusable(String value) {
|
||||
this.focusable = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the height property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getHeight() {
|
||||
if (height == null) {
|
||||
return "100";
|
||||
} else {
|
||||
return height;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the height property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setHeight(String value) {
|
||||
this.height = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the preserveAspectRatio property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getPreserveAspectRatio() {
|
||||
if (preserveAspectRatio == null) {
|
||||
return "none";
|
||||
} else {
|
||||
return preserveAspectRatio;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the preserveAspectRatio property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setPreserveAspectRatio(String value) {
|
||||
this.preserveAspectRatio = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the transform property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getTransform() {
|
||||
return transform;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the transform property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setTransform(String value) {
|
||||
this.transform = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the width property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getWidth() {
|
||||
if (width == null) {
|
||||
return "100";
|
||||
} else {
|
||||
return width;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the width property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setWidth(String value) {
|
||||
this.width = value;
|
||||
}
|
||||
|
||||
}
|
||||
279
wise-webapp/src/main/java/com/wisemapping/xml/svgmap/Line.java
Normal file
279
wise-webapp/src/main/java/com/wisemapping/xml/svgmap/Line.java
Normal file
@@ -0,0 +1,279 @@
|
||||
/*
|
||||
* 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.0 in JDK 1.6
|
||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||
// Generated on: 2007.04.14 at 05:27:07 PM ART
|
||||
//
|
||||
|
||||
|
||||
package com.wisemapping.xml.svgmap;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
* <p/>
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p/>
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <attribute name="fill-opacity" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
|
||||
* <attribute name="stroke" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||
* <attribute name="stroke-opacity" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
|
||||
* <attribute name="stroke-width" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="1px" />
|
||||
* <attribute name="style" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||
* <attribute name="visibility">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
|
||||
* <enumeration value="hidden"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </attribute>
|
||||
* <attribute name="x1" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
|
||||
* <attribute name="x2" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
|
||||
* <attribute name="y1" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
|
||||
* <attribute name="y2" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "")
|
||||
@XmlRootElement(name = "line")
|
||||
public class Line {
|
||||
|
||||
@XmlAttribute(name = "fill-opacity")
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String fillOpacity;
|
||||
@XmlAttribute(required = true)
|
||||
protected String stroke;
|
||||
@XmlAttribute(name = "stroke-opacity")
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String strokeOpacity;
|
||||
@XmlAttribute(name = "stroke-width", required = true)
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String strokeWidth;
|
||||
@XmlAttribute
|
||||
protected String style;
|
||||
@XmlAttribute
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String visibility;
|
||||
@XmlAttribute(required = true)
|
||||
protected float x1;
|
||||
@XmlAttribute(required = true)
|
||||
protected float x2;
|
||||
@XmlAttribute(required = true)
|
||||
protected float y1;
|
||||
@XmlAttribute(required = true)
|
||||
protected float y2;
|
||||
|
||||
/**
|
||||
* Gets the value of the fillOpacity property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getFillOpacity() {
|
||||
return fillOpacity;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the fillOpacity property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setFillOpacity(String value) {
|
||||
this.fillOpacity = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the stroke property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getStroke() {
|
||||
return stroke;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the stroke property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setStroke(String value) {
|
||||
this.stroke = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the strokeOpacity property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getStrokeOpacity() {
|
||||
return strokeOpacity;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the strokeOpacity property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setStrokeOpacity(String value) {
|
||||
this.strokeOpacity = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the strokeWidth property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getStrokeWidth() {
|
||||
if (strokeWidth == null) {
|
||||
return "1px";
|
||||
} else {
|
||||
return strokeWidth;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the strokeWidth property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setStrokeWidth(String value) {
|
||||
this.strokeWidth = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the style property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getStyle() {
|
||||
return style;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the style property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setStyle(String value) {
|
||||
this.style = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the visibility property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getVisibility() {
|
||||
return visibility;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the visibility property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setVisibility(String value) {
|
||||
this.visibility = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the x1 property.
|
||||
*/
|
||||
public float getX1() {
|
||||
return x1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the x1 property.
|
||||
*/
|
||||
public void setX1(float value) {
|
||||
this.x1 = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the x2 property.
|
||||
*/
|
||||
public float getX2() {
|
||||
return x2;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the x2 property.
|
||||
*/
|
||||
public void setX2(float value) {
|
||||
this.x2 = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the y1 property.
|
||||
*/
|
||||
public float getY1() {
|
||||
return y1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the y1 property.
|
||||
*/
|
||||
public void setY1(float value) {
|
||||
this.y1 = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the y2 property.
|
||||
*/
|
||||
public float getY2() {
|
||||
return y2;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the y2 property.
|
||||
*/
|
||||
public void setY2(float value) {
|
||||
this.y2 = value;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
/*
|
||||
* 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.0 in JDK 1.6
|
||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||
// Generated on: 2007.04.14 at 05:27:07 PM ART
|
||||
//
|
||||
|
||||
|
||||
package com.wisemapping.xml.svgmap;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRegistry;
|
||||
|
||||
|
||||
/**
|
||||
* This object contains factory methods for each
|
||||
* Java content interface and Java element interface
|
||||
* generated in the com.mindmap.xml.svgmap package.
|
||||
* <p>An ObjectFactory allows you to programatically
|
||||
* construct new instances of the Java representation
|
||||
* for XML content. The Java representation of XML
|
||||
* content can consist of schema derived interfaces
|
||||
* and classes representing the binding of schema
|
||||
* type definitions, element declarations and model
|
||||
* groups. Factory methods for each of these are
|
||||
* provided in this class.
|
||||
*/
|
||||
@XmlRegistry
|
||||
public class ObjectFactory {
|
||||
|
||||
|
||||
/**
|
||||
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.mindmap.xml.svgmap
|
||||
*/
|
||||
public ObjectFactory() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Rect }
|
||||
*/
|
||||
public Rect createRect() {
|
||||
return new Rect();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Svg }
|
||||
*/
|
||||
public Svg createSvg() {
|
||||
return new Svg();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Text }
|
||||
*/
|
||||
public Text createText() {
|
||||
return new Text();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Ellipse }
|
||||
*/
|
||||
public Ellipse createEllipse() {
|
||||
return new Ellipse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Line }
|
||||
*/
|
||||
public Line createLine() {
|
||||
return new Line();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Polyline }
|
||||
*/
|
||||
public Polyline createPolyline() {
|
||||
return new Polyline();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link G }
|
||||
*/
|
||||
public G createG() {
|
||||
return new G();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,240 @@
|
||||
/*
|
||||
* 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.0 in JDK 1.6
|
||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||
// Generated on: 2007.04.14 at 05:27:07 PM ART
|
||||
//
|
||||
|
||||
|
||||
package com.wisemapping.xml.svgmap;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
* <p/>
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p/>
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <attribute name="fill" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="none" />
|
||||
* <attribute name="fill-opacity" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
|
||||
* <attribute name="points" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||
* <attribute name="stroke" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||
* <attribute name="stroke-opacity" use="required">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
|
||||
* <enumeration value="0.4"/>
|
||||
* <enumeration value="1"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </attribute>
|
||||
* <attribute name="stroke-width" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="1px" />
|
||||
* <attribute name="visibility" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "")
|
||||
@XmlRootElement(name = "polyline")
|
||||
public class Polyline {
|
||||
|
||||
@XmlAttribute(required = true)
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String fill;
|
||||
@XmlAttribute(name = "fill-opacity")
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String fillOpacity;
|
||||
@XmlAttribute
|
||||
protected String points;
|
||||
@XmlAttribute(required = true)
|
||||
protected String stroke;
|
||||
@XmlAttribute(name = "stroke-opacity", required = true)
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String strokeOpacity;
|
||||
@XmlAttribute(name = "stroke-width", required = true)
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String strokeWidth;
|
||||
@XmlAttribute
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String visibility;
|
||||
|
||||
/**
|
||||
* Gets the value of the fill property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getFill() {
|
||||
if (fill == null) {
|
||||
return "none";
|
||||
} else {
|
||||
return fill;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the fill property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setFill(String value) {
|
||||
this.fill = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the fillOpacity property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getFillOpacity() {
|
||||
return fillOpacity;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the fillOpacity property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setFillOpacity(String value) {
|
||||
this.fillOpacity = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the points property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getPoints() {
|
||||
return points;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the points property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setPoints(String value) {
|
||||
this.points = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the stroke property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getStroke() {
|
||||
return stroke;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the stroke property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setStroke(String value) {
|
||||
this.stroke = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the strokeOpacity property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getStrokeOpacity() {
|
||||
return strokeOpacity;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the strokeOpacity property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setStrokeOpacity(String value) {
|
||||
this.strokeOpacity = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the strokeWidth property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getStrokeWidth() {
|
||||
if (strokeWidth == null) {
|
||||
return "1px";
|
||||
} else {
|
||||
return strokeWidth;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the strokeWidth property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setStrokeWidth(String value) {
|
||||
this.strokeWidth = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the visibility property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getVisibility() {
|
||||
return visibility;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the visibility property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setVisibility(String value) {
|
||||
this.visibility = value;
|
||||
}
|
||||
|
||||
}
|
||||
342
wise-webapp/src/main/java/com/wisemapping/xml/svgmap/Rect.java
Normal file
342
wise-webapp/src/main/java/com/wisemapping/xml/svgmap/Rect.java
Normal file
@@ -0,0 +1,342 @@
|
||||
/*
|
||||
* 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.0 in JDK 1.6
|
||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||
// Generated on: 2007.04.14 at 05:27:07 PM ART
|
||||
//
|
||||
|
||||
|
||||
package com.wisemapping.xml.svgmap;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
* <p/>
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p/>
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <attribute name="fill" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||
* <attribute name="fill-opacity" type="{http://www.w3.org/2001/XMLSchema}float" />
|
||||
* <attribute name="height" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
|
||||
* <attribute name="rx" type="{http://www.w3.org/2001/XMLSchema}float" />
|
||||
* <attribute name="ry" type="{http://www.w3.org/2001/XMLSchema}float" />
|
||||
* <attribute name="stroke" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||
* <attribute name="stroke-opacity" type="{http://www.w3.org/2001/XMLSchema}float" />
|
||||
* <attribute name="stroke-width" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||
* <attribute name="style" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||
* <attribute name="visibility" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
|
||||
* <attribute name="width" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
|
||||
* <attribute name="x" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
|
||||
* <attribute name="y" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "")
|
||||
@XmlRootElement(name = "rect")
|
||||
public class Rect {
|
||||
|
||||
@XmlAttribute(required = true)
|
||||
protected String fill;
|
||||
@XmlAttribute(name = "fill-opacity")
|
||||
protected Float fillOpacity;
|
||||
@XmlAttribute(required = true)
|
||||
protected float height;
|
||||
@XmlAttribute
|
||||
protected Float rx;
|
||||
@XmlAttribute
|
||||
protected Float ry;
|
||||
@XmlAttribute(required = true)
|
||||
protected String stroke;
|
||||
@XmlAttribute(name = "stroke-opacity")
|
||||
protected Float strokeOpacity;
|
||||
@XmlAttribute(name = "stroke-width", required = true)
|
||||
protected String strokeWidth;
|
||||
@XmlAttribute
|
||||
protected String style;
|
||||
@XmlAttribute
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String visibility;
|
||||
@XmlAttribute(required = true)
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String width;
|
||||
@XmlAttribute(required = true)
|
||||
protected float x;
|
||||
@XmlAttribute(required = true)
|
||||
protected float y;
|
||||
|
||||
/**
|
||||
* Gets the value of the fill property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getFill() {
|
||||
return fill;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the fill property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setFill(String value) {
|
||||
this.fill = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the fillOpacity property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link Float }
|
||||
*/
|
||||
public Float getFillOpacity() {
|
||||
return fillOpacity;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the fillOpacity property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link Float }
|
||||
*/
|
||||
public void setFillOpacity(Float value) {
|
||||
this.fillOpacity = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the height property.
|
||||
*/
|
||||
public float getHeight() {
|
||||
return height;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the height property.
|
||||
*/
|
||||
public void setHeight(float value) {
|
||||
this.height = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the rx property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link Float }
|
||||
*/
|
||||
public Float getRx() {
|
||||
return rx;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the rx property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link Float }
|
||||
*/
|
||||
public void setRx(Float value) {
|
||||
this.rx = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the ry property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link Float }
|
||||
*/
|
||||
public Float getRy() {
|
||||
return ry;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the ry property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link Float }
|
||||
*/
|
||||
public void setRy(Float value) {
|
||||
this.ry = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the stroke property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getStroke() {
|
||||
return stroke;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the stroke property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setStroke(String value) {
|
||||
this.stroke = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the strokeOpacity property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link Float }
|
||||
*/
|
||||
public Float getStrokeOpacity() {
|
||||
return strokeOpacity;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the strokeOpacity property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link Float }
|
||||
*/
|
||||
public void setStrokeOpacity(Float value) {
|
||||
this.strokeOpacity = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the strokeWidth property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getStrokeWidth() {
|
||||
return strokeWidth;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the strokeWidth property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setStrokeWidth(String value) {
|
||||
this.strokeWidth = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the style property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getStyle() {
|
||||
return style;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the style property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setStyle(String value) {
|
||||
this.style = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the visibility property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getVisibility() {
|
||||
return visibility;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the visibility property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setVisibility(String value) {
|
||||
this.visibility = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the width property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getWidth() {
|
||||
return width;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the width property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setWidth(String value) {
|
||||
this.width = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the x property.
|
||||
*/
|
||||
public float getX() {
|
||||
return x;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the x property.
|
||||
*/
|
||||
public void setX(float value) {
|
||||
this.x = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the y property.
|
||||
*/
|
||||
public float getY() {
|
||||
return y;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the y property.
|
||||
*/
|
||||
public void setY(float value) {
|
||||
this.y = value;
|
||||
}
|
||||
|
||||
}
|
||||
332
wise-webapp/src/main/java/com/wisemapping/xml/svgmap/Svg.java
Normal file
332
wise-webapp/src/main/java/com/wisemapping/xml/svgmap/Svg.java
Normal file
@@ -0,0 +1,332 @@
|
||||
/*
|
||||
* 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.0 in JDK 1.6
|
||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||
// Generated on: 2007.04.14 at 05:27:07 PM ART
|
||||
//
|
||||
|
||||
|
||||
package com.wisemapping.xml.svgmap;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
* <p/>
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p/>
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.w3.org/2000/svg}polyline" maxOccurs="unbounded"/>
|
||||
* <element ref="{http://www.w3.org/2000/svg}line" maxOccurs="unbounded"/>
|
||||
* <element ref="{http://www.w3.org/2000/svg}g" maxOccurs="unbounded"/>
|
||||
* <element ref="{http://www.w3.org/2000/svg}rect" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* <attribute name="focusable" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
|
||||
* <attribute name="height" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
|
||||
* <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
|
||||
* <attribute name="preserveAspectRatio" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
|
||||
* <attribute name="viewBox" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||
* <attribute name="width" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"polyline",
|
||||
"line",
|
||||
"g",
|
||||
"rect"
|
||||
})
|
||||
@XmlRootElement(name = "svg")
|
||||
public class Svg {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected List<Polyline> polyline;
|
||||
@XmlElement(required = true)
|
||||
protected List<Line> line;
|
||||
@XmlElement(required = true)
|
||||
protected List<G> g;
|
||||
@XmlElement(required = true)
|
||||
protected List<Rect> rect;
|
||||
@XmlAttribute(required = true)
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String focusable;
|
||||
@XmlAttribute(required = true)
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String height;
|
||||
@XmlAttribute(required = true)
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String id;
|
||||
@XmlAttribute(required = true)
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String preserveAspectRatio;
|
||||
@XmlAttribute(required = true)
|
||||
protected String viewBox;
|
||||
@XmlAttribute(required = true)
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String width;
|
||||
|
||||
/**
|
||||
* Gets the value of the polyline property.
|
||||
* <p/>
|
||||
* <p/>
|
||||
* This accessor method returns a reference to the live list,
|
||||
* not a snapshot. Therefore any modification you make to the
|
||||
* returned list will be present inside the JAXB object.
|
||||
* This is why there is not a <CODE>set</CODE> method for the polyline property.
|
||||
* <p/>
|
||||
* <p/>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getPolyline().add(newItem);
|
||||
* </pre>
|
||||
* <p/>
|
||||
* <p/>
|
||||
* <p/>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Polyline }
|
||||
*/
|
||||
public List<Polyline> getPolyline() {
|
||||
if (polyline == null) {
|
||||
polyline = new ArrayList<Polyline>();
|
||||
}
|
||||
return this.polyline;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the line property.
|
||||
* <p/>
|
||||
* <p/>
|
||||
* This accessor method returns a reference to the live list,
|
||||
* not a snapshot. Therefore any modification you make to the
|
||||
* returned list will be present inside the JAXB object.
|
||||
* This is why there is not a <CODE>set</CODE> method for the line property.
|
||||
* <p/>
|
||||
* <p/>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getLine().add(newItem);
|
||||
* </pre>
|
||||
* <p/>
|
||||
* <p/>
|
||||
* <p/>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Line }
|
||||
*/
|
||||
public List<Line> getLine() {
|
||||
if (line == null) {
|
||||
line = new ArrayList<Line>();
|
||||
}
|
||||
return this.line;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the g property.
|
||||
* <p/>
|
||||
* <p/>
|
||||
* This accessor method returns a reference to the live list,
|
||||
* not a snapshot. Therefore any modification you make to the
|
||||
* returned list will be present inside the JAXB object.
|
||||
* This is why there is not a <CODE>set</CODE> method for the g property.
|
||||
* <p/>
|
||||
* <p/>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getG().add(newItem);
|
||||
* </pre>
|
||||
* <p/>
|
||||
* <p/>
|
||||
* <p/>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link G }
|
||||
*/
|
||||
public List<G> getG() {
|
||||
if (g == null) {
|
||||
g = new ArrayList<G>();
|
||||
}
|
||||
return this.g;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the rect property.
|
||||
* <p/>
|
||||
* <p/>
|
||||
* This accessor method returns a reference to the live list,
|
||||
* not a snapshot. Therefore any modification you make to the
|
||||
* returned list will be present inside the JAXB object.
|
||||
* This is why there is not a <CODE>set</CODE> method for the rect property.
|
||||
* <p/>
|
||||
* <p/>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getRect().add(newItem);
|
||||
* </pre>
|
||||
* <p/>
|
||||
* <p/>
|
||||
* <p/>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Rect }
|
||||
*/
|
||||
public List<Rect> getRect() {
|
||||
if (rect == null) {
|
||||
rect = new ArrayList<Rect>();
|
||||
}
|
||||
return this.rect;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the focusable property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getFocusable() {
|
||||
return focusable;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the focusable property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setFocusable(String value) {
|
||||
this.focusable = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the height property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getHeight() {
|
||||
return height;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the height property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setHeight(String value) {
|
||||
this.height = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the id property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the id property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setId(String value) {
|
||||
this.id = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the preserveAspectRatio property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getPreserveAspectRatio() {
|
||||
return preserveAspectRatio;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the preserveAspectRatio property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setPreserveAspectRatio(String value) {
|
||||
this.preserveAspectRatio = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the viewBox property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getViewBox() {
|
||||
return viewBox;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the viewBox property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setViewBox(String value) {
|
||||
this.viewBox = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the width property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getWidth() {
|
||||
return width;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the width property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setWidth(String value) {
|
||||
this.width = value;
|
||||
}
|
||||
|
||||
}
|
||||
299
wise-webapp/src/main/java/com/wisemapping/xml/svgmap/Text.java
Normal file
299
wise-webapp/src/main/java/com/wisemapping/xml/svgmap/Text.java
Normal file
@@ -0,0 +1,299 @@
|
||||
/*
|
||||
* 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.0 in JDK 1.6
|
||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||
// Generated on: 2007.04.14 at 05:27:07 PM ART
|
||||
//
|
||||
|
||||
|
||||
package com.wisemapping.xml.svgmap;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.bind.annotation.XmlValue;
|
||||
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
* <p/>
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p/>
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <attribute name="fill" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||
* <attribute name="focusable" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="true" />
|
||||
* <attribute name="font-family" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" fixed="verdana" />
|
||||
* <attribute name="font-size" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
|
||||
* <attribute name="font-style" use="required">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
|
||||
* <enumeration value="italic"/>
|
||||
* <enumeration value="normal"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </attribute>
|
||||
* <attribute name="font-weight" use="required">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
|
||||
* <enumeration value="bold"/>
|
||||
* <enumeration value="normal"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </attribute>
|
||||
* <attribute name="style" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||
* <attribute name="x" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
|
||||
* <attribute name="y" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"content"
|
||||
})
|
||||
@XmlRootElement(name = "text")
|
||||
public class Text {
|
||||
|
||||
@XmlValue
|
||||
protected String content;
|
||||
@XmlAttribute(required = true)
|
||||
protected String fill;
|
||||
@XmlAttribute(required = true)
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String focusable;
|
||||
@XmlAttribute(name = "font-family", required = true)
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String fontFamily;
|
||||
@XmlAttribute(name = "font-size", required = true)
|
||||
protected float fontSize;
|
||||
@XmlAttribute(name = "font-style", required = true)
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String fontStyle;
|
||||
@XmlAttribute(name = "font-weight", required = true)
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
protected String fontWeight;
|
||||
@XmlAttribute(required = true)
|
||||
protected String style;
|
||||
@XmlAttribute(required = true)
|
||||
protected float x;
|
||||
@XmlAttribute(required = true)
|
||||
protected float y;
|
||||
|
||||
/**
|
||||
* Gets the value of the content property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the content property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setContent(String value) {
|
||||
this.content = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the fill property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getFill() {
|
||||
return fill;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the fill property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setFill(String value) {
|
||||
this.fill = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the focusable property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getFocusable() {
|
||||
if (focusable == null) {
|
||||
return "true";
|
||||
} else {
|
||||
return focusable;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the focusable property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setFocusable(String value) {
|
||||
this.focusable = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the fontFamily property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getFontFamily() {
|
||||
if (fontFamily == null) {
|
||||
return "verdana";
|
||||
} else {
|
||||
return fontFamily;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the fontFamily property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setFontFamily(String value) {
|
||||
this.fontFamily = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the fontSize property.
|
||||
*/
|
||||
public float getFontSize() {
|
||||
return fontSize;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the fontSize property.
|
||||
*/
|
||||
public void setFontSize(float value) {
|
||||
this.fontSize = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the fontStyle property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getFontStyle() {
|
||||
return fontStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the fontStyle property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setFontStyle(String value) {
|
||||
this.fontStyle = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the fontWeight property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getFontWeight() {
|
||||
return fontWeight;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the fontWeight property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setFontWeight(String value) {
|
||||
this.fontWeight = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the style property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link String }
|
||||
*/
|
||||
public String getStyle() {
|
||||
return style;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the style property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link String }
|
||||
*/
|
||||
public void setStyle(String value) {
|
||||
this.style = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the x property.
|
||||
*/
|
||||
public float getX() {
|
||||
return x;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the x property.
|
||||
*/
|
||||
public void setX(float value) {
|
||||
this.x = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the y property.
|
||||
*/
|
||||
public float getY() {
|
||||
return y;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the y property.
|
||||
*/
|
||||
public void setY(float value) {
|
||||
this.y = value;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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.0 in JDK 1.6
|
||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||
// Generated on: 2007.04.14 at 05:27:07 PM ART
|
||||
//
|
||||
|
||||
@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.w3.org/2000/svg", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) package com.wisemapping.xml.svgmap;
|
||||
Reference in New Issue
Block a user