01: /* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
02: * This code is licensed under the GPL 2.0 license, availible at the root
03: * application directory.
04: */
05: package org.geoserver.wfs.xml.v1_1_0;
06:
07: import net.opengis.wfs.TransactionResultsType;
08: import net.opengis.wfs.WfsFactory;
09: import org.geotools.xml.AbstractComplexEMFBinding;
10: import org.geotools.xml.ElementInstance;
11: import org.geotools.xml.Node;
12: import javax.xml.namespace.QName;
13:
14: /**
15: * Binding object for the type http://www.opengis.net/wfs:TransactionResultsType.
16: *
17: * <p>
18: * <pre>
19: * <code>
20: * <xsd:complexType name="TransactionResultsType">
21: * <xsd:annotation>
22: * <xsd:documentation>
23: * The TransactionResults element may be used to report exception
24: * codes and messages for all actions of a transaction that failed
25: * to complete successfully.
26: * </xsd:documentation>
27: * </xsd:annotation>
28: * <xsd:sequence>
29: * <xsd:element maxOccurs="unbounded" minOccurs="0" name="Action" type="wfs:ActionType">
30: * <xsd:annotation>
31: * <xsd:documentation>
32: * The Action element reports an exception code
33: * and exception message indicating why the
34: * corresponding action of a transaction request
35: * failed.
36: * </xsd:documentation>
37: * </xsd:annotation>
38: * </xsd:element>
39: * </xsd:sequence>
40: * </xsd:complexType>
41: *
42: * </code>
43: * </pre>
44: * </p>
45: *
46: * @generated
47: */
48: public class TransactionResultsTypeBinding extends
49: AbstractComplexEMFBinding {
50: WfsFactory wfsfactory;
51:
52: public TransactionResultsTypeBinding(WfsFactory wfsfactory) {
53: this .wfsfactory = wfsfactory;
54: }
55:
56: /**
57: * @generated
58: */
59: public QName getTarget() {
60: return WFS.TRANSACTIONRESULTSTYPE;
61: }
62:
63: /**
64: * <!-- begin-user-doc -->
65: * <!-- end-user-doc -->
66: *
67: * @generated modifiable
68: */
69: public Class getType() {
70: return TransactionResultsType.class;
71: }
72:
73: /**
74: * <!-- begin-user-doc -->
75: * <!-- end-user-doc -->
76: *
77: * @generated modifiable
78: */
79: public Object parse(ElementInstance instance, Node node,
80: Object value) throws Exception {
81: //TODO: implement
82: return null;
83: }
84: }
|