public class TrajectoryXmlParser
extends java.lang.Object
DataAdaptor
. The task
of reading the DataAdaptor contents is delegated to the Trajectory class
itself, since it is responsible for writing the XML file.Constructor and Description |
---|
TrajectoryXmlParser() |
Modifier and Type | Method and Description |
---|---|
static Trajectory<?> |
parse(java.lang.String fileUri)
Parse the XML file specified by the supplied URI.
|
Trajectory<?> |
parseTrajectoryFile(java.lang.String fileUri)
Parse the XML file specified by the supplied URI.
|
public static Trajectory<?> parse(java.lang.String fileUri) throws ParsingException
Trajectory
of the appropriate species.fileUri
- the URI specifying the XML file to parseParsingException
public Trajectory<?> parseTrajectoryFile(java.lang.String fileUri) throws ParsingException
Trajectory
of the appropriate species.fileUri
- the URI specifying the XML file to parseParsingException