org.deegree_impl.services.gazetteer.capabilities
Class WFSGCapabilitiesFactory

java.lang.Object
  extended byorg.deegree_impl.services.gazetteer.capabilities.WFSGCapabilitiesFactory

public class WFSGCapabilitiesFactory
extends java.lang.Object

Version:
$Revision: 1.5 $
Author:
AxxL

Field Summary
private static java.lang.String NAMESPACE_WFSG
           
 
Constructor Summary
WFSGCapabilitiesFactory()
           
 
Method Summary
static WFSGCapabilities createCapabilities(org.w3c.dom.Document doc)
          factory method for creating a WFSGCapabilities object from a OGC WFS 1.0 conform XML capabilities document
static WFSGCapabilities createCapabilities(java.io.Reader reader)
          factory method for creating a WFSGCapabilities object from a file that contains a OGC WFS 1.0 conform XML capabilities document
static WFSGCapabilities createCapabilities(java.net.URL url)
           
private static SI_LocationType getChild(org.w3c.dom.Element element)
           
protected static CitedResponsibleParty getCitedResponsibleParty(org.w3c.dom.Element element)
           
private static CitedResponsibleParty getCustodian(org.w3c.dom.Element element)
          calls getCitedResponsibleParty(element)
private static SI_LocationType getParent(org.w3c.dom.Element element)
           
static SI_Gazetteer getSI_Gazetteer(org.w3c.dom.Element element)
           
static SI_LocationType getSI_LocationType(org.w3c.dom.Element element)
           
private static GM_Object getTerritoryOfUse(org.w3c.dom.Element element)
           
static void main(java.lang.String[] args)
          for testing purposes only
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMESPACE_WFSG

private static final java.lang.String NAMESPACE_WFSG
See Also:
Constant Field Values
Constructor Detail

WFSGCapabilitiesFactory

public WFSGCapabilitiesFactory()
Method Detail

createCapabilities

public static WFSGCapabilities createCapabilities(java.net.URL url)
                                           throws GazetteerException
Parameters:
url -
Returns:
Throws:
GazetteerException

createCapabilities

public static WFSGCapabilities createCapabilities(java.io.Reader reader)
                                           throws java.io.IOException,
                                                  org.xml.sax.SAXException,
                                                  GazetteerException
factory method for creating a WFSGCapabilities object from a file that contains a OGC WFS 1.0 conform XML capabilities document

Throws:
java.io.IOException
org.xml.sax.SAXException
GazetteerException

createCapabilities

public static WFSGCapabilities createCapabilities(org.w3c.dom.Document doc)
                                           throws GazetteerException
factory method for creating a WFSGCapabilities object from a OGC WFS 1.0 conform XML capabilities document

Throws:
GazetteerException

getSI_Gazetteer

public static SI_Gazetteer getSI_Gazetteer(org.w3c.dom.Element element)
                                    throws GazetteerException
Parameters:
element -
Returns:
Throws:
GazetteerException

getTerritoryOfUse

private static GM_Object getTerritoryOfUse(org.w3c.dom.Element element)
                                    throws GazetteerException
Parameters:
element -
Returns:
Throws:
GazetteerException

getCustodian

private static CitedResponsibleParty getCustodian(org.w3c.dom.Element element)
calls getCitedResponsibleParty(element)

Parameters:
element -
Returns:

getCitedResponsibleParty

protected static CitedResponsibleParty getCitedResponsibleParty(org.w3c.dom.Element element)
Parameters:
element -
Returns:

getSI_LocationType

public static SI_LocationType getSI_LocationType(org.w3c.dom.Element element)
                                          throws GazetteerException
Parameters:
element -
Returns:
Throws:
GazetteerException

getParent

private static SI_LocationType getParent(org.w3c.dom.Element element)
                                  throws GazetteerException
Parameters:
element -
Returns:
Throws:
GazetteerException

getChild

private static SI_LocationType getChild(org.w3c.dom.Element element)
                                 throws GazetteerException
Parameters:
element -
Returns:
Throws:
GazetteerException

main

public static void main(java.lang.String[] args)
for testing purposes only

Parameters:
args -