public class SLDUtils100
extends java.lang.Object
Constructor and Description |
---|
SLDUtils100() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.Object> |
getAllStyle(java.io.InputStream sldStream)
Gets all StyleElement(NamedStyle/UserStyle) from the incoming SLD
|
static java.util.List<java.lang.Object> |
getNamedLayerUserLayerList(java.io.InputStream sldStream)
Gets the NamedLayer and UserLayer according to the incoming SLD
|
static java.lang.Object |
getStyleFromUserStyleElement(UserStyleElement userStyleElement, double dpi)
Gets Style and Theme from (1.0.0)UserStyleElement
|
static SymbolizerType |
getSymbolizerType(java.io.InputStream sldStream)
Gets the Symbolizer object from SLD
|
static UserStyleElement |
getUserStyleElement(java.io.InputStream sldStream)
Gets the first UserStyle object from the SLD file
|
public static SymbolizerType getSymbolizerType(java.io.InputStream sldStream)
Gets the Symbolizer object from SLD
Gets the SymbolizerType object from the incoming SLD file. If there serveral UserStyle, it will search the first SymbolizerType of UserStyle in SLD.
sldStream
- SLD filepublic static UserStyleElement getUserStyleElement(java.io.InputStream sldStream)
Gets the first UserStyle object from the SLD file
put away
sldStream
- SLD filepublic static java.lang.Object getStyleFromUserStyleElement(UserStyleElement userStyleElement, double dpi)
Gets Style and Theme from (1.0.0)UserStyleElement
The sources of incoming UserStyleElement should be method of SLDUtils. It will fail if get PropertyName field of themetic map by Schema of 1.0.0 version. The method of SLDUtils100 is to store this field into FeatureTypeName. So this method is to get PropertyName from FeatureTypeName.
userStyleElement
- The UserStyleElement object to be resolvedpublic static java.util.List<java.lang.Object> getNamedLayerUserLayerList(java.io.InputStream sldStream)
sldStream
- SLD filepublic static java.util.List<java.lang.Object> getAllStyle(java.io.InputStream sldStream)
Gets all StyleElement(NamedStyle/UserStyle) from the incoming SLD
sldStream
- The incoming SLD object