/*
* Geotoolkit - An Open Source Java GIS Toolkit
* http://www.geotoolkit.org
*
* (C) 2008 - 2009, Geomatys
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*/
package org.geotoolkit.wmc.xml.v110;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for URLType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="URLType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="OnlineResource" type="{http://www.opengis.net/context}OnlineResourceType"/>
* </sequence>
* <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}integer" />
* <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}integer" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
* @module
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "URLType", propOrder = {
"onlineResource"
})
public class URLType {
@XmlElement(name = "OnlineResource", required = true)
protected OnlineResourceType onlineResource;
@XmlAttribute
protected String format;
@XmlAttribute
protected BigInteger height;
@XmlAttribute
protected BigInteger width;
/**
* Gets the value of the onlineResource property.
*
* @return
* possible object is
* {@link OnlineResourceType }
*
*/
public OnlineResourceType getOnlineResource() {
return onlineResource;
}
/**
* Sets the value of the onlineResource property.
*
* @param value
* allowed object is
* {@link OnlineResourceType }
*
*/
public void setOnlineResource(final OnlineResourceType value) {
this.onlineResource = value;
}
/**
* Gets the value of the format property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFormat() {
return format;
}
/**
* Sets the value of the format property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFormat(final String value) {
this.format = value;
}
/**
* Gets the value of the height property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getHeight() {
return height;
}
/**
* Sets the value of the height property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setHeight(final BigInteger value) {
this.height = value;
}
/**
* Gets the value of the width property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getWidth() {
return width;
}
/**
* Sets the value of the width property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setWidth(final BigInteger value) {
this.width = value;
}
}