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.xs.bindings;
17:
18: import javax.xml.namespace.QName;
19:
20: import org.geotools.xml.InstanceComponent;
21: import org.geotools.xml.SimpleBinding;
22:
23: /**
24: * Binding object for the type http://www.w3.org/2001/XMLSchema:derivationControl.
25: *
26: * <p>
27: * <pre>
28: * <code>
29: * <xs:simpleType name="derivationControl">
30: * <xs:annotation>
31: * <xs:documentation> A utility type, not for public use</xs:documentation>
32: * </xs:annotation>
33: * <xs:restriction base="xs:NMTOKEN">
34: * <xs:enumeration value="substitution"/>
35: * <xs:enumeration value="extension"/>
36: * <xs:enumeration value="restriction"/>
37: * <xs:enumeration value="list"/>
38: * <xs:enumeration value="union"/>
39: * </xs:restriction>
40: * </xs:simpleType>
41: *
42: * </code>
43: * </pre>
44: * </p>
45: *
46: * @generated
47: */
48: public class XSDerivationControlBinding implements SimpleBinding {
49: /**
50: * @generated
51: */
52: public QName getTarget() {
53: return XS.DERIVATIONCONTROL;
54: }
55:
56: /**
57: * <!-- begin-user-doc -->
58: * <!-- end-user-doc -->
59: *
60: * @generated modifiable
61: */
62: public int getExecutionMode() {
63: return AFTER;
64: }
65:
66: /**
67: * <!-- begin-user-doc -->
68: * <!-- end-user-doc -->
69: *
70: * @generated modifiable
71: */
72: public Class getType() {
73: return null;
74: }
75:
76: /**
77: * <!-- begin-user-doc -->
78: * <!-- end-user-doc -->
79: *
80: * @generated modifiable
81: */
82: public Object parse(InstanceComponent instance, Object value)
83: throws Exception {
84: //TODO: implement me
85: return null;
86: }
87:
88: /**
89: * <!-- begin-user-doc -->
90: * <!-- end-user-doc -->
91: *
92: * @generated modifiable
93: */
94: public String encode(Object object, String value) {
95: //TODO: implement
96: return null;
97: }
98: }
|