nl.tudelft.simulation.xml.language
Class ColorParser
java.lang.Object
nl.tudelft.simulation.xml.language.ColorParser
public final class ColorParser
- 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
Method Summary |
static Color |
parseColor(org.jdom.Element element)
parses a xml-element representing a Color |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COLORFILE_SCHEMA
public static final URL COLORFILE_SCHEMA
- the default mapfile
parseColor
public static Color parseColor(org.jdom.Element element)
throws IOException
- parses a xml-element representing a Color
- Parameters:
element
- The j-dom element
- Returns:
- Color the color
- Throws:
IOException
- on failure
Copyright © 2002-2010 Delft University of Technology, the Netherlands. All Rights Reserved.