public class AcceptVersionsType extends Object implements AcceptVersions
Java class for AcceptVersionsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AcceptVersionsType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Version" type="{http://www.opengis.net/ows}VersionType" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType>
Defined in the geotk-xml-ows
module
Constructor and Description |
---|
AcceptVersionsType(List<String> version) |
AcceptVersionsType(String... versions)
Build a new List of acceptVersion.
|
Modifier and Type | Method and Description |
---|---|
void |
addFirstVersion(String version) |
void |
addVersion(String version)
Add a new accepted version to the list.
|
boolean |
equals(Object object)
Verify that this entry is identical to the specified object.
|
List<String> |
getVersion()
Gets the value of the version property.
|
int |
hashCode() |
String |
toString() |
public AcceptVersionsType(String... versions)
public List<String> getVersion()
getVersion
in interface AcceptVersions
public void addVersion(String version)
addVersion
in interface AcceptVersions
version
- a number of version.public void addFirstVersion(String version)
public boolean equals(Object object)
Copyright © 2009–2017 Geotoolkit.org. All rights reserved.