/* (c) 2014 Open Source Geospatial Foundation - all rights reserved
* (c) 2001 - 2013 OpenPlans
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
*/
package org.geoserver.wfs.xml.v1_1_0;
import javax.xml.namespace.QName;
import net.opengis.wfs.WfsFactory;
import org.geotools.xml.AbstractComplexBinding;
import org.geotools.xml.ElementInstance;
import org.geotools.xml.Node;
/**
* 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>
* @generated
*/
public class ActionTypeBinding extends AbstractComplexBinding {
WfsFactory wfsfactory;
public ActionTypeBinding(WfsFactory wfsfactory) {
this.wfsfactory = wfsfactory;
}
/**
* @generated
*/
public QName getTarget() {
return WFS.ACTIONTYPE;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated modifiable
*/
public Class getType() {
return null;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated modifiable
*/
public Object parse(ElementInstance instance, Node node, Object value)
throws Exception {
//TODO: implement
return null;
}
}