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_1_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:GetGmlObjectType.
015: *
016: * <p>
017: * <pre>
018: * <code>
019: * <xsd:complexType name="GetGmlObjectType">
020: * <xsd:annotation>
021: * <xsd:documentation>
022: * A GetGmlObjectType element contains exactly one GmlObjectId.
023: * The value of the gml:id attribute on that GmlObjectId is used
024: * as a unique key to retrieve the complex element with a
025: * gml:id attribute with the same value.
026: * </xsd:documentation>
027: * </xsd:annotation>
028: * <xsd:complexContent>
029: * <xsd:extension base="wfs:BaseRequestType">
030: * <xsd:sequence>
031: * <xsd:element ref="ogc:GmlObjectId"/>
032: * </xsd:sequence>
033: * <xsd:attribute default="GML3" name="outputFormat"
034: * type="xsd:string" use="optional"/>
035: * <xsd:attribute name="traverseXlinkDepth" type="xsd:string" use="required">
036: * <xsd:annotation>
037: * <xsd:documentation>
038: * This attribute indicates the depth to which nested
039: * property XLink linking element locator attribute
040: * (href) XLinks are traversed and resolved if possible.
041: * A value of "1" indicates that one linking element
042: * locator attribute (href) XLink will be traversed
043: * and the referenced element returned if possible, but
044: * nested property XLink linking element locator attribute
045: * (href) XLinks in the returned element are not traversed.
046: * A value of "*" indicates that all nested property XLink
047: * linking element locator attribute (href) XLinks will be
048: * traversed and the referenced elements returned if
049: * possible. The range of valid values for this attribute
050: * consists of positive integers plus "*".
051: * </xsd:documentation>
052: * </xsd:annotation>
053: * </xsd:attribute>
054: * <xsd:attribute name="traverseXlinkExpiry"
055: * type="xsd:positiveInteger" use="optional">
056: * <xsd:annotation>
057: * <xsd:documentation>
058: * The traverseXlinkExpiry attribute value is specified
059: * in minutes. It indicates how long a Web Feature Service
060: * should wait to receive a response to a nested GetGmlObject
061: * request.
062: * </xsd:documentation>
063: * </xsd:annotation>
064: * </xsd:attribute>
065: * </xsd:extension>
066: * </xsd:complexContent>
067: * </xsd:complexType>
068: *
069: * </code>
070: * </pre>
071: * </p>
072: *
073: * @generated
074: */
075: public class GetGmlObjectTypeBinding extends AbstractComplexBinding {
076: WfsFactory wfsfactory;
077:
078: public GetGmlObjectTypeBinding(WfsFactory wfsfactory) {
079: this .wfsfactory = wfsfactory;
080: }
081:
082: /**
083: * @generated
084: */
085: public QName getTarget() {
086: return WFS.GETGMLOBJECTTYPE;
087: }
088:
089: /**
090: * <!-- begin-user-doc -->
091: * <!-- end-user-doc -->
092: *
093: * @generated modifiable
094: */
095: public Class getType() {
096: return null;
097: }
098:
099: /**
100: * <!-- begin-user-doc -->
101: * <!-- end-user-doc -->
102: *
103: * @generated modifiable
104: */
105: public Object parse(ElementInstance instance, Node node,
106: Object value) throws Exception {
107: //TODO: implement
108: return null;
109: }
110: }
|