public final class MeijoFormat extends GMLMapFormat
Modifier and Type | Field and Description |
---|---|
static MeijoFormat |
INSTANCE
Singleton instance.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getNamespaces()
Get the uris and preferred prefixes for all namespaces this format cares about.
|
boolean |
isCorrectRootElement(java.lang.String uri,
java.lang.String localName)
Find out if the root element is correct for this format type.
|
GMLMap |
read(org.dom4j.Document doc)
Read a Document and return a GMLMap.
|
java.lang.String |
toString() |
org.dom4j.Document |
write(GMLMap map)
Turn a GMLMap into an xml document.
|
canRead, read, read, write
public static final MeijoFormat INSTANCE
public java.util.Map<java.lang.String,java.lang.String> getNamespaces()
GMLMapFormat
getNamespaces
in class GMLMapFormat
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isCorrectRootElement(java.lang.String uri, java.lang.String localName)
GMLMapFormat
isCorrectRootElement
in class GMLMapFormat
uri
- The URI of the root element.localName
- The local name of the root element.public GMLMap read(org.dom4j.Document doc)
GMLMapFormat
read
in class GMLMapFormat
doc
- The document to read.public org.dom4j.Document write(GMLMap map)
GMLMapFormat
write
in class GMLMapFormat
map
- The map to write.