RESTLayer: provide workspace info in default style. Close #100.

This commit is contained in:
etj 2013-10-08 11:36:08 +02:00
parent 2b69e1dcb3
commit 3c502c5f58

View File

@ -114,6 +114,11 @@ public class RESTLayer {
return defaultStyle == null? null : defaultStyle.getChildText("name");
}
public String getDefaultStyleWorkspace() {
Element defaultStyle = layerElem.getChild("defaultStyle");
return defaultStyle == null? null : defaultStyle.getChildText("workspace");
}
public String getTitle() {
Element resource = layerElem.getChild("resource");
return resource.getChildText("title");