it.geosolutions.geoserver.rest.encoder
Class GSWorkspaceEncoder

java.lang.Object
  extended by it.geosolutions.geoserver.rest.encoder.utils.XmlElement
      extended by it.geosolutions.geoserver.rest.encoder.utils.PropertyXMLEncoder
          extended by it.geosolutions.geoserver.rest.encoder.GSWorkspaceEncoder

public class GSWorkspaceEncoder
extends PropertyXMLEncoder

Author:
ETj (etj at geo-solutions.it), Carlo Cancellieri - carlo.cancellieri@geo-solutions.it

Field Summary
static String NAME
           
static String WORKSPACE
           
 
Constructor Summary
GSWorkspaceEncoder()
           
GSWorkspaceEncoder(String name)
           
 
Method Summary
protected  void addName(String name)
          Add the name to this workspace
 String getName()
           
 void setName(String name)
          add or change (if already set) the workspace name
 
Methods inherited from class it.geosolutions.geoserver.rest.encoder.utils.PropertyXMLEncoder
add, get, get, set
 
Methods inherited from class it.geosolutions.geoserver.rest.encoder.utils.XmlElement
add, addContent, getRoot, isEmpty, remove, set, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WORKSPACE

public static final String WORKSPACE
See Also:
Constant Field Values

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

GSWorkspaceEncoder

public GSWorkspaceEncoder()

GSWorkspaceEncoder

public GSWorkspaceEncoder(String name)
Parameters:
name - the workspace name
Method Detail

addName

protected void addName(String name)
Add the name to this workspace

Parameters:
name -
Throws:
IllegalStateException - if name is already set

setName

public void setName(String name)
add or change (if already set) the workspace name

Parameters:
name -

getName

public String getName()


Copyright © 2007-2013 GeoSolutions. All Rights Reserved.