|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.deegree_impl.gml.GMLDocument_Impl
----------------------------------------------------------
| Field Summary | |
private org.w3c.dom.Document |
document
|
| Constructor Summary | |
GMLDocument_Impl()
Creates a new GMLDocument_Impl object. |
|
GMLDocument_Impl(org.w3c.dom.Document document)
Creates a new GMLDocument_Impl object. |
|
GMLDocument_Impl(java.io.Reader reader)
Creates a new GMLDocument_Impl object. |
|
| 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 |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private org.w3c.dom.Document document
| Constructor Detail |
public GMLDocument_Impl()
public GMLDocument_Impl(java.io.Reader reader)
throws java.io.IOException,
org.xml.sax.SAXException
reader -
java.io.IOException
org.xml.sax.SAXExceptionpublic GMLDocument_Impl(org.w3c.dom.Document document)
document - | Method Detail |
public org.w3c.dom.Document getDocument()
getDocument in interface GMLDocumentpublic void setDocument(org.w3c.dom.Document document)
setDocument in interface GMLDocumentgetDocument()
public java.net.URL getSchemaLocation()
throws java.net.MalformedURLException
getSchemaLocation in interface GMLDocumentjava.net.MalformedURLExceptionpublic void setSchemaLocation(java.net.URL schema)
setSchemaLocation in interface GMLDocumentpublic GMLNameSpace[] getNameSpaces()
getNameSpaces in interface GMLDocumentpublic void addNameSpace(GMLNameSpace nameSpace)
addNameSpace in interface GMLDocumentgetNameSpaces()public GMLFeatureCollection getRoot()
getRoot in interface GMLDocumentpublic void setRoot(GMLFeatureCollection root)
setRoot in interface GMLDocumentgetRoot()public boolean isValid()
isValid in interface GMLDocumentpublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||