|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.vfny.geoserver.config.NameSpaceConfig
NameSpaceConfig purpose.
Represents the portion of a namespace required for the configuration of geoserver. Defines namespaces to be used by the datastores.
Constructor Summary | |
NameSpaceConfig()
NameSpaceConfig constructor. |
|
NameSpaceConfig(NameSpaceInfoDTO ns)
NameSpaceConfig constructor. |
Method Summary | |
java.lang.String |
getPrefix()
getPrefix purpose. |
java.lang.String |
getUri()
getUri purpose. |
boolean |
isDefault()
isDefault purpose. |
void |
setDefault(boolean b)
setDdefault purpose. |
void |
setPrefix(java.lang.String string)
setPrefix purpose. |
void |
setUri(java.lang.String string)
setUri purpose. |
NameSpaceInfoDTO |
toDTO()
Implement toDTO. |
void |
update(NameSpaceInfoDTO dto)
Implement loadDTO. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NameSpaceConfig()
Creates a NameSpaceConfig to represent an instance with default data.
defaultSettings()
public NameSpaceConfig(NameSpaceInfoDTO ns)
Creates a copy of the NameSpaceConfig provided. If the NameSpaceConfig provided is null then default values are used. All the data structures are cloned.
ns
- The namespace to copy.
java.lang.NullPointerException
- DOCUMENT ME!Method Detail |
public void update(NameSpaceInfoDTO dto)
Imports the data contained in the NameSpaceInfoDTO object provided.
dto
- An NameSpaceInfoDTO object
java.lang.NullPointerException
- DOCUMENT ME!org.vfny.geoserver.config.DataStructure#loadDTO(java.lang.Object)
public NameSpaceInfoDTO toDTO()
Creates a DTO representation of this Object as a NameSpaceInfoDTO
org.vfny.geoserver.config.DataStructure#toDTO()
public boolean isDefault()
Description ...
public java.lang.String getPrefix()
Description ...
public java.lang.String getUri()
Description ...
public void setDefault(boolean b)
Description ...
b
- public void setPrefix(java.lang.String string)
Description ...
string
- public void setUri(java.lang.String string)
Description ...
string
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |