Package iofXml.v3
Class Map
java.lang.Object
iofXml.v3.Map
Map information, used in course setting software with regard to the "real" map.
Java class for Map complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Map">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Id" type="{http://www.orienteering.org/datastandard/3.0}Id" minOccurs="0"/>
<element name="Image" type="{http://www.orienteering.org/datastandard/3.0}Image" minOccurs="0"/>
<element name="Scale" type="{http://www.w3.org/2001/XMLSchema}double"/>
<element name="MapPositionTopLeft" type="{http://www.orienteering.org/datastandard/3.0}MapPosition"/>
<element name="MapPositionBottomRight" type="{http://www.orienteering.org/datastandard/3.0}MapPosition"/>
<element name="Extensions" type="{http://www.orienteering.org/datastandard/3.0}Extensions" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ExtensionsContainer element for custom elements from other schemas.protected Idprotected ImageThe map image.protected MapPositionThe position of the map's bottom right corner given in the map's coordinate system.protected MapPositionThe position of the map's top left corner given in the map's coordinate system, usually (0, 0).protected doubleThe denominator of the scale of the map. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionContainer element for custom elements from other schemas.getId()Gets the value of the id property.getImage()The map image.The position of the map's bottom right corner given in the map's coordinate system.The position of the map's top left corner given in the map's coordinate system, usually (0, 0).doublegetScale()The denominator of the scale of the map.voidsetExtensions(Extensions value) Sets the value of the extensions property.voidSets the value of the id property.voidSets the value of the image property.voidSets the value of the mapPositionBottomRight property.voidsetMapPositionTopLeft(MapPosition value) Sets the value of the mapPositionTopLeft property.voidsetScale(double value) Sets the value of the scale property.
-
Field Details
-
id
-
image
The map image. -
scale
protected double scaleThe denominator of the scale of the map. 1:15000 should be represented as 15000. -
mapPositionTopLeft
The position of the map's top left corner given in the map's coordinate system, usually (0, 0). -
mapPositionBottomRight
The position of the map's bottom right corner given in the map's coordinate system. -
extensions
Container element for custom elements from other schemas.
-
-
Constructor Details
-
Map
public Map()
-
-
Method Details
-
getId
Gets the value of the id property.- Returns:
- possible object is
Id
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isId
-
getImage
The map image.- Returns:
- possible object is
Image
-
setImage
Sets the value of the image property.- Parameters:
value- allowed object isImage- See Also:
-
getScale
public double getScale()The denominator of the scale of the map. 1:15000 should be represented as 15000. -
setScale
public void setScale(double value) Sets the value of the scale property. -
getMapPositionTopLeft
The position of the map's top left corner given in the map's coordinate system, usually (0, 0).- Returns:
- possible object is
MapPosition
-
setMapPositionTopLeft
Sets the value of the mapPositionTopLeft property.- Parameters:
value- allowed object isMapPosition- See Also:
-
getMapPositionBottomRight
The position of the map's bottom right corner given in the map's coordinate system.- Returns:
- possible object is
MapPosition
-
setMapPositionBottomRight
Sets the value of the mapPositionBottomRight property.- Parameters:
value- allowed object isMapPosition- See Also:
-
getExtensions
Container element for custom elements from other schemas.- Returns:
- possible object is
Extensions
-
setExtensions
Sets the value of the extensions property.- Parameters:
value- allowed object isExtensions- See Also:
-