Class StyleUtils
- java.lang.Object
-
- org.gcube.spatial.data.gis.symbology.StyleUtils
-
public class StyleUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static TransformerFactoryfactoryprotected static org.opengis.filter.FilterFactoryFFprotected static org.geotoolkit.style.MutableStyleFactorySFprotected static org.geotoolkit.sld.MutableSLDFactorySLDFprotected static Transformertransformerprotected static org.geotoolkit.sld.xml.XMLUtilitiesutilsprotected static XPathFactoryxpf
-
Constructor Summary
Constructors Constructor Description StyleUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StringcreateStyle(String nameStyle, String attributeName, int maxClasses, Color c1, Color c2, Class typeValue, Object maxValue, Object minValue)Deprecated.static StringcreateStyle(String nameStyle, String attributeName, int maxClasses, Color c1, Color c2, Class typeValue, Object maxValue, Object minValue, GeometryType geometryType)static StringcreateStyle(String nameStyle, String attributeName, ArrayList<ClassStyleDef> classes, Color c1, Color c2)Deprecated.static StringcreateStyle(String nameStyle, String attributeName, ArrayList<ClassStyleDef> classes, Color c1, Color c2, GeometryType geometryType)static StringcreateStyleLog(String nameStyle, String attributeName, int maxClasses, Color c1, Color c2, Class typeValue, Object maxValue, Object minValue)Deprecated.static StringcreateStyleLog(String nameStyle, String attributeName, int maxClasses, Color c1, Color c2, Class typeValue, Object maxValue, Object minValue, GeometryType geometryType)static StringcreateStyleLogScatterColors(String nameStyle, String attributeName, int nClasses, Class typeValue, Object maxValue, Object minValue)Deprecated.static StringcreateStyleLogScatterColors(String nameStyle, String attributeName, int nClasses, Class typeValue, Object maxValue, Object minValue, GeometryType geometryType)static StringcreateStyleScatterColors(String nameStyle, String attributeName, int nClasses, Class typeValue, Object maxValue, Object minValue)Deprecated.static StringcreateStyleScatterColors(String nameStyle, String attributeName, int nClasses, Class typeValue, Object maxValue, Object minValue, GeometryType geometryType)static ArrayList<Color>scatterColor(int nColors)
-
-
-
Field Detail
-
FF
protected static final org.opengis.filter.FilterFactory FF
-
SLDF
protected static final org.geotoolkit.sld.MutableSLDFactory SLDF
-
SF
protected static final org.geotoolkit.style.MutableStyleFactory SF
-
utils
protected static org.geotoolkit.sld.xml.XMLUtilities utils
-
factory
protected static final TransformerFactory factory
-
xpf
protected static final XPathFactory xpf
-
transformer
protected static Transformer transformer
-
-
Method Detail
-
createStyle
@Deprecated public static String createStyle(String nameStyle, String attributeName, int maxClasses, Color c1, Color c2, Class typeValue, Object maxValue, Object minValue) throws Exception
Deprecated.- Throws:
Exception
-
createStyleLog
@Deprecated public static String createStyleLog(String nameStyle, String attributeName, int maxClasses, Color c1, Color c2, Class typeValue, Object maxValue, Object minValue) throws Exception
Deprecated.- Throws:
Exception
-
createStyleScatterColors
@Deprecated public static String createStyleScatterColors(String nameStyle, String attributeName, int nClasses, Class typeValue, Object maxValue, Object minValue) throws Exception
Deprecated.- Throws:
Exception
-
createStyleLogScatterColors
@Deprecated public static String createStyleLogScatterColors(String nameStyle, String attributeName, int nClasses, Class typeValue, Object maxValue, Object minValue) throws Exception
Deprecated.- Throws:
Exception
-
createStyle
@Deprecated public static String createStyle(String nameStyle, String attributeName, ArrayList<ClassStyleDef> classes, Color c1, Color c2) throws Exception
Deprecated.- Throws:
Exception
-
createStyle
public static String createStyle(String nameStyle, String attributeName, int maxClasses, Color c1, Color c2, Class typeValue, Object maxValue, Object minValue, GeometryType geometryType) throws Exception
- Throws:
Exception
-
createStyleLog
public static String createStyleLog(String nameStyle, String attributeName, int maxClasses, Color c1, Color c2, Class typeValue, Object maxValue, Object minValue, GeometryType geometryType) throws Exception
- Throws:
Exception
-
createStyleScatterColors
public static String createStyleScatterColors(String nameStyle, String attributeName, int nClasses, Class typeValue, Object maxValue, Object minValue, GeometryType geometryType) throws Exception
- Throws:
Exception
-
createStyleLogScatterColors
public static String createStyleLogScatterColors(String nameStyle, String attributeName, int nClasses, Class typeValue, Object maxValue, Object minValue, GeometryType geometryType) throws Exception
- Throws:
Exception
-
createStyle
public static String createStyle(String nameStyle, String attributeName, ArrayList<ClassStyleDef> classes, Color c1, Color c2, GeometryType geometryType) throws Exception
- Throws:
Exception
-
-