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_0_0;
06:
07: import net.opengis.wfs.WfsFactory;
08: import org.geotools.xml.AbstractComplexBinding;
09: import org.geotools.xml.ElementInstance;
10: import org.geotools.xml.Node;
11: import javax.xml.namespace.QName;
12:
13: /**
14: * Binding object for the type http://www.opengis.net/wfs:NativeType.
15: *
16: * <p>
17: * <pre>
18: * <code>
19: * <xsd:complexType name="NativeType">
20: * <xsd:attribute name="vendorId" type="xsd:string" use="required">
21: * <xsd:annotation>
22: * <xsd:documentation>
23: * The vendorId attribute is used to specify the name of
24: * vendor who's vendor specific command the client
25: * application wishes to execute.
26: * </xsd:documentation>
27: * </xsd:annotation>
28: * </xsd:attribute>
29: * <xsd:attribute name="safeToIgnore" type="xsd:boolean" use="required">
30: * <xsd:annotation>
31: * <xsd:documentation>
32: * In the event that a Web Feature Service does not recognize
33: * the vendorId or does not recognize the vendor specific command,
34: * the safeToIgnore attribute is used to indicate whether the
35: * exception can be safely ignored. A value of TRUE means that
36: * the Web Feature Service may ignore the command. A value of
37: * FALSE means that a Web Feature Service cannot ignore the
38: * command and an exception should be raised if a problem is
39: * encountered.
40: * </xsd:documentation>
41: * </xsd:annotation>
42: * </xsd:attribute>
43: * </xsd:complexType>
44: *
45: * </code>
46: * </pre>
47: * </p>
48: *
49: * @generated
50: */
51: public class NativeTypeBinding extends AbstractComplexBinding {
52: WfsFactory wfsfactory;
53:
54: public NativeTypeBinding(WfsFactory wfsfactory) {
55: this .wfsfactory = wfsfactory;
56: }
57:
58: /**
59: * @generated
60: */
61: public QName getTarget() {
62: return WFS.NATIVETYPE;
63: }
64:
65: /**
66: * <!-- begin-user-doc -->
67: * <!-- end-user-doc -->
68: *
69: * @generated modifiable
70: */
71: public Class getType() {
72: return null;
73: }
74:
75: /**
76: * <!-- begin-user-doc -->
77: * <!-- end-user-doc -->
78: *
79: * @generated modifiable
80: */
81: public Object parse(ElementInstance instance, Node node,
82: Object value) throws Exception {
83: //TODO: implement
84: return null;
85: }
86: }
|