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