01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2002-2006, GeoTools Project Managment Committee (PMC)
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation;
09: * version 2.1 of the License.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: */
16: package org.geotools.gml2.bindings;
17:
18: import javax.xml.namespace.QName;
19: import org.geotools.xml.AbstractComplexBinding;
20: import org.geotools.xml.ElementInstance;
21: import org.geotools.xml.Node;
22:
23: /**
24: * Binding object for the type http://www.opengis.net/gml:LineStringMemberType.
25: *
26: * <p>
27: * <pre>
28: * <code>
29: * <complexType name="LineStringMemberType">
30: * <annotation>
31: * <documentation>Restricts the geometry member to being a
32: * LineString instance.</documentation>
33: * </annotation>
34: * <complexContent>
35: * <restriction base="gml:GeometryAssociationType">
36: * <sequence minOccurs="0">
37: * <element ref="gml:LineString"/>
38: * </sequence>
39: * <attributeGroup ref="gml:AssociationAttributeGroup"/>
40: * </restriction>
41: * </complexContent>
42: * </complexType>
43: *
44: * </code>
45: * </pre>
46: * </p>
47: *
48: * @generated
49: */
50: public class GMLLineStringMemberTypeBinding extends
51: AbstractComplexBinding {
52: /**
53: * @generated
54: */
55: public QName getTarget() {
56: return GML.LINESTRINGMEMBERTYPE;
57: }
58:
59: /**
60: * <!-- begin-user-doc -->
61: * <!-- end-user-doc -->
62: *
63: * @generated modifiable
64: */
65: public int getExecutionMode() {
66: return AFTER;
67: }
68:
69: /**
70: * <!-- begin-user-doc -->
71: * <!-- end-user-doc -->
72: *
73: * @generated modifiable
74: */
75: public Class getType() {
76: return null;
77: }
78:
79: /**
80: * <!-- begin-user-doc -->
81: * <!-- end-user-doc -->
82: *
83: * @generated modifiable
84: */
85: public Object parse(ElementInstance instance, Node node,
86: Object value) throws Exception {
87: return value;
88: }
89: }
|