org.deegree_impl.services.wcs.capabilities
Class WCSCapabilitiesFactory

java.lang.Object
  extended byorg.deegree_impl.services.wcs.capabilities.WCSCapabilitiesFactory

public class WCSCapabilitiesFactory
extends java.lang.Object

Author:
Administrator

Field Summary
private static java.lang.String NSWCS
           
 
Constructor Summary
WCSCapabilitiesFactory()
           
 
Method Summary
static WCSCapabilities createCapabilities(org.w3c.dom.Document doc)
          factory method for creating a WCSCapabilities object from a OGC WCS 0.7 conform XML capabilities document
static WCSCapabilities createCapabilities(java.net.URL url)
          factory method for creating a WCSCapabilities object from a file that contains a OGC WCS 0.7 conform XML capabilities document
private static java.lang.String[] createKeywords(org.w3c.dom.Element keywordsElement)
          returns the keywords associated with the service
private static Service createService(org.w3c.dom.Element serviceElement)
          returns an instance of an object that capsulates the service element of the WFS capabilities.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NSWCS

private static java.lang.String NSWCS
Constructor Detail

WCSCapabilitiesFactory

public WCSCapabilitiesFactory()
Method Detail

createCapabilities

public static WCSCapabilities createCapabilities(java.net.URL url)
                                          throws java.io.IOException,
                                                 org.xml.sax.SAXException,
                                                 java.lang.Exception
factory method for creating a WCSCapabilities object from a file that contains a OGC WCS 0.7 conform XML capabilities document

Throws:
java.io.IOException
org.xml.sax.SAXException
java.lang.Exception

createCapabilities

public static WCSCapabilities createCapabilities(org.w3c.dom.Document doc)
                                          throws java.lang.Exception
factory method for creating a WCSCapabilities object from a OGC WCS 0.7 conform XML capabilities document

Throws:
java.lang.Exception

createService

private static Service createService(org.w3c.dom.Element serviceElement)
returns an instance of an object that capsulates the service element of the WFS capabilities.


createKeywords

private static java.lang.String[] createKeywords(org.w3c.dom.Element keywordsElement)
returns the keywords associated with the service