plugin.torcs
Class XmlReader

java.lang.Object
  extended by plugin.torcs.XmlReader

public class XmlReader
extends java.lang.Object

Author:
Charalampos Alexopoulos TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
XmlReader()
           
 
Method Summary
static double getAttrNumValue(org.jdom.Element element, java.lang.String name)
           
static java.lang.String getAttrStrValue(org.jdom.Element element, java.lang.String name)
           
static java.lang.String getSegmentName(org.jdom.Element element)
           
 java.util.List getSegments()
           
static void readXml(java.lang.String filename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlReader

public XmlReader()
Method Detail

readXml

public static void readXml(java.lang.String filename)

getSegmentName

public static java.lang.String getSegmentName(org.jdom.Element element)

getAttrStrValue

public static java.lang.String getAttrStrValue(org.jdom.Element element,
                                               java.lang.String name)

getAttrNumValue

public static double getAttrNumValue(org.jdom.Element element,
                                     java.lang.String name)

getSegments

public java.util.List getSegments()
Returns:
Returns the segments.