001: /* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
002: * This code is licensed under the GPL 2.0 license, availible at the root
003: * application directory.
004: */
005: package org.geoserver.wfs.xml.v1_0_0;
006:
007: import net.opengis.wfs.WfsFactory;
008: import org.geotools.xml.AbstractComplexBinding;
009: import org.geotools.xml.ElementInstance;
010: import org.geotools.xml.Node;
011: import javax.xml.namespace.QName;
012:
013: /**
014: * Binding object for the type http://www.opengis.net/wfs:TransactionResultType.
015: *
016: * <p>
017: * <pre>
018: * <code>
019: * <xsd:complexType name="TransactionResultType">
020: * <xsd:sequence>
021: * <xsd:element name="Status" type="wfs:StatusType">
022: * <xsd:annotation>
023: * <xsd:documentation>
024: * The Status element contains an element indicating the
025: * completion status of a transaction. The SUCCESS element
026: * is used to indicate successful completion. The FAILED
027: * element is used to indicate that an exception was
028: * encountered.
029: * </xsd:documentation>
030: * </xsd:annotation>
031: * </xsd:element>
032: * <xsd:element minOccurs="0" name="Locator" type="xsd:string">
033: * <xsd:annotation>
034: * <xsd:documentation>
035: * In the event that an exception was encountered while
036: * processing a transaction, a Web Feature Service may
037: * use the Locator element to try and identify the part
038: * of the transaction that failed. If the element(s)
039: * contained in a Transaction element included a handle
040: * attribute, then a Web Feature Service may report the
041: * handle to identify the offending element.
042: * </xsd:documentation>
043: * </xsd:annotation>
044: * </xsd:element>
045: * <xsd:element minOccurs="0" name="Message" type="xsd:string">
046: * <xsd:annotation>
047: * <xsd:documentation>
048: * The Message element may contain an exception report
049: * generated by a Web Feature Service when an exception
050: * is encountered.
051: * </xsd:documentation>
052: * </xsd:annotation>
053: * </xsd:element>
054: * </xsd:sequence>
055: * <xsd:attribute name="handle" type="xsd:string" use="optional"/>
056: * </xsd:complexType>
057: *
058: * </code>
059: * </pre>
060: * </p>
061: *
062: * @generated
063: */
064: public class TransactionResultTypeBinding extends
065: AbstractComplexBinding {
066: WfsFactory wfsfactory;
067:
068: public TransactionResultTypeBinding(WfsFactory wfsfactory) {
069: this .wfsfactory = wfsfactory;
070: }
071:
072: /**
073: * @generated
074: */
075: public QName getTarget() {
076: return WFS.TRANSACTIONRESULTTYPE;
077: }
078:
079: /**
080: * <!-- begin-user-doc -->
081: * <!-- end-user-doc -->
082: *
083: * @generated modifiable
084: */
085: public Class getType() {
086: return null;
087: }
088:
089: /**
090: * <!-- begin-user-doc -->
091: * <!-- end-user-doc -->
092: *
093: * @generated modifiable
094: */
095: public Object parse(ElementInstance instance, Node node,
096: Object value) throws Exception {
097: //TODO: implement
098: return null;
099: }
100: }
|