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.sld.bindings;
17:
18: import org.picocontainer.MutablePicoContainer;
19: import org.w3c.dom.Document;
20: import org.w3c.dom.Element;
21: import javax.xml.namespace.QName;
22: import org.geotools.xml.*;
23:
24: /**
25: * Binding object for the element http://www.opengis.net/sld:GrayChannel.
26: *
27: * <p>
28: * <pre>
29: * <code>
30: * <xsd:element name="GrayChannel" type="sld:SelectedChannelType"/>
31: *
32: * </code>
33: * </pre>
34: * </p>
35: *
36: * @generated
37: */
38: public class SLDGrayChannelBinding extends AbstractComplexBinding {
39: /**
40: * @generated
41: */
42: public QName getTarget() {
43: return SLD.GRAYCHANNEL;
44: }
45:
46: /**
47: * <!-- begin-user-doc -->
48: * <!-- end-user-doc -->
49: *
50: * @generated modifiable
51: */
52: public int getExecutionMode() {
53: return AFTER;
54: }
55:
56: /**
57: * <!-- begin-user-doc -->
58: * <!-- end-user-doc -->
59: *
60: * @generated modifiable
61: */
62: public Class getType() {
63: return null;
64: }
65:
66: /**
67: * <!-- begin-user-doc -->
68: * <!-- end-user-doc -->
69: *
70: * @generated modifiable
71: */
72: public void initialize(ElementInstance instance, Node node,
73: MutablePicoContainer context) {
74: }
75:
76: /**
77: * <!-- begin-user-doc -->
78: * <!-- end-user-doc -->
79: *
80: * @generated modifiable
81: */
82: public Object parse(ElementInstance instance, Node node,
83: Object value) throws Exception {
84: //TODO: implement
85: return null;
86: }
87: }
|