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.AbstractComplexBinding;
21: import org.geotools.xml.ElementInstance;
22: import org.geotools.xml.Node;
23: import org.picocontainer.MutablePicoContainer;
24:
25: /**
26: * Binding object for the type http://www.w3.org/2001/XMLSchema:numFacet.
27: *
28: * <p>
29: * <pre>
30: * <code>
31: * <xs:complexType name="numFacet">
32: * <xs:complexContent>
33: * <xs:restriction base="xs:facet">
34: * <xs:sequence>
35: * <xs:element ref="xs:annotation" minOccurs="0"/>
36: * </xs:sequence>
37: * <xs:attribute name="value" type="xs:nonNegativeInteger" use="required"/>
38: * <xs:anyAttribute namespace="##other" processContents="lax"/>
39: * </xs:restriction>
40: * </xs:complexContent>
41: * </xs:complexType>
42: *
43: * </code>
44: * </pre>
45: * </p>
46: *
47: * @generated
48: */
49: public class XSNumFacetBinding extends AbstractComplexBinding {
50: /**
51: * @generated modifiable
52: */
53: public QName getTarget() {
54: return XS.NUMFACET;
55: }
56:
57: /**
58: * <!-- begin-user-doc -->
59: * <!-- end-user-doc -->
60: *
61: * @generated modifiable
62: */
63: public int getExecutionMode() {
64: return AFTER;
65: }
66:
67: /**
68: * <!-- begin-user-doc -->
69: * <!-- end-user-doc -->
70: *
71: * @generated modifiable
72: */
73: public Class getType() {
74: return null;
75: }
76:
77: /**
78: * <!-- begin-user-doc -->
79: * <!-- end-user-doc -->
80: *
81: * @generated modifiable
82: */
83: public void initialize(ElementInstance instance, Node node,
84: MutablePicoContainer context) {
85: }
86:
87: /**
88: * <!-- begin-user-doc -->
89: * <!-- end-user-doc -->
90: *
91: * @generated modifiable
92: */
93: public Object parse(ElementInstance instance, Node node,
94: Object value) throws Exception {
95: //TODO: implement
96: return null;
97: }
98:
99: }
|