org.vfny.geoserver.config
Class WFSConfig

java.lang.Object
  extended byorg.vfny.geoserver.config.ServiceConfig
      extended byorg.vfny.geoserver.config.WFSConfig

public class WFSConfig
extends ServiceConfig

WFS purpose.

Description of WFS Used to store WFS data.


Field Summary
static java.lang.String CONFIG_KEY
           
 
Constructor Summary
WFSConfig()
          WFS constructor.
WFSConfig(WFSDTO w)
          WFS constructor.
 
Method Summary
 java.util.Set getEnabledFeatures()
          DOCUMENT ME!
 boolean isGmlPrefixing()
          isGmlPrefixing purpose.
 void setEnabledFeatures(java.util.Set set)
          DOCUMENT ME!
 void setGmlPrefixing(boolean b)
          setGmlPrefixing purpose.
 WFSDTO toDTO()
          Implement toDTO.
 void update(WFSDTO dto)
          Implement loadDTO.
 
Methods inherited from class org.vfny.geoserver.config.ServiceConfig
getAbstract, getAccessConstraints, getFees, getKeywords, getMaintainer, getName, getOnlineResource, getTitle, isEnabled, setAbstract, setAccessConstraints, setEnabled, setFees, setKeywords, setMaintainer, setName, setOnlineResource, setTitle, toServDTO, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_KEY

public static final java.lang.String CONFIG_KEY
See Also:
Constant Field Values
Constructor Detail

WFSConfig

public WFSConfig()
WFS constructor.

Creates a WFS to represent an instance with default data.

See Also:
defaultSettings()

WFSConfig

public WFSConfig(WFSDTO w)
WFS constructor.

Creates a copy of the WFS provided. If the WFS provided is null then default values are used. All the data structures are cloned.

Parameters:
w - The WFS to copy.
Method Detail

update

public void update(WFSDTO dto)
Implement loadDTO.

Takes a WMSDTO and loads it into this WMSConfig Object

Parameters:
dto - an instance of WMSDTO
Throws:
java.lang.NullPointerException - DOCUMENT ME!
See Also:
org.vfny.geoserver.config.DataStructure#loadDTO(java.lang.Object)

toDTO

public WFSDTO toDTO()
Implement toDTO.

Returns a copy of the data in a ServiceDTO object

Returns:
a copy of the data in a ServiceDTO object
See Also:
org.vfny.geoserver.config.DataStructure#toDTO()

getEnabledFeatures

public java.util.Set getEnabledFeatures()
DOCUMENT ME!

Returns:

setEnabledFeatures

public void setEnabledFeatures(java.util.Set set)
DOCUMENT ME!

Parameters:
set -

isGmlPrefixing

public boolean isGmlPrefixing()
isGmlPrefixing purpose.

Description ...

Returns:

setGmlPrefixing

public void setGmlPrefixing(boolean b)
setGmlPrefixing purpose.

Description ...

Parameters:
b -