public class SLDImporter
extends java.lang.Object
SLDImporter
Modifier and Type | Class and Description |
---|---|
static interface |
SLDImporter.FillStyle
FillStyle |
static interface |
SLDImporter.SizedStrokeFillStyle
SizedStrokeFillStyle |
static interface |
SLDImporter.SizedStyle
SizedStyle |
static interface |
SLDImporter.StrokeFillStyle
StrokeFillStyle |
static interface |
SLDImporter.StrokeStyle
StrokeStyle |
Modifier and Type | Field and Description |
---|---|
static javax.xml.namespace.NamespaceContext |
NSCONTEXT
Namespace context with sld and ogc namespaces.
|
static java.lang.String |
OGCNS
The OGC namespace URI.
|
static java.lang.String |
SLDNS
The SLD namespace URI.
|
Constructor and Description |
---|
SLDImporter() |
Modifier and Type | Method and Description |
---|---|
static BasicStyle |
getBasicStyle(org.w3c.dom.Element rule)
Ignores any filters, and uses the information from Point-, Line- and
PolygonSymbolizers.
|
static BasicStyle |
getBasicStyle(java.lang.String name,
org.w3c.dom.Document doc) |
static ColorThemingStyle |
getColorThemingStyle(java.lang.String name,
org.w3c.dom.Document doc) |
static LabelStyle |
getLabelStyle(java.lang.String name,
org.w3c.dom.Document doc)
Converts a TextSymbolizer.
|
static java.util.LinkedList<java.lang.String> |
getPossibleColorThemingStyleNames(org.w3c.dom.Document doc) |
static java.util.LinkedList<java.lang.String> |
getRuleNames(org.w3c.dom.Document doc) |
static java.util.LinkedList<java.lang.String> |
getRuleNamesWithGeometrySymbolizers(org.w3c.dom.Document doc) |
static java.util.LinkedList<java.lang.String> |
getRuleNamesWithTextSymbolizers(org.w3c.dom.Document doc) |
static VertexStyle |
getVertexStyle(java.lang.String name,
org.w3c.dom.Document doc) |
public static final java.lang.String SLDNS
public static final java.lang.String OGCNS
public static final javax.xml.namespace.NamespaceContext NSCONTEXT
public static java.util.LinkedList<java.lang.String> getRuleNames(org.w3c.dom.Document doc)
doc
- public static java.util.LinkedList<java.lang.String> getRuleNamesWithGeometrySymbolizers(org.w3c.dom.Document doc)
doc
- public static java.util.LinkedList<java.lang.String> getPossibleColorThemingStyleNames(org.w3c.dom.Document doc)
doc
- public static java.util.LinkedList<java.lang.String> getRuleNamesWithTextSymbolizers(org.w3c.dom.Document doc)
doc
- public static BasicStyle getBasicStyle(java.lang.String name, org.w3c.dom.Document doc)
name
- doc
- getBasicStyle(Element)
public static BasicStyle getBasicStyle(org.w3c.dom.Element rule)
rule
- public static VertexStyle getVertexStyle(java.lang.String name, org.w3c.dom.Document doc)
name
- doc
- public static LabelStyle getLabelStyle(java.lang.String name, org.w3c.dom.Document doc)
name
- doc
- public static ColorThemingStyle getColorThemingStyle(java.lang.String name, org.w3c.dom.Document doc)
name
- the name of the feature type styledoc
-