GeoPubby
Version 0.1.0.0
|
An object containing style definitions to apply on geospatial objects. More...
Public Member Functions | |
StyleObject () | |
StyleObject (String propertyNamespace) | |
String | toString () |
String | toJSON () |
Exports the StyleObject to JSON. More... | |
String | getCommonPrefixes () |
String | toRDF () |
String | toRDF (String target) |
String | conditionsToSHACL (String curind, String targetStyle) |
String | mapToCSS (Map< String, String > map) |
String | toHTML () |
Exports the StyleObject to HTML. More... | |
String | toXML () |
Exports the StyleObject to XML. More... | |
Public Attributes | |
String | pointStyle |
A point style definition in CSS. More... | |
String | pointImage |
An SVG definition oder an image path to indicate an icon for a point. More... | |
String | lineStringStyle |
A hatch definition in CSS. More... | |
String | lineStringImage |
An SVG definition oder an image path to indicate an icon for a LineString. More... | |
String | polygonStyle |
A Polygon style definition in CSS. More... | |
String | polygonImage |
An SVG definition oder an image path to indicate an icon for a Polygon. More... | |
String | hatch |
A hatch definition in CSS. More... | |
String | lineStringImageStyle |
A style definition of an image which is enclosed in a LineString. More... | |
String | rasterStyle |
A style definition of an image which is applied to a raster. More... | |
Map< String, String > | rasterColorMap =new TreeMap<String,String>() |
String | styleName |
An identifier of a given style. More... | |
String | styleId |
String | styleDescription |
A description of a given style. More... | |
String | popupStyle |
A style definition for the map popup. More... | |
String | textStyle |
A style definition for the map popup. More... | |
List< Condition > | conditions |
String | sldString ="" |
String | qmlString ="" |
Private Attributes | |
String | propertyNamespace ="" |
An object containing style definitions to apply on geospatial objects.
StyleObject | ( | ) |
StyleObject | ( | String | propertyNamespace | ) |
References StyleObject.propertyNamespace.
String conditionsToSHACL | ( | String | curind, |
String | targetStyle | ||
) |
References StyleObject.conditions.
Referenced by StyleObject.toRDF().
String getCommonPrefixes | ( | ) |
String mapToCSS | ( | Map< String, String > | map | ) |
Referenced by SLDParser.endElement().
String toHTML | ( | ) |
Exports the StyleObject to HTML.
References StyleObject.hatch, StyleObject.lineStringImage, StyleObject.lineStringImageStyle, StyleObject.lineStringStyle, StyleObject.pointImage, StyleObject.pointStyle, StyleObject.polygonImage, StyleObject.polygonStyle, StyleObject.popupStyle, StyleObject.styleDescription, and StyleObject.styleName.
String toJSON | ( | ) |
Exports the StyleObject to JSON.
References StyleObject.hatch, StyleObject.lineStringImage, StyleObject.lineStringImageStyle, StyleObject.lineStringStyle, StyleObject.pointImage, StyleObject.pointStyle, StyleObject.polygonImage, StyleObject.polygonStyle, StyleObject.popupStyle, and StyleObject.styleName.
String toRDF | ( | ) |
Referenced by SLDParser.main().
String toRDF | ( | String | target | ) |
References StyleObject.conditionsToSHACL(), StyleObject.hatch, StyleObject.lineStringImage, StyleObject.lineStringImageStyle, StyleObject.lineStringStyle, StyleObject.pointImage, StyleObject.pointStyle, StyleObject.polygonImage, StyleObject.polygonStyle, StyleObject.popupStyle, StyleObject.propertyNamespace, StyleObject.qmlString, and StyleObject.sldString.
String toString | ( | ) |
References StyleObject.hatch, StyleObject.lineStringImage, StyleObject.lineStringStyle, StyleObject.pointImage, StyleObject.pointStyle, StyleObject.polygonImage, StyleObject.polygonStyle, StyleObject.popupStyle, StyleObject.rasterColorMap, StyleObject.styleId, and StyleObject.styleName.
String toXML | ( | ) |
Exports the StyleObject to XML.
References StyleObject.hatch, StyleObject.lineStringImage, StyleObject.lineStringImageStyle, StyleObject.lineStringStyle, StyleObject.pointImage, StyleObject.pointStyle, StyleObject.polygonImage, StyleObject.polygonStyle, StyleObject.popupStyle, and StyleObject.styleName.
List<Condition> conditions |
Referenced by StyleObject.conditionsToSHACL(), and SLDParser.endElement().
String hatch |
A hatch definition in CSS.
Referenced by GeoJSONCSSFormatter.formatGeometry(), GeoModelWriter.handleStyle(), StyleObject.toHTML(), StyleObject.toJSON(), StyleObject.toRDF(), StyleObject.toString(), and StyleObject.toXML().
String lineStringImage |
An SVG definition oder an image path to indicate an icon for a LineString.
Referenced by GeoJSONCSSFormatter.formatGeometry(), GeoModelWriter.handleStyle(), StyleObject.toHTML(), StyleObject.toJSON(), StyleObject.toRDF(), StyleObject.toString(), and StyleObject.toXML().
String lineStringImageStyle |
A style definition of an image which is enclosed in a LineString.
Referenced by GeoModelWriter.handleStyle(), StyleObject.toHTML(), StyleObject.toJSON(), StyleObject.toRDF(), and StyleObject.toXML().
String lineStringStyle |
A hatch definition in CSS.
Referenced by SLDParser.endElement(), GeoJSONCSSFormatter.formatGeometry(), KMLStyleFormatter.formatGeometry(), GeoModelWriter.handleStyle(), StyleObject.toHTML(), StyleObject.toJSON(), StyleObject.toRDF(), StyleObject.toString(), and StyleObject.toXML().
String pointImage |
An SVG definition oder an image path to indicate an icon for a point.
Referenced by GeoJSONCSSFormatter.formatGeometry(), KMLStyleFormatter.formatGeometry(), GeoModelWriter.handleStyle(), StyleObject.toHTML(), StyleObject.toJSON(), StyleObject.toRDF(), StyleObject.toString(), and StyleObject.toXML().
String pointStyle |
A point style definition in CSS.
Referenced by SLDParser.endElement(), GeoJSONCSSFormatter.formatGeometry(), KMLStyleFormatter.formatGeometry(), GeoModelWriter.handleStyle(), StyleObject.toHTML(), StyleObject.toJSON(), StyleObject.toRDF(), StyleObject.toString(), and StyleObject.toXML().
String polygonImage |
An SVG definition oder an image path to indicate an icon for a Polygon.
Referenced by GeoJSONCSSFormatter.formatGeometry(), GeoModelWriter.handleStyle(), StyleObject.toHTML(), StyleObject.toJSON(), StyleObject.toRDF(), StyleObject.toString(), and StyleObject.toXML().
String polygonStyle |
A Polygon style definition in CSS.
Referenced by SLDParser.endElement(), GeoJSONCSSFormatter.formatGeometry(), KMLStyleFormatter.formatGeometry(), GeoModelWriter.handleStyle(), StyleObject.toHTML(), StyleObject.toJSON(), StyleObject.toRDF(), StyleObject.toString(), and StyleObject.toXML().
String popupStyle |
A style definition for the map popup.
Referenced by AbstractGeoJSONWriter.prepareGeoJSONString(), StyleObject.toHTML(), StyleObject.toJSON(), StyleObject.toRDF(), StyleObject.toString(), and StyleObject.toXML().
|
private |
Referenced by StyleObject.StyleObject(), and StyleObject.toRDF().
String qmlString ="" |
Referenced by StyleObject.toRDF().
Map<String,String> rasterColorMap =new TreeMap<String,String>() |
Referenced by StyleObject.toString().
String rasterStyle |
A style definition of an image which is applied to a raster.
String sldString ="" |
Referenced by StyleObject.toRDF().
String styleDescription |
A description of a given style.
Referenced by StyleObject.toHTML().
String styleId |
String styleName |
An identifier of a given style.
Referenced by SLDParser.characters(), GeoJSONCSSFormatter.formatForWebView(), GeoModelWriter.handleStyle(), StyleObject.toHTML(), StyleObject.toJSON(), StyleObject.toString(), and StyleObject.toXML().
String textStyle |
A style definition for the map popup.