org.deegree.portal.owswatch
Class ServicesConfigurationFactory
java.lang.Object
org.deegree.portal.owswatch.ServicesConfigurationFactory
- All Implemented Interfaces:
- java.io.Serializable
public class ServicesConfigurationFactory
- extends java.lang.Object
- implements java.io.Serializable
This class is used to parse the services as services.xml. This xml file includes all services to be tested
- Version:
- $Revision: 20271 $, $Date: 2009-10-21 13:07:15 +0200 (Mi, 21 Okt 2009) $
- Author:
- Moataz Elmasry, last edited by: $Author: jmays $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServicesConfigurationFactory
public ServicesConfigurationFactory()
parseServices
public java.util.List<ServiceConfiguration> parseServices(java.lang.String url)
throws XMLParsingException,
java.io.IOException
- Parses a list of ServiceConfiguration from the given xml file
- Parameters:
url
-
- Returns:
- List of ServiceMonitor. These are the parsed services
- Throws:
XMLParsingException
java.io.IOException
parseService
public ServiceConfiguration parseService(org.w3c.dom.Node serviceNode,
java.lang.String prefix)
throws XMLParsingException,
ConfigurationsException
- Takes in a service Node and parses it.
- Parameters:
serviceNode
- xml node as an example refer to services.xmlprefix
-
- Returns:
- ServiceConfiguration
- Throws:
XMLParsingException
ConfigurationsException
getCnxt
public static NamespaceContext getCnxt()
- Returns:
- deegree NameSpacecontext plus the cnxt of the ServiceConfiguration
getPrefix
public java.lang.String getPrefix()
- Returns:
- Prefix of the Serviceconfiguration xml file
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org