public class GSLayerGroupEncoder extends PropertyXMLEncoder
| Modifier and Type | Field and Description |
|---|---|
protected org.jdom.Element |
boundsElem |
protected org.jdom.Element |
nameElem |
protected org.jdom.Element |
publishablesElem |
protected org.jdom.Element |
stylesElem |
protected org.jdom.Element |
workspaceElem |
| Constructor and Description |
|---|
GSLayerGroupEncoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLayer(String layer) |
void |
addLayer(String layer,
String styleName) |
protected void |
addToRoot(org.jdom.Element... elements) |
protected org.jdom.Element |
elem(String tag,
org.jdom.Element... children) |
protected org.jdom.Element |
elem(String tag,
String text) |
protected org.jdom.Element |
elem(String tag,
String attributeName,
String attributeValue) |
protected void |
initPublishables(String publishablesTag) |
void |
setBounds(String crs,
double minx,
double maxx,
double miny,
double maxy) |
void |
setName(String name) |
void |
setWorkspace(String workspace) |
String |
toString() |
add, createElementWithAttribute, get, get, setadd, addContent, getRoot, isEmpty, remove, set, setRoot, setRootprotected org.jdom.Element nameElem
protected org.jdom.Element workspaceElem
protected org.jdom.Element boundsElem
protected org.jdom.Element publishablesElem
protected org.jdom.Element stylesElem
public void setWorkspace(String workspace)
public void setName(String name)
public void addLayer(String layer)
public void setBounds(String crs, double minx, double maxx, double miny, double maxy)
protected void initPublishables(String publishablesTag)
protected void addToRoot(org.jdom.Element... elements)
protected org.jdom.Element elem(String tag, org.jdom.Element... children)
public String toString()
toString in class XmlElementCopyright © 2007–2016 PDOK. All rights reserved.