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:public.
25: *
26: * <p>
27: * <pre>
28: * <code>
29: * <xs:simpleType name="public">
30: * <xs:annotation>
31: * <xs:documentation> A utility type, not for public use</xs:documentation>
32: * <xs:documentation> A public identifier, per ISO 8879</xs:documentation>
33: * </xs:annotation>
34: * <xs:restriction base="xs:token"/>
35: * </xs:simpleType>
36: *
37: * </code>
38: * </pre>
39: * </p>
40: *
41: * @generated
42: */
43: public class XSPublicBinding implements SimpleBinding {
44: /**
45: * @generated
46: */
47: public QName getTarget() {
48: return XS.PUBLIC;
49: }
50:
51: /**
52: * <!-- begin-user-doc -->
53: * <!-- end-user-doc -->
54: *
55: * @generated modifiable
56: */
57: public int getExecutionMode() {
58: return AFTER;
59: }
60:
61: /**
62: * <!-- begin-user-doc -->
63: * <!-- end-user-doc -->
64: *
65: * @generated modifiable
66: */
67: public Class getType() {
68: return null;
69: }
70:
71: /**
72: * <!-- begin-user-doc -->
73: * <!-- end-user-doc -->
74: *
75: * @generated modifiable
76: */
77: public Object parse(InstanceComponent instance, Object value)
78: throws Exception {
79: //TODO: implement me
80: return null;
81: }
82:
83: /**
84: * <!-- begin-user-doc -->
85: * <!-- end-user-doc -->
86: *
87: * @generated modifiable
88: */
89: public String encode(Object object, String value) {
90: //TODO: implement
91: return null;
92: }
93: }
|