svn-gvsig-desktop / branches / v02_desarrollo / libraries / org.gvsig.sldsupport / org.gvsig.sldsupport.lib / org.gvsig.sldsupport.lib.api / src / main / java / org / gvsig / sldsupport / util / SLDTags.java @ 40749
History | View | Annotate | Download (6.85 KB)
1 |
/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
|
---|---|
2 |
*
|
3 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
4 |
*
|
5 |
* This program is free software; you can redistribute it and/or
|
6 |
* modify it under the terms of the GNU General Public License
|
7 |
* as published by the Free Software Foundation; either version 2
|
8 |
* of the License, or (at your option) any later version.
|
9 |
*
|
10 |
* This program is distributed in the hope that it will be useful,
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
* GNU General Public License for more details.
|
14 |
*
|
15 |
* You should have received a copy of the GNU General Public License
|
16 |
* along with this program; if not, write to the Free Software
|
17 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
18 |
*
|
19 |
* For more information, contact:
|
20 |
*
|
21 |
* Generalitat Valenciana
|
22 |
* Conselleria d'Infraestructures i Transport
|
23 |
* Av. Blasco Ib��ez, 50
|
24 |
* 46010 VALENCIA
|
25 |
* SPAIN
|
26 |
*
|
27 |
* +34 963862235
|
28 |
* gvsig@gva.es
|
29 |
* www.gvsig.gva.es
|
30 |
*
|
31 |
* or
|
32 |
*
|
33 |
* IVER T.I. S.A
|
34 |
* Salamanca 50
|
35 |
* 46005 Valencia
|
36 |
* Spain
|
37 |
*
|
38 |
* +34 963163400
|
39 |
* dac@iver.es
|
40 |
*/
|
41 |
package org.gvsig.sldsupport.util; |
42 |
/**
|
43 |
* Tags for SLD
|
44 |
*
|
45 |
* @see http://portal.opengeospatial.org/files/?artifact_id=1188
|
46 |
*
|
47 |
* @author pepe vidal salvador - jose.vidal.salvador@iver.es
|
48 |
*/
|
49 |
public class SLDTags |
50 |
{ |
51 |
public final static String SLD_ROOT="StyledLayerDescriptor"; |
52 |
public final static String VERSION_ATTR="version"; |
53 |
|
54 |
public final static String NAMEDLAYER="NamedLayer"; |
55 |
public final static String USERDEFINEDLAYER="UserLayer"; |
56 |
public final static String NAME="Name"; |
57 |
public final static String TITLE ="Title"; |
58 |
public final static String ABSTRACT ="Abstract"; |
59 |
public final static String USERSTYLE ="UserStyle"; |
60 |
public final static String NAMEDSTYLE ="NamedStyle"; |
61 |
public final static String FEATURETYPESTYLE ="FeatureTypeStyle"; |
62 |
public final static String FEATURETYPENAME ="FeatureTypeName"; |
63 |
public final static String FEATURETYPECONSTRAINT = "FeatureTypeConstraint"; |
64 |
public final static String SEMANTICTYPEIDENTIFIER="SemanticTypeIdentifier"; |
65 |
public final static String RULE = "Rule"; |
66 |
public final static String FILTER = "Filter"; |
67 |
|
68 |
public final static String LITERAL = "Literal"; |
69 |
public static final String LITERAL_ATTR = "literal"; |
70 |
|
71 |
public static final String LINESYMBOLIZER = "LineSymbolizer"; |
72 |
public static final String POINTSYMBOLIZER = "PointSymbolizer"; |
73 |
public static final String TEXTSYMBOLIZER = "TextSymbolizer"; |
74 |
public static final String POLYGONSYMBOLIZER = "PolygonSymbolizer"; |
75 |
public static final String RASTERSYMBOLIZER = "RasterSymbolizer"; |
76 |
|
77 |
public static final String GEOMETRY = "Geometry"; |
78 |
public static final String CSSPARAMETER = "CssParameter"; |
79 |
public static final String NAME_ATTR = "name"; |
80 |
|
81 |
public static final String NAME_ATTR_VERSAL = "Name";//Ppara compatibilizar leyendas generadas con la 1.1.2 |
82 |
|
83 |
public static final String FILL = "Fill"; |
84 |
public static final String FILL_ATTR = "fill"; |
85 |
public static final String FILLOPACITY_ATTR = "fill-opacity"; |
86 |
|
87 |
public static final String STROKE = "Stroke"; |
88 |
public static final String STROKE_ATTR = "stroke"; |
89 |
public static final String STROKE_WIDTH_ATTR = "stroke-width"; |
90 |
public static final String STROKE_OPACITY_ATTR = "stroke-opacity"; |
91 |
|
92 |
|
93 |
public static final String SIZE = "Size"; |
94 |
public static final String ROTATION = "Rotation"; |
95 |
public static final String WIDTH = "Width"; |
96 |
public static final String MARK = "Mark"; |
97 |
|
98 |
public static final String GRAPHIC = "Graphic"; |
99 |
public static final String EXTERNALGRAPHIC = "ExternalGraphic"; |
100 |
public static final String LEGENDGRAPHIC = "LegendGraphic"; |
101 |
public static final String GRAPHICFILL = "GraphicFill"; |
102 |
public static final String GRAPHICSTROKE = "GraphicStroke"; |
103 |
|
104 |
public static final String LABEL = "Label"; |
105 |
public static final String LABELPLACEMENT = "LabelPlacement"; |
106 |
public static final String FONT = "Font"; |
107 |
public static final String FONTFAMILY_ATTR = "font-family"; |
108 |
public static final String FONTSTYLE_ATTR = "font-style"; |
109 |
public static final String FONTSIZE_ATTR = "font-size"; |
110 |
public static final String FONTWEIGHT_ATTR = "font-weight"; |
111 |
public static final String DISPLACEMENT_ATTR = "displacement"; |
112 |
|
113 |
public static final String WELLKNOWNNAME = "WellKnownName"; |
114 |
public static final String FORMAT = "Format"; |
115 |
|
116 |
public static final String OVERLAPBEHAVIOR = "OverlapBehavior"; |
117 |
public static final String OPACITY = "Opacity"; |
118 |
public static final String COLORMAP = "ColorMap"; |
119 |
public static final String MINSCALEDENOMINATOR = "MinScaleDenominator"; |
120 |
public static final String MAXSCALEDENOMINATOR = "MaxScaleDenominator"; |
121 |
public static final String ELSEFILTER = "ElseFilter"; |
122 |
public static final String HALO = "Halo"; |
123 |
public static final String PRIORITY_ATTR = "priority"; |
124 |
public static final String VENDOROPTION_ATTR = "vendoroption"; |
125 |
public static final String FID_ATTR = "fid"; |
126 |
public static final String LOWERBOUNDARY = "LowerBoundary"; |
127 |
public static final String UPPERBOUNDARY = "UpperBoundary"; |
128 |
public static final String WILDCARD_ATTR = "wildCard"; |
129 |
public static final String SINGLECHAR_ATTR = "singleChar"; |
130 |
public static final String ESCAPECHAR_ATTR = "escapeChar"; |
131 |
public static final String ESCAPE_ATTR = "escape"; |
132 |
|
133 |
public static final String ROTATION_ATTR = "rotation"; |
134 |
public static final String WIDTH_ATTR = "width"; |
135 |
public static final String LINECAP_ATTR = "linecap"; |
136 |
public static final String STROKE_LINECAP_ATTR = "stroke-linecap"; |
137 |
public static final String LINEJOIN_ATTR = "linejoin"; |
138 |
public static final String STROKE_LINEJOIN_ATTR = "stroke-linejoin"; |
139 |
public static final String DASHARRAY_ATTR = "dasharray"; |
140 |
public static final String STROKE_DASHARRAY_ATTR = "stroke-dasharray"; |
141 |
public static final String DASHOFFSET_ATTR = "dashoffset"; |
142 |
public static final String STROKE_DASHOFFSET_ATTR = "stroke-dashoffset"; |
143 |
|
144 |
public static final String LAYER_FEATURE_CONST = "LayerFeatureConstraints"; |
145 |
public static final String IS_DEFAULT = "IsDefault"; |
146 |
|
147 |
public static final String REMOTE_OWS = "RemoteOWS"; |
148 |
public static final String SERVICE = "Service"; |
149 |
public static final String ONLINE_RESOURCE = "OnlineResource"; |
150 |
public final static String XLINK_HREF ="xlink:href"; |
151 |
|
152 |
public static final String EXTENT = "Extent"; |
153 |
public static final String VALUE = "Value"; |
154 |
public static final String CSSPARAMETER_WIDTH = "CssParameter name=\"Stroke-width\""; |
155 |
public static final String PROPERTY_NAME = "PropertyName"; |
156 |
public static final String FUNCTION = "Function"; |
157 |
|
158 |
|
159 |
public static final String SQUARE = "square"; |
160 |
public static final String CIRCLE = "circle"; |
161 |
public static final String TRIANGLE = "triangle"; |
162 |
public static final String STAR = "star"; |
163 |
public static final String CROSS = "cross"; |
164 |
|
165 |
|
166 |
|
167 |
} |