org.deegree.gml
Interface GMLDocument

All Known Implementing Classes:
GMLDocument_Impl

public interface GMLDocument

----------------------------------------------------------

Version:
07.02.2001

Author:
Andreas Poth

Method Summary
 void addNameSpace(GMLNameSpace nameSpace)
           
 org.w3c.dom.Document getDocument()
          returns the dom document representing the GML document
 GMLNameSpace[] getNameSpaces()
          returns the name spaces used within the document
 GMLFeatureCollection getRoot()
          returns the root element of the document as GMLFeatureCollection.
 java.net.URL getSchemaLocation()
          returns the location of the schema the document based on
 boolean isValid()
          returns true if the document is valid against the referenced schemas
 void setDocument(org.w3c.dom.Document document)
           
 void setRoot(GMLFeatureCollection root)
           
 void setSchemaLocation(java.net.URL schema)
          sets the location of schema the document based on
 

Method Detail

getDocument

public org.w3c.dom.Document getDocument()
returns the dom document representing the GML document


setDocument

public void setDocument(org.w3c.dom.Document document)
See Also:
getDocument()

getSchemaLocation

public java.net.URL getSchemaLocation()
                               throws java.net.MalformedURLException
returns the location of the schema the document based on

Throws:
java.net.MalformedURLException

setSchemaLocation

public void setSchemaLocation(java.net.URL schema)
sets the location of schema the document based on


getNameSpaces

public GMLNameSpace[] getNameSpaces()
returns the name spaces used within the document


addNameSpace

public void addNameSpace(GMLNameSpace nameSpace)
See Also:
getNameSpaces()

getRoot

public GMLFeatureCollection getRoot()
returns the root element of the document as GMLFeatureCollection.


setRoot

public void setRoot(GMLFeatureCollection root)
See Also:
getRoot()

isValid

public boolean isValid()
returns true if the document is valid against the referenced schemas