cgl.ogc.wms.gml_Impl
Class GMLFactory

java.lang.Object
  extended bycgl.ogc.wms.gml_Impl.GMLFactory

public class GMLFactory
extends java.lang.Object

Title:

Description:

Copyright: Copyright (c) 2005

Company: Indiana University - Computer Science Dept.

Version:
1.0
Author:
Ahmet Sayar

Constructor Summary
GMLFactory()
           
 
Method Summary
static GMLFeature createGMLFeature(org.w3c.dom.Element element)
           
static GMLFeatureCollection createGMLFeatureCollection(org.w3c.dom.Element element)
          creates a GMLFeatureCollection from a XML Element
static GMLFeatureCollection createGMLFeatureCollection(java.lang.String name)
          creates an empty GMLFeatureCollection
static GMLGeometry createGMLGeometry(org.w3c.dom.Element element)
          creates a GMLGeometry from a DOM Element
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GMLFactory

public GMLFactory()
Method Detail

createGMLGeometry

public static GMLGeometry createGMLGeometry(org.w3c.dom.Element element)
                                     throws GMLException
creates a GMLGeometry from a DOM Element

Parameters:
element - DOM Element containing a GMLGeometry
Returns:
GMLGeometry
Throws:
GMLException

createGMLFeature

public static GMLFeature createGMLFeature(org.w3c.dom.Element element)
                                   throws GMLException
Parameters:
element - Element
Returns:
GMLFeature
Throws:
GMLException

createGMLFeatureCollection

public static GMLFeatureCollection createGMLFeatureCollection(java.lang.String name)
creates an empty GMLFeatureCollection

Parameters:
name - String
Returns:
GMLFeatureCollection

createGMLFeatureCollection

public static GMLFeatureCollection createGMLFeatureCollection(org.w3c.dom.Element element)
                                                       throws GMLException
creates a GMLFeatureCollection from a XML Element

Parameters:
element - Element
Returns:
GMLFeatureCollection
Throws:
GMLException