javax.robotics.xml
Class XmlTrapezoidal

java.lang.Object
  extended by javax.robotics.xml.XmlTrapezoidal

public class XmlTrapezoidal
extends java.lang.Object

XML handler class for trapezoida path configuration file.

Since:
1.1.0
Version:
30/10/2005
Author:
Carmine Lia

Constructor Summary
XmlTrapezoidal(java.io.File trapXml)
          Constructor of the xml handler.
XmlTrapezoidal(java.io.InputStream trapXml)
          Constructor of the xml handler.
XmlTrapezoidal(java.lang.String trapXml)
          Constructor of the xml handler.
 
Method Summary
 java.lang.String getDescription()
          Gets the tag description of the file.
 RVector getFinalPosition()
          Gets the final positions of the path.
 RVector getFinalTime()
          Gets the final times of the path.
 RVector getInitialPosition()
          Gets the initial positions of the path.
 RVector getMaximumVelocity()
          Gets the maximum velocities of the path.
 java.lang.String getName()
          Gets the tag name of the file.
 pathML.PathConfigurationType getXmlHandler()
          Gets the handle of xml configuration file.
 boolean isOrientationSet()
          Gets tag orientation of the file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlTrapezoidal

public XmlTrapezoidal(java.lang.String trapXml)
               throws org.apache.xmlbeans.XmlException,
                      java.io.IOException
Constructor of the xml handler.

Parameters:
trapXml - the xml configuration file.
Throws:
org.apache.xmlbeans.XmlException
java.io.IOException

XmlTrapezoidal

public XmlTrapezoidal(java.io.File trapXml)
               throws org.apache.xmlbeans.XmlException,
                      java.io.IOException
Constructor of the xml handler.

Parameters:
trapXml - the xml configuration file.
Throws:
org.apache.xmlbeans.XmlException
java.io.IOException

XmlTrapezoidal

public XmlTrapezoidal(java.io.InputStream trapXml)
               throws org.apache.xmlbeans.XmlException,
                      java.io.IOException
Constructor of the xml handler.

Parameters:
trapXml - the xml configuration file.
Throws:
org.apache.xmlbeans.XmlException
java.io.IOException
Method Detail

getDescription

public final java.lang.String getDescription()
Gets the tag description of the file.

Returns:
the tag description value.

getName

public final java.lang.String getName()
Gets the tag name of the file.

Returns:
the tag name value.

isOrientationSet

public final boolean isOrientationSet()
Gets tag orientation of the file.

Returns:
the tag orientation value.

getXmlHandler

public final pathML.PathConfigurationType getXmlHandler()
Gets the handle of xml configuration file.

Returns:
the xml handler.

getFinalPosition

public final RVector getFinalPosition()
Gets the final positions of the path.

Returns:
the final position.

getInitialPosition

public final RVector getInitialPosition()
Gets the initial positions of the path.

Returns:
the initial positions.

getFinalTime

public final RVector getFinalTime()
Gets the final times of the path.

Returns:
the initial positions.

getMaximumVelocity

public final RVector getMaximumVelocity()
Gets the maximum velocities of the path.

Returns:
the maximum velocities.