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:PerpendicularOffset.
26: *
27: * <p>
28: * <pre>
29: * <code>
30: * <xsd:element name="PerpendicularOffset" type="sld:ParameterValueType">
31: * <xsd:annotation>
32: * <xsd:documentation> A "PerpendicularOffset"
33: * gives the perpendicular distance away from a line to
34: * draw a label. </xsd:documentation>
35: * </xsd:annotation>
36: * </xsd:element>
37: *
38: * </code>
39: * </pre>
40: * </p>
41: *
42: * @generated
43: */
44: public class SLDPerpendicularOffsetBinding extends
45: AbstractComplexBinding {
46: /**
47: * @generated
48: */
49: public QName getTarget() {
50: return SLD.PERPENDICULAROFFSET;
51: }
52:
53: /**
54: * <!-- begin-user-doc -->
55: * <!-- end-user-doc -->
56: *
57: * @generated modifiable
58: */
59: public int getExecutionMode() {
60: return AFTER;
61: }
62:
63: /**
64: * <!-- begin-user-doc -->
65: * <!-- end-user-doc -->
66: *
67: * @generated modifiable
68: */
69: public Class getType() {
70: return null;
71: }
72:
73: /**
74: * <!-- begin-user-doc -->
75: * <!-- end-user-doc -->
76: *
77: * @generated modifiable
78: */
79: public void initialize(ElementInstance instance, Node node,
80: MutablePicoContainer context) {
81: }
82:
83: /**
84: * <!-- begin-user-doc -->
85: * <!-- end-user-doc -->
86: *
87: * @generated modifiable
88: */
89: public Object parse(ElementInstance instance, Node node,
90: Object value) throws Exception {
91: //TODO: implement
92: return null;
93: }
94: }
|