/* * GeoTools - The Open Source Java GIS Toolkit * http://geotools.org * * (C) 2002-2008, Open Source Geospatial Foundation (OSGeo) * * 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; * version 2.1 of the License. * * 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.geotools.ows.bindings; import net.opengis.ows10.Ows10Factory; import javax.xml.namespace.QName; import org.geotools.ows.OWS; import org.geotools.xml.*; /** * Binding object for the type http://www.opengis.net/ows:VersionType. * * <p> * <pre> * <code> * <simpleType name="VersionType"> * <annotation> * <documentation>Specification version for OWS operation. The string value shall contain one x.y.z "version" value (e.g., "2.1.3"). A version number shall contain three non-negative integers separated by decimal points, in the form "x.y.z". The integers y and z shall not exceed 99. Each version shall be for the Implementation Specification (document) and the associated XML Schemas to which requested operations will conform. An Implementation Specification version normally specifies XML Schemas against which an XML encoded operation response must conform and should be validated. See Version negotiation subclause for more information. </documentation> * </annotation> * <restriction base="string"/> * </simpleType> * * </code> * </pre> * </p> * * @generated * * * @source $URL$ */ public class VersionTypeBinding extends AbstractSimpleBinding { public VersionTypeBinding(Ows10Factory factory) { } /** * @generated */ public QName getTarget() { return OWS.VersionType; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Class getType() { return String.class; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(InstanceComponent instance, Object value) throws Exception { //TODO: implement and remove call to super return super.parse(instance, value); } }