nl.javel.gisbeans.map.mapfile
Class MapFileXMLParser

java.lang.Object
  extended by nl.javel.gisbeans.map.mapfile.MapFileXMLParser

public final class MapFileXMLParser
extends Object

This class parses XML-mapfiles and constructs appropriate map objects.
Validation is set with the system property nl.javel.gisbeans.map.mapfile.validate =[true|false] and the xmlschema is set with the systemproperty nl.javel.gisbeans.map.mapfile.schema = [file]

(c) copyright 2002-2004 Javel b.v. , the Netherlands.

License of use: General Public License (GPL) , no warranty

Version:
2.0 28.04.04

Author:
Paul Jacobs Peter Jacobs

Field Summary
static URL MAPFILE_SCHEMA
          the default mapfile
 
Constructor Summary
MapFileXMLParser()
           
 
Method Summary
static MapInterface parseMapFile(URL url)
          parses a Mapfile URL to a mapFile.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAPFILE_SCHEMA

public static final URL MAPFILE_SCHEMA
the default mapfile

Constructor Detail

MapFileXMLParser

public MapFileXMLParser()
Method Detail

parseMapFile

public static MapInterface parseMapFile(URL url)
                                 throws IOException
parses a Mapfile URL to a mapFile.

Parameters:
url - the mapfile url.
Returns:
MapInterface the parsed mapfile.
Throws:
IOException - on failure.