deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices.wass.wss.configuration
Class WSSConfigurationDocument

java.lang.Object
  extended by org.deegree.framework.xml.XMLFragment
      extended by org.deegree.ogcbase.OGCDocument
          extended by org.deegree.ogcwebservices.getcapabilities.OGCCapabilitiesDocument
              extended by org.deegree.owscommon.OWSCommonCapabilitiesDocument
                  extended by org.deegree.ogcwebservices.wass.common.OWSCapabilitiesBaseDocument_1_0
                      extended by org.deegree.ogcwebservices.wass.wss.capabilities.WSSCapabilitiesDocument
                          extended by org.deegree.ogcwebservices.wass.wss.configuration.WSSConfigurationDocument
All Implemented Interfaces:
java.io.Serializable

public class WSSConfigurationDocument
extends WSSCapabilitiesDocument

This class is called from the WSServiceFactory to read a configuration xml file. This file consains all the capabilities this Web Security Service is able to. The standard calling procedure is new WSSConfigurationDocument().getConfiguration( url_to_file ). This method returns the "bean" in form of a WSSConfiguration class, which can be queried for it's values.

Since:
2.0
Version:
2.0, $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Rutger Bezema, last edited by: $Author: mschneider $
See Also:
WSSConfiguration, Serialized Form

Field Summary
 
Fields inherited from class org.deegree.ogcwebservices.wass.wss.capabilities.WSSCapabilitiesDocument
XML_TEMPLATE
 
Fields inherited from class org.deegree.owscommon.OWSCommonCapabilitiesDocument
ALL_NAME, CONTENTS_NAME, OGCNS, OPERATIONS_METADATA_NAME, OWSNS, SERVICE_IDENTIFICATION_NAME, SERVICE_PROVIDER_NAME
 
Fields inherited from class org.deegree.ogcbase.OGCDocument
GMLNS
 
Fields inherited from class org.deegree.framework.xml.XMLFragment
DEFAULT_URL, nsContext, XLNNS
 
Constructor Summary
WSSConfigurationDocument()
           
 
Method Summary
 WSSConfiguration parseConfiguration(java.net.URL serviceConfigurationUrl)
          Loads the configuration file located at the given urls location.
 
Methods inherited from class org.deegree.ogcwebservices.wass.wss.capabilities.WSSCapabilitiesDocument
createEmptyDocument, parseCapabilities, parseSecuredServiceType
 
Methods inherited from class org.deegree.ogcwebservices.wass.common.OWSCapabilitiesBaseDocument_1_0
createEmptyDocument, parseOperation, parseOperationsMetadata, parseServiceIdentification, parseServiceProvider, parseSupportedAuthenticationMethods
 
Methods inherited from class org.deegree.owscommon.OWSCommonCapabilitiesDocument
getCodeType, getContraints, getDCP, getDCPs, getKeywords, getKeywords, getOperation, getOWSDomainType, getServiceIdentification, getServiceProvider, getWGS84BoundingBoxType
 
Methods inherited from class org.deegree.ogcwebservices.getcapabilities.OGCCapabilitiesDocument
parseAddress, parseMetadataLink, parsePhone, parseUpdateSequence, parseVersion
 
Methods inherited from class org.deegree.ogcbase.OGCDocument
parseCodeList, parseCodeListArray, parseExtendedPropertyPath, parseInterval, parseKeywords, parseKeywords, parseLonLatEnvelope, parseOnLineResource, parsePropertyPath, parseTimePeriod, parseTimePeriods, parseTimePositions, parseTimeSequence, parseTypedLiteral, parseValues
 
Methods inherited from class org.deegree.framework.xml.XMLFragment
getAsPrettyString, getAsString, getAttachedSchemas, getQualifiedName, getRootElement, getSystemId, hasSchema, load, load, load, parseQualifiedName, parseSimpleLink, prettyPrint, prettyPrint, resolve, setRootElement, setSystemId, setSystemId, toString, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WSSConfigurationDocument

public WSSConfigurationDocument()
Method Detail

parseConfiguration

public WSSConfiguration parseConfiguration(java.net.URL serviceConfigurationUrl)
                                    throws InvalidConfigurationException,
                                           InvalidCapabilitiesException
Loads the configuration file located at the given urls location.

Parameters:
serviceConfigurationUrl - the url to the configuration file
Returns:
a WSSConfiguration which is a "bean" representation of the configuration xml document
Throws:
InvalidConfigurationException - if an error occrur either with opening or parsing the xml configuration file.
InvalidCapabilitiesException

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org