| org.vfny.geoserver.global.Service org.geoserver.wfs.WFS
WFS | public class WFS extends org.vfny.geoserver.global.Service (Code) | | WFS
Represents the GeoServer information required to configure an instance of
the WFS Server. This class holds the currently used configuration and is
instantiated initially by the GeoServerPlugIn at start-up, but may be
modified by the Configuration Interface during runtime. Such modifications
come from the GeoServer Object in the SessionContext.
WFS wfs = new WFS(dto); System.out.println(wfs.getName());
System.out.println(wfs.getAbstract());
author: Gabriel Rold???n author: Chris Holmes author: Justin Deoliveira version: $Id: WFS.java 7731 2007-11-10 02:52:30Z groldan $ |
Method Summary | |
public boolean | getCiteConformanceHacks() | public int | getServiceLevel() Access serviceLevel property. | public String | getSrsPrefix() Gets the prefix for the srs name, based on the SrsXmlStyle property. | public GeoValidator | getValidation() Access gv property. | public boolean | isFeatureBounding() Returns whether the gml returned by getFeature includes an
auto-calculated bounds element on each feature or not. | public boolean | isSrsXmlStyle() Whether the srs xml attribute should be in the EPSG:4326 (non-xml)
style, or in the http://www.opengis.net/gml/srs/epsg.xml#4326 style. | public void | load(WFSDTO config) load purpose. | public void | setCiteConformanceHacks(boolean on) turn on/off the citeConformanceHacks option. | public void | setFeatureBounding(boolean featureBounding) Sets whether the gml returned by getFeature includes an auto-calculated
bounds element on each feature or not. | public void | setServiceLevel(int serviceLevel) Sets serviceLevel property. | public void | setSrsXmlStyle(boolean doXmlStyle) Sets whether the srs xml attribute should be in the EPSG:4326 (non-xml)
style, or in the http://www.opengis.net/gml/srs/epsg.xml#4326 style. | void | setValidation(GeoValidator gv) Set gv to gv. | public Object | toDTO() Implement toDTO.
Package method used by GeoServer. |
BASIC | final public static int BASIC(Code) | | ServiceLevel mask equivilent to basic WFS conformance
|
COMPLETE | final public static int COMPLETE(Code) | | ServiceLevel mask equivilent to complete WFS conformance
|
SERVICE_BASIC | final public static int SERVICE_BASIC(Code) | | ServiceLevel bit used to indicate Basic support
|
SERVICE_DELETE | final public static int SERVICE_DELETE(Code) | | ServiceLevel bit used to indicate Transaction Delete support
|
SERVICE_INSERT | final public static int SERVICE_INSERT(Code) | | ServiceLevel bit used to indicate Transaction Insert support
|
SERVICE_LOCKING | final public static int SERVICE_LOCKING(Code) | | ServiceLevel bit used to indicate Locking support
|
SERVICE_UPDATE | final public static int SERVICE_UPDATE(Code) | | ServiceLevel bit used to indicate Transaction Update support
|
TRANSACTIONAL | final public static int TRANSACTIONAL(Code) | | ServiceLevel mask for transactional WFS conformance.
|
WEB_CONTAINER_KEY | final public static String WEB_CONTAINER_KEY(Code) | | web container key
|
WFS | public WFS(WFSDTO config)(Code) | | WFS constructor.
Stores the data specified in the WFSDTO object in this WFS Object for
GeoServer to use.
Parameters: config - The data intended for GeoServer to use. |
getCiteConformanceHacks | public boolean getCiteConformanceHacks()(Code) | | get the current value of the citeConformanceHacks
|
getServiceLevel | public int getServiceLevel()(Code) | | Access serviceLevel property.
Returns the serviceLevel. |
getSrsPrefix | public String getSrsPrefix()(Code) | | Gets the prefix for the srs name, based on the SrsXmlStyle property. If
srsXmlStyle is true then it is of the xml style, if false then
it is EPSG: style. More apps seem to like the EPSG: style, but the
specs seem to lean more to the xml type. The xml style should actually
be more complete, with online lookups for the URI's, but I've seen no
real online srs services.
http://www.opengis.net/gml/srs/epsg.xml# if srsXmlStyleis true, EPSG: if false |
getValidation | public GeoValidator getValidation()(Code) | | Access gv property.
Returns the gv. |
isFeatureBounding | public boolean isFeatureBounding()(Code) | | Returns whether the gml returned by getFeature includes an
auto-calculated bounds element on each feature or not.
true if the gml features will have boundedByautomatically generated. |
isSrsXmlStyle | public boolean isSrsXmlStyle()(Code) | | Whether the srs xml attribute should be in the EPSG:4326 (non-xml)
style, or in the http://www.opengis.net/gml/srs/epsg.xml#4326 style.
true if the srs is reported with the xml style |
load | public void load(WFSDTO config)(Code) | | load purpose.
Loads a new data set into this object.
Parameters: config - |
setCiteConformanceHacks | public void setCiteConformanceHacks(boolean on)(Code) | | turn on/off the citeConformanceHacks option.
Parameters: on - |
setFeatureBounding | public void setFeatureBounding(boolean featureBounding)(Code) | | Sets whether the gml returned by getFeature includes an auto-calculated
bounds element on each feature or not.
Parameters: featureBounding - true if gml features should haveboundedBy automatically generated. |
setServiceLevel | public void setServiceLevel(int serviceLevel)(Code) | | Sets serviceLevel property.
Parameters: serviceLevel - The new service level. |
setSrsXmlStyle | public void setSrsXmlStyle(boolean doXmlStyle)(Code) | | Sets whether the srs xml attribute should be in the EPSG:4326 (non-xml)
style, or in the http://www.opengis.net/gml/srs/epsg.xml#4326 style.
Parameters: doXmlStyle - whether the srs style should be xml or not. |
setValidation | void setValidation(GeoValidator gv)(Code) | | Set gv to gv.
Parameters: gv - The gv to set. |
toDTO | public Object toDTO()(Code) | | Implement toDTO.
Package method used by GeoServer. This method may return references, and
does not clone, so extreme caution sould be used when traversing the
results.
WFSDTO An instance of the data this class represents. Please seeCaution Above. See Also: org.vfny.geoserver.global.GlobalLayerSupertype.toDTO See Also: WFSDTO |
|
|