nl.tudelft.simulation.xml.language
Class LocationParser

java.lang.Object
  extended by nl.tudelft.simulation.xml.language.LocationParser

public final class LocationParser
extends Object


(c) copyright 2002-2005-2004 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser General Public License (LGPL) , no warranty.

Version:
Jun 25, 2004
Author:
Alexander Verbraeck

Field Summary
static URL LOCATIONFILE_SCHEMA
          the default schema file
 
Method Summary
static DirectedPoint parseLocation(org.jdom.Element element)
          parses a xml-element representing a DirectedPoint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCATIONFILE_SCHEMA

public static final URL LOCATIONFILE_SCHEMA
the default schema file

Method Detail

parseLocation

public static DirectedPoint parseLocation(org.jdom.Element element)
                                   throws IOException
parses a xml-element representing a DirectedPoint

Parameters:
element - The j-dom element
Returns:
DirectedPoint of element
Throws:
IOException - on IOfailure


Copyright © 2002-2010 Delft University of Technology, the Netherlands. All Rights Reserved.