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:LinePlacement.
26: *
27: * <p>
28: * <pre>
29: * <code>
30: * <xsd:element name="LinePlacement">
31: * <xsd:annotation>
32: * <xsd:documentation> A "LinePlacement"
33: * specifies how a text label should be rendered
34: * relative to a linear geometry. </xsd:documentation>
35: * </xsd:annotation>
36: * <xsd:complexType>
37: * <xsd:sequence>
38: * <xsd:element ref="sld:PerpendicularOffset" minOccurs="0"/>
39: * </xsd:sequence>
40: * </xsd:complexType>
41: * </xsd:element>
42: *
43: * </code>
44: * </pre>
45: * </p>
46: *
47: * @generated
48: */
49: public class SLDLinePlacementBinding extends AbstractComplexBinding {
50: /**
51: * @generated
52: */
53: public QName getTarget() {
54: return SLD.LINEPLACEMENT;
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: }
|