/* * 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.wfs.bindings; import javax.xml.namespace.QName; import net.opengis.wfs.ActionType; import net.opengis.wfs.WfsFactory; import org.geotools.wfs.WFS; import org.geotools.xml.AbstractComplexEMFBinding; /** * Binding object for the type http://www.opengis.net/wfs:ActionType. * * <p> * <pre> * <code> * <xsd:complexType name="ActionType"> * <xsd:sequence> * <xsd:element maxOccurs="1" minOccurs="0" name="Message" type="xsd:string"> * <xsd:annotation> * <xsd:documentation> * If an action fails, the message element may be used * to supply an exception message. * </xsd:documentation> * </xsd:annotation> * </xsd:element> * </xsd:sequence> * <xsd:attribute name="locator" type="xsd:string" use="required"> * <xsd:annotation> * <xsd:documentation> * The locator attribute is used to locate an action * within a <Transaction> element. The value * of the locator attribute is either a string that * is equal to the value of the handle attribute * specified on an <Insert>, <Update> * or <Delete> action. If a value is not * specified for the handle attribute then a WFS * may employ some other means of locating the * action. For example, the value of the locator * attribute may be an integer indicating the order * of the action (i.e. 1=First action, 2=Second action, * etc.). * </xsd:documentation> * </xsd:annotation> * </xsd:attribute> * <xsd:attribute name="code" type="xsd:string" use="optional"> * <xsd:annotation> * <xsd:documentation> * The code attribute may be used to specify an * exception code indicating why an action failed. * </xsd:documentation> * </xsd:annotation> * </xsd:attribute> * </xsd:complexType> * * </code> * </pre> * </p> * * @generated * * * @source $URL$ */ public class ActionTypeBinding extends AbstractComplexEMFBinding { public ActionTypeBinding(WfsFactory factory) { super(factory); } /** * @generated */ public QName getTarget() { return WFS.ActionType; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Class getType() { return ActionType.class; } }