|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.services.wfs.capabilities.WFSCapabilitiesFactory
Factory class for creating WFS capability classes from a WFS capabilities XML document that's conform to OGC WFS specification.
----------------------------------------------------------------------
Constructor Summary | |
WFSCapabilitiesFactory()
|
Method Summary | |
private static GM_Envelope |
createBoundingBox(org.w3c.dom.Element element)
creates a bounding box from a string containing a comma seperated list of corner coorinates (minx, miny, maxx, maxy) |
static WFSCapabilities |
createCapabilities(org.w3c.dom.Document doc)
factory method for creating a WFSCapabilities object from a OGC WFS 1.0 conform XML capabilities document |
static WFSCapabilities |
createCapabilities(java.io.Reader reader)
factory method for creating a WFSCapabilities object from a file that contains a OGC WFS 1.0 conform XML capabilities document |
static WFSCapabilities |
createCapabilities(java.net.URL url)
factory method for creating a WFSCapabilities object from a file that contains a OGC WFS 1.0 conform XML capabilities document |
static FeatureType |
createFeatureType(java.lang.String name,
java.lang.String title,
java.lang.String abstract_,
java.lang.String srs,
GM_Envelope latLonBoundingBox,
FeatureTypeList parentList,
java.lang.String[] keywords,
Operation[] operations,
MetadataURL[] metadataURL,
java.lang.String responsibleClassName,
java.net.URL configURL)
creates a FeatureType object |
private static Capability |
getCapability(org.w3c.dom.Element capElement)
returns an instance of an object that capsulates the service element of the WMS capabilities. |
private static DCPType[] |
getDCPType(org.w3c.dom.NodeList nl)
creates list of DCPTypes |
private static DescribeFeatureType |
getDescribeFeatureType(org.w3c.dom.Element element)
returns an instance of an DescribeFeatureType object generated from the submitted dom element |
private static FeatureTypeList |
getFeatureTypeList(org.w3c.dom.Element element)
returns an instance of an object that capsulates the WFS's feature type list. |
private static FeatureType[] |
getFeatureTypes(org.w3c.dom.NodeList nl,
Operation[] operations_,
java.lang.String className,
java.net.URL configURL)
returns an list of feature types that are contained within the FeatureTypeList element of the capabilities. |
private static GetFeature |
getGetFeature(org.w3c.dom.Element element)
returns an instance of an GetFeature object generated from the submitted dom element |
private static GetFeatureWithLock |
getGetFeatureWithLock(org.w3c.dom.Element element)
returns an instance of an GetFeatureWithLock object generated from the submitted dom element |
private static java.lang.String[] |
getKeywords(org.w3c.dom.Element keywordsElement)
returns the keywords associated with the service |
private static MetadataURL[] |
getMetadataURL(org.w3c.dom.NodeList nl)
returns a feature types MetadataURL |
private static Operation[] |
getOperations(org.w3c.dom.Element element)
returns an list of operations |
private static Request |
getRequest(org.w3c.dom.Element requestElement)
returns an instance of an object that capsulates the request element of the WMS capabilities/capability. |
private static Service |
getService(org.w3c.dom.Element serviceElement)
returns an instance of an object that capsulates the service element of the WFS capabilities. |
private static org.w3c.dom.Document |
getVendorSpecificCapabilities(org.w3c.dom.Element vendorElement)
returns an instance of an object that capsulates the vendor specific capabilities element of the WMS capabilities/capability. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WFSCapabilitiesFactory()
Method Detail |
public static WFSCapabilities createCapabilities(java.net.URL url) throws java.io.IOException, org.xml.sax.SAXException, java.lang.Exception
java.io.IOException
org.xml.sax.SAXException
java.lang.Exception
public static WFSCapabilities createCapabilities(java.io.Reader reader) throws java.io.IOException, org.xml.sax.SAXException, java.lang.Exception
java.io.IOException
org.xml.sax.SAXException
java.lang.Exception
public static WFSCapabilities createCapabilities(org.w3c.dom.Document doc) throws java.lang.Exception
java.lang.Exception
private static Service getService(org.w3c.dom.Element serviceElement)
private static java.lang.String[] getKeywords(org.w3c.dom.Element keywordsElement)
private static Capability getCapability(org.w3c.dom.Element capElement)
private static Request getRequest(org.w3c.dom.Element requestElement)
private static DCPType[] getDCPType(org.w3c.dom.NodeList nl)
private static DescribeFeatureType getDescribeFeatureType(org.w3c.dom.Element element)
private static GetFeature getGetFeature(org.w3c.dom.Element element)
private static GetFeatureWithLock getGetFeatureWithLock(org.w3c.dom.Element element)
private static org.w3c.dom.Document getVendorSpecificCapabilities(org.w3c.dom.Element vendorElement)
private static GM_Envelope createBoundingBox(org.w3c.dom.Element element)
private static FeatureTypeList getFeatureTypeList(org.w3c.dom.Element element) throws java.lang.Exception
java.lang.Exception
private static Operation[] getOperations(org.w3c.dom.Element element) throws java.net.MalformedURLException
java.net.MalformedURLException
private static FeatureType[] getFeatureTypes(org.w3c.dom.NodeList nl, Operation[] operations_, java.lang.String className, java.net.URL configURL) throws java.lang.Exception
java.lang.Exception
public static FeatureType createFeatureType(java.lang.String name, java.lang.String title, java.lang.String abstract_, java.lang.String srs, GM_Envelope latLonBoundingBox, FeatureTypeList parentList, java.lang.String[] keywords, Operation[] operations, MetadataURL[] metadataURL, java.lang.String responsibleClassName, java.net.URL configURL)
FeatureType
object
private static MetadataURL[] getMetadataURL(org.w3c.dom.NodeList nl)
public static void main(java.lang.String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |