org.deegree.ogcwebservices.wass.wss.configuration
Class WSSConfigurationDocument
java.lang.Object
org.deegree.framework.xml.XMLFragment
org.deegree.ogcbase.OGCDocument
org.deegree.ogcwebservices.getcapabilities.OGCCapabilitiesDocument
org.deegree.owscommon.OWSCommonCapabilitiesDocument
org.deegree.ogcwebservices.wass.common.OWSCapabilitiesBaseDocument_1_0
org.deegree.ogcwebservices.wass.wss.capabilities.WSSCapabilitiesDocument
org.deegree.ogcwebservices.wass.wss.configuration.WSSConfigurationDocument
- All Implemented Interfaces:
- 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: 9345 $, $Date: 2007-12-27 17:22:25 +0100 (Do, 27 Dez 2007) $
- Author:
- Rutger Bezema, last edited by: $Author: apoth $
- See Also:
WSSConfiguration
,
Serialized Form
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.ogcbase.OGCDocument |
parseCodeList, parseCodeListArray, 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 |
WSSConfigurationDocument
public WSSConfigurationDocument()
parseConfiguration
public WSSConfiguration parseConfiguration(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
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net