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:attributeGroup.
27: *
28: * <p>
29: * <pre>
30: * <code>
31: * <xs:complexType name="attributeGroup" abstract="true">
32: * <xs:complexContent>
33: * <xs:extension base="xs:annotated">
34: * <xs:group ref="xs:attrDecls"/>
35: * <xs:attributeGroup ref="xs:defRef"/>
36: * </xs:extension>
37: * </xs:complexContent>
38: * </xs:complexType>
39: *
40: * </code>
41: * </pre>
42: * </p>
43: *
44: * @generated
45: */
46: public class XSAttributeGroupBinding extends AbstractComplexBinding {
47: /**
48: * @generated
49: */
50: public QName getTarget() {
51: return XS.ATTRIBUTEGROUP;
52: }
53:
54: /**
55: * <!-- begin-user-doc -->
56: * <!-- end-user-doc -->
57: *
58: * @generated modifiable
59: */
60: public int getExecutionMode() {
61: return AFTER;
62: }
63:
64: /**
65: * <!-- begin-user-doc -->
66: * <!-- end-user-doc -->
67: *
68: * @generated modifiable
69: */
70: public Class getType() {
71: return null;
72: }
73:
74: /**
75: * <!-- begin-user-doc -->
76: * <!-- end-user-doc -->
77: *
78: * @generated modifiable
79: */
80: public void initialize(ElementInstance instance, Node node,
81: MutablePicoContainer context) {
82: }
83:
84: /**
85: * <!-- begin-user-doc -->
86: * <!-- end-user-doc -->
87: *
88: * @generated modifiable
89: */
90: public Object parse(ElementInstance instance, Node node,
91: Object value) throws Exception {
92: //TODO: implement
93: return null;
94: }
95:
96: }
|