it.geosolutions.geoserver.rest.encoder
Class GSLayerGroupEncoder
java.lang.Object
it.geosolutions.geoserver.rest.encoder.utils.XmlElement
it.geosolutions.geoserver.rest.encoder.utils.PropertyXMLEncoder
it.geosolutions.geoserver.rest.encoder.GSLayerGroupEncoder
- Direct Known Subclasses:
- GSLayerGroupEncoder23
public class GSLayerGroupEncoder
- extends PropertyXMLEncoder
LayerGroup encoder for GeoServer < 2.3
- Author:
- Davide Savazzi (geo-solutions.it)
nameElem
protected org.jdom.Element nameElem
workspaceElem
protected org.jdom.Element workspaceElem
boundsElem
protected org.jdom.Element boundsElem
publishablesElem
protected org.jdom.Element publishablesElem
stylesElem
protected org.jdom.Element stylesElem
GSLayerGroupEncoder
public GSLayerGroupEncoder()
setWorkspace
public void setWorkspace(String workspace)
setName
public void setName(String name)
addLayer
public void addLayer(String layer)
addLayer
public void addLayer(String layer,
String styleName)
setBounds
public void setBounds(String crs,
double minx,
double maxx,
double miny,
double maxy)
initPublishables
protected void initPublishables(String publishablesTag)
addToRoot
protected void addToRoot(org.jdom.Element... elements)
elem
protected org.jdom.Element elem(String tag,
String attributeName,
String attributeValue)
elem
protected org.jdom.Element elem(String tag,
String text)
elem
protected org.jdom.Element elem(String tag,
org.jdom.Element... children)
toString
public String toString()
- Overrides:
toString
in class XmlElement
- Returns:
- an xml String
Copyright © 2007-2013 GeoSolutions. All Rights Reserved.