/*
* 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.owc.xml.v030;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.geotoolkit.sld.xml.v100.FeatureTypeStyle;
import org.geotoolkit.sld.xml.v100.StyledLayerDescriptor;
/**
* <p>Java class for SLDType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="SLDType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="LegendURL" type="{http://www.opengis.net/ows-context}URLType" minOccurs="0"/>
* <choice>
* <element name="OnlineResource" type="{http://www.opengis.net/ows-context}OnlineResourceType"/>
* <element ref="{http://www.opengis.net/sld}StyledLayerDescriptor"/>
* <element ref="{http://www.opengis.net/sld}FeatureTypeStyle"/>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
* @module
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SLDType", propOrder = {
"name",
"title",
"legendURL",
"onlineResource",
"styledLayerDescriptor",
"featureTypeStyle"
})
public class SLDType {
@XmlElement(name = "Name")
protected String name;
@XmlElement(name = "Title")
protected String title;
@XmlElement(name = "LegendURL")
protected URLType legendURL;
@XmlElement(name = "OnlineResource")
protected OnlineResourceType onlineResource;
@XmlElement(name = "StyledLayerDescriptor", namespace = "http://www.opengis.net/sld")
protected StyledLayerDescriptor styledLayerDescriptor;
@XmlElement(name = "FeatureTypeStyle", namespace = "http://www.opengis.net/sld")
protected FeatureTypeStyle featureTypeStyle;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(final String value) {
this.name = value;
}
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(final String value) {
this.title = value;
}
/**
* Gets the value of the legendURL property.
*
* @return
* possible object is
* {@link URLType }
*
*/
public URLType getLegendURL() {
return legendURL;
}
/**
* Sets the value of the legendURL property.
*
* @param value
* allowed object is
* {@link URLType }
*
*/
public void setLegendURL(final URLType value) {
this.legendURL = value;
}
/**
* 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 styledLayerDescriptor property.
*
* @return
* possible object is
* {@link StyledLayerDescriptor }
*
*/
public StyledLayerDescriptor getStyledLayerDescriptor() {
return styledLayerDescriptor;
}
/**
* Sets the value of the styledLayerDescriptor property.
*
* @param value
* allowed object is
* {@link StyledLayerDescriptor }
*
*/
public void setStyledLayerDescriptor(final StyledLayerDescriptor value) {
this.styledLayerDescriptor = value;
}
/**
* Gets the value of the featureTypeStyle property.
*
* @return
* possible object is
* {@link FeatureTypeStyle }
*
*/
public FeatureTypeStyle getFeatureTypeStyle() {
return featureTypeStyle;
}
/**
* Sets the value of the featureTypeStyle property.
*
* @param value
* allowed object is
* {@link FeatureTypeStyle }
*
*/
public void setFeatureTypeStyle(final FeatureTypeStyle value) {
this.featureTypeStyle = value;
}
}